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 Saeed Vaziry
parent a40c2828c2
commit a5ce0d33b3
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 mariadb -u root \`{{ $database }}\` < {{ $file }}.sql; then
if ! sudo DEBIAN_FRONTEND=noninteractive mariadb -u root {{ $database }} < {{ $file }}.sql; then
echo 'VITO_SSH_ERROR' && exit 1
fi