This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo sh -c "echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Backup | |
docker exec CONTAINER_NAME /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restaurar | |
cat backup.sql | sudo docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE |
NewerOlder