mirror of
https://github.com/kevinveenbirkenbach/docker-volume-backup.git
synced 2024-12-22 21:55:03 +01:00
solved typos
This commit is contained in:
parent
18fcd3b06d
commit
d8471e5b4b
@ -20,7 +20,7 @@ fi
|
||||
|
||||
if [ -f "$backup_sql" ]; then
|
||||
echo "recover mysql dump"
|
||||
cat $backup_sql | docker exec -i "$container" '/usr/bin/mysql -u root --password="'$mysql_root_password'" "'$database'"'
|
||||
cat $backup_sql | docker exec -i "$container" /usr/bin/mysql -u root --password="$mysql_root_password" $database
|
||||
exit 0
|
||||
else
|
||||
if [ -d "$backup_files" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user