diff --git a/bookstack-helm/templates/backupscript.yaml b/bookstack-helm/templates/backupscript.yaml index 82c38ff..d457b02 100644 --- a/bookstack-helm/templates/backupscript.yaml +++ b/bookstack-helm/templates/backupscript.yaml @@ -24,7 +24,7 @@ data: echo "downloaded tarball" tar -xzf /tmp/restore.tgz -C / echo "Files restored" - mysql -h "$DB_HOST" -u "$DB_USER" --password="$DB_PASS" < /wiki.sql + mysql -h "$DB_HOST" -u "$DB_USER" --password="$DB_PASS" $DB_DATABASE < /wiki.sql else echo "Not restoring" fi