0 like 0 dislike
1 view
in Sanallaştırma by anonymous Bilge (165k points)
reshown by anonymous
docker mysql yedek alma ve yedekten dönme

1 Answer

0 like 0 dislike
by anonymous Bilge (165k points)
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql

# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
...