Hi Ithica,
Let's create a little bash/shell script
Something like this should work. You do this through file manager or through SSH. Let's call it mysqlbackup.sh
-------------------------------------------------------------------------------
#! /bin/bash
mysqldump -p<yourmysqlpassword> <DatabaseName> > db.backup.sql
# Note. This is all one-line
# You can tar this up if you wish
tar cvzpf db.backup.sql.tgz db.backup.sql
#Now let's send it
uuencode -m db.backup.sql.tgz db.backup.sql.tgz|mail -s MysqlBackup <youremail-address>
#Or you could also try it this way. I'll leave this commented out
mail -s MysqlBackup <youremailaddress> < db.backup.sql.tgz
---------------------------------------------------------------------------------
Make sure the permissions are 755 and you should be ok
To run this every 4 days, you can do something like this
* * */4 * * <yourdirectorypath>/mysqlbackup.sh
I haven't tested this but it should work
Hope this helps
Thanks,
Keith
Exquisihost