MySQL Cron job

I have a DL360G4 with RHES Linux 4 and Apache 2.0.x. I have set up a cron job to dump a mysql database to an sql file daily.

/usr/bin/mysqldump -uxxxx -pxxxx database > /path/to/file.sql

I also want to tarball it. Would I have to set up another cron job say a minute later to do that or is there a better way.

Bob

 

 

 

 

Top