mirror of
https://github.com/myvesta/vesta
synced 2025-07-31 03:51:14 -07:00
Allow to specify full path to backup file
This commit is contained in:
parent
f36d20641e
commit
ca76e2bc8c
1 changed files with 5 additions and 0 deletions
|
@ -28,6 +28,11 @@ if [ -z "$BACKUP" ]; then
|
|||
BACKUP=/backup
|
||||
fi
|
||||
|
||||
# Allow to specify full path to backup file
|
||||
if [[ $backup == "/backup/"* ]]; then
|
||||
backup="${backup:8}"
|
||||
fi
|
||||
|
||||
# Includes
|
||||
source $VESTA/func/main.sh
|
||||
source $VESTA/func/domain.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue