Add command as
/usr/bin/mysqldump -h localhost -u "root" -p"XXXXXXX" "outputbooks" | gzip -c > "/home/backup/OutputBooks-`date +\%Y-\%a-\%H`-BK.sql.gz"
The resulting file will be saved in the database backup folder using today’s date/time.
CRON Job lists
0 people found this article useful
0 people found this article useful