I believe DOSMAN started a thread on this once and Shorty answered him. I'm sure you can find it if you use the search term "sql" and the username "DOSMAN." Hope that helps.
What I'm doing now works, but it creates files for every table in every database, I would like to have something geared more twards a complete disaster recovery but it works for now.
Currently, I'm dumping the entire DB every 1/2 hour into a directory in /var/lib/mysql_dumps
then, rsync'in /var and /etc to a secondary drive 10 minutes after the sql dump occurs. I'm sitting here trying to decide if I need to rotate them, or not. The sql dumps are date taged and rotated every 5 days, but the /etc and /var files are not.
Then plan is then to do a off-site backup over a ssh tunnel to an encrypted archive twice a day, noon and midnight. That's fairly reasonable coverage if a tornado comes and blows the datacenter away, or terrorists blow it up cause its a backbone and communications hub.
I dunno what I want, gosh its so much easier designing backup routines for other people
Comments
I'll take a peek and see what I can dig up.
BTW, I didn't find it.
What I'm doing now works, but it creates files for every table in every database, I would like to have something geared more twards a complete disaster recovery but it works for now.
Currently, I'm dumping the entire DB every 1/2 hour into a directory in /var/lib/mysql_dumps
then, rsync'in /var and /etc to a secondary drive 10 minutes after the sql dump occurs. I'm sitting here trying to decide if I need to rotate them, or not. The sql dumps are date taged and rotated every 5 days, but the /etc and /var files are not.
Then plan is then to do a off-site backup over a ssh tunnel to an encrypted archive twice a day, noon and midnight. That's fairly reasonable coverage if a tornado comes and blows the datacenter away, or terrorists blow it up cause its a backbone and communications hub.
I dunno what I want, gosh its so much easier designing backup routines for other people
Anyway, here's the link I found. http://short-media.com/forum/showthread.php?s=&threadid=4378&highlight=mysqldump
If that isn't the answer to your question then I apologize for confusing the issue.
I might write up a little bash script for that, if I can't find someone that already has done it
Thanks for looking, I dunno why I couldnt find that result