diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hydra/backup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hydra/backup b/lib/hydra/backup index 3f2d91f..0fb6e80 100644 --- a/lib/hydra/backup +++ b/lib/hydra/backup @@ -156,7 +156,7 @@ function hydra_backup_restore_database { fi # Restore database - if [ ! -z "$DB_DUMP_EXT" ]; then + if [ ! -z "$DB_DUMP_EXTRACT" ]; then echo "Restoring database $DATABASE..." hydra_set_tmpfile $DATABASE -d cp $DB_DUMP_BASE/$DATABASE.sql$DB_DUMP_EXT $TMPWORK |