From a39c76509a417de3f5233d049514efb3e5b6c146 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 27 Sep 2011 18:54:39 -0300 Subject: Minor fix --- share/hydractl/backup-restore-site | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/hydractl/backup-restore-site') 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" -- cgit v1.2.3