diff --git a/bin/restore-website-from-backup.sh b/bin/restore-website-from-backup.sh index eea0245..faac79b 100755 --- a/bin/restore-website-from-backup.sh +++ b/bin/restore-website-from-backup.sh @@ -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