diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-09-27 18:54:39 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-09-27 18:54:39 -0300 |
commit | a39c76509a417de3f5233d049514efb3e5b6c146 (patch) | |
tree | 599037c4dd6634a83348e76a281969c053acd2ba /share | |
parent | 6d662c4458c2d8a0eb2afe7ce092b807195cb55a (diff) | |
download | hydra-a39c76509a417de3f5233d049514efb3e5b6c146.tar.gz hydra-a39c76509a417de3f5233d049514efb3e5b6c146.tar.bz2 |
Minor fix
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydractl/backup-restore-site | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/backup-restore-site b/share/hydractl/backup-restore-site index 2ca7655..fc35e76 100755 --- a/share/hydractl/backup-restore-site +++ b/share/hydractl/backup-restore-site @@ -78,7 +78,7 @@ if [ -f "$RESTOREDIR/var/backups/mysql/sqldump/$SITE.sql.gz" ]; then cp $RESTOREDIR/var/backups/mysql/sqldump/$SITE.sql.gz $TMPWORK ( cd $TMPWORK && gunzip $SITE.sql.gz ) hydra_truncate_database $SITE - mysql $SITE < $TMPWORK.sql + mysql $SITE < $TMPWORK/$SITE.sql hydra_unset_tmpfile $TMPWORK else echo "Databases should be manually restored" |