PDA

View Full Version : create db backups in multiple directories (drobo)



iitywygms
December 29th, 2010, 02:12 AM
Hi All:

I have a cron job that backs up my database to a specified directory.
It works great. However, I would like to add another location for backups. Redundancy. (I want the data backed up to two different locations at the same time)
I have a drobo that I would like to use. The directory I would like to use on the drobo is at /media/usb0/backups.
This is my current backuprc
DBBackupDirectory=/D2/backups This works fine.

How can I add the drobo directory to this?

thanks

newlinux
December 29th, 2010, 04:30 PM
I don't use the built in backup capabilities, I have my own scripts so I can't help you with that. But in case no one answers you consider running your own backup script that backs it up to both places or use cron to copy the initial backup to your additional location.

Good luck.