Change BACKUP_LOCATION to MAILCOW_BACKUP_LOCATION by default
Dieser Commit ist enthalten in:
Ursprung
4ff76e17ef
Commit
328dd1abe2
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
Laden …
In neuem Issue referenzieren