Useful only for me, script for mailcow backups
This commit is contained in:
parent
bb2165d424
commit
529f815460
1 changed files with 8 additions and 0 deletions
8
mailcow_prepare.sh
Executable file
8
mailcow_prepare.sh
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -o errexit
|
||||||
|
|
||||||
|
export MAILCOW_BACKUP_LOCATION="/var/backups"
|
||||||
|
|
||||||
|
/home/mailcow/mailcow-dockerized/helper-scripts/backup_and_restore.sh backup crypt redis rspamd postfix mysql --delete-days 7
|
Loading…
Add table
Reference in a new issue