Fix mysqldump backup error

This reverts commit 564b97e2aa.
This commit is contained in:
Saeed Vaziry
2025-05-21 20:57:38 +02:00
committed by GitHub
parent 3124f8c795
commit 65898b0ee6
10 changed files with 10 additions and 10 deletions

View File

@ -2,7 +2,7 @@
echo 'VITO_SSH_ERROR' && exit 1
fi
if ! sudo DEBIAN_FRONTEND=noninteractive mysql -u root \`{{ $database }}\` < {{ $file }}.sql; then
if ! sudo DEBIAN_FRONTEND=noninteractive mysql -u root {{ $database }} < {{ $file }}.sql; then
echo 'VITO_SSH_ERROR' && exit 1
fi