Change BACKUP_LOCATION to MAILCOW_BACKUP_LOCATION by default

Dieser Commit ist enthalten in:
André 2018-10-15 11:39:20 +02:00
Ursprung 4ff76e17ef
Commit 328dd1abe2

Datei anzeigen

@ -22,8 +22,8 @@ You can also use "all" as second parameter to backup all components.
The script will ask you for a backup location. Inside of this location it will create folders in the format "mailcow_DATE". The script will ask you for a backup location. Inside of this location it will create folders in the format "mailcow_DATE".
You should not rename those folders to not break the restore process. You should not rename those folders to not break the restore process.
To run a backup unattended, define BACKUP_LOCATION as environment variable before starting the script: To run a backup unattended, define MAILCOW_BACKUP_LOCATION as environment variable before starting the script:
``` ```
BACKUP_LOCATION=/opt/backup /opt/mailcow-dockerized/helper-scripts/backup_and_restore.sh backup all MAILCOW_BACKUP_LOCATION=/opt/backup /opt/mailcow-dockerized/helper-scripts/backup_and_restore.sh backup all
``` ```