mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-01-07 01:29:55 +03:00
234 B
234 B
mysqldump
Backups mysql databases
- creating a backup
mysqldump -u {{user}} -p{{password}} {{database_name]}} > {{filename.sql}}
- restoring a backup
mysql -u {{user}} -p{{password}} {{database_name}} < {{filename.sql}}