diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-06-28 11:47:42 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-06-28 11:47:42 -0300 |
commit | d3e71380b0429463b107eb53c19eabad895a5628 (patch) | |
tree | 135f9256f21e01d624b8ffef11e1f16aa451f80f /share/hydractl/backup-restore-site | |
parent | 7af94f5de68a3f693f38c563d312c8abf39a9b28 (diff) | |
download | hydra-d3e71380b0429463b107eb53c19eabad895a5628.tar.gz hydra-d3e71380b0429463b107eb53c19eabad895a5628.tar.bz2 |
Restoring sympa database
Diffstat (limited to 'share/hydractl/backup-restore-site')
-rwxr-xr-x | share/hydractl/backup-restore-site | 3 |
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 |