Last active
April 5, 2020 18:46
-
-
Save kingoamino/32503c540106e373aa69f8b11d48b524 to your computer and use it in GitHub Desktop.
Back UP database
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
# Create a dump to Dump_date.sql | |
mysqldump --databases -h 'host_DB' 'DataBase name' -u 'User' -p 'Passwd' > /var/www/BackUP/Dump_$(date +"%m-%d-%y").sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment