diff options
-rwxr-xr-x | share/hydractl/backup-restore-site | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/hydractl/backup-restore-site b/share/hydractl/backup-restore-site index 15c0d97..2ca7655 100755 --- a/share/hydractl/backup-restore-site +++ b/share/hydractl/backup-restore-site @@ -73,6 +73,7 @@ fi # Restore database if [ -f "$RESTOREDIR/var/backups/mysql/sqldump/$SITE.sql.gz" ]; then + BASEDIR="$FOLDER" hydra_set_tmpfile $SITE -d cp $RESTOREDIR/var/backups/mysql/sqldump/$SITE.sql.gz $TMPWORK ( cd $TMPWORK && gunzip $SITE.sql.gz ) |