mirror of
https://github.com/kevinveenbirkenbach/docker-volume-backup.git
synced 2024-11-22 00:11:03 +01:00
solved typos
This commit is contained in:
parent
18fcd3b06d
commit
d8471e5b4b
@ -20,7 +20,7 @@ fi
|
|||||||
|
|
||||||
if [ -f "$backup_sql" ]; then
|
if [ -f "$backup_sql" ]; then
|
||||||
echo "recover mysql dump"
|
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
|
exit 0
|
||||||
else
|
else
|
||||||
if [ -d "$backup_files" ]; then
|
if [ -d "$backup_files" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user