[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] databackup & Majordomo



"Selected Jobs" <info@xxxxxxxxxxxxxxxx> writes:

> My customer is willing to get backup of mysql data base every day. Is there
> any way to do this or taking backup of particular database and mail it to
> client. Does this facility is available in arkia backup.

Just set up a simply cronjob, or put a script like this into
/etc/cron.daily:


#!/bin/sh
mysqldump -uusername -ppassword databasename | mail -s "Your Backup" email@xxxxxxxxxxx


-- 
Jens Kristian Søgaard,
jk@xxxxxxxxxxxx -- http://www.jksoegaard.dk/
Søger du noget? -- http://www.google.com/
echo|perl -ple'$_+=4E-6*!int rand()**2+rand()**2while$i++-1E6'