Created
October 21, 2014 04:34
-
-
Save ianthekid/a23781670f3e11d8cfba to your computer and use it in GitHub Desktop.
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
| /* | |
| * Cron job: Backup database | |
| * Works with cPanel Cron Scheduler | |
| */ | |
| mysqldump -u $user -p$password -h $dbhost $database > /path/to/db_bak_`date +\%Y\%m\%d`.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment