mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 04:51:54 -07:00
Override backup path
This commit is contained in:
parent
dcbb7b80f9
commit
29f8358516
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue