restore-website-from-backup.sh: some minor changes.
This commit is contained in:
parent
dac12100fe
commit
fcc08699e7
@ -495,8 +495,12 @@ if $terminal && ! $BATCH_MODE ; then
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ -d "${BACKUP_DIR}/data/www" ]]; then
|
||||
if [[ -d "${BACKUP_DIR}/misc/www" ]]; then
|
||||
DEFAULT_WEBSITE_BASE_DIR="${BACKUP_DIR}/misc/www"
|
||||
elif [[ -d "${BACKUP_DIR}/data/www" ]]; then
|
||||
DEFAULT_WEBSITE_BASE_DIR="${BACKUP_DIR}/data/www"
|
||||
elif [[ -d "${BACKUP_DIR}/backup/www" ]]; then
|
||||
DEFAULT_WEBSITE_BASE_DIR="${BACKUP_DIR}/backup/www"
|
||||
elif [[ -d "${BACKUP_DIR}/var/www" ]] ;then
|
||||
DEFAULT_WEBSITE_BASE_DIR="${BACKUP_DIR}/var/www"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user