Override backup path

This commit is contained in:
myvesta 2021-08-23 20:50:48 +02:00 committed by GitHub
parent dcbb7b80f9
commit 29f8358516
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,6 +41,11 @@ is_backup_enabled
wait_for_backup_if_it_is_not_time_for_backup wait_for_backup_if_it_is_not_time_for_backup
# Override backup path
if [ ! -z "$OVERRIDE_BACKUP_PATH" ]; then
BACKUP=$OVERRIDE_BACKUP_PATH
fi
# Set backup directory if undefined # Set backup directory if undefined
if [ -z "$BACKUP" ]; then if [ -z "$BACKUP" ]; then
BACKUP=/backup BACKUP=/backup