diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-09-27 18:50:39 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-09-27 18:50:39 -0300 |
commit | 262d50c987461e7ef7aad0f970d0cddea765cfe1 (patch) | |
tree | 8e1ddac4398a235aac196a2f651191c9a5be0aaf /share | |
parent | e1b01e7d0a2a4f96be4683ee22429c36a7ad3627 (diff) | |
download | hydra-262d50c987461e7ef7aad0f970d0cddea765cfe1.tar.gz hydra-262d50c987461e7ef7aad0f970d0cddea765cfe1.tar.bz2 |
Setting BASEDIR at backup-restore-site
Diffstat (limited to 'share')
-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 ) |