aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/backup-restore-site
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/backup-restore-site')
-rwxr-xr-xshare/hydractl/backup-restore-site3
1 files changed, 1 insertions, 2 deletions
diff --git a/share/hydractl/backup-restore-site b/share/hydractl/backup-restore-site
index e070255..3c22e52 100755
--- a/share/hydractl/backup-restore-site
+++ b/share/hydractl/backup-restore-site
@@ -161,7 +161,6 @@ fi
# Restore database
if [ ! -z "$DB_DUMP_EXT" ]; then
echo "Restoring database $SITE..."
- BASEDIR="$FOLDER"
hydra_set_tmpfile $SITE -d
cp $DB_DUMP_BASE/$SITE.sql$DB_DUMP_EXT $TMPWORK
( cd $TMPWORK && $DB_DUMP_EXTRACT $SITE.sql$DB_DUMP_EXT )
@@ -169,7 +168,7 @@ if [ ! -z "$DB_DUMP_EXT" ]; then
mysql $SITE < $TMPWORK/$SITE.sql
hydra_unset_tmpfile $TMPWORK
else
- echo "Databases should be manually restored"
+ echo "Database should be manually restored"
fi
# Ikiwiki