Last active
May 30, 2025 02:09
-
-
Save kura1420/7100b1777e070436fa97782ce836804f to your computer and use it in GitHub Desktop.
Script Dump Database Mysql with Shell
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
| mysqldump -u username_database -p 'password_database' your_database | bzip2 -c > ~/directory/filename-$(date +%Y-%m-%d-%H.%M.%S).sql.bz2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment