Josh Fisher wrote: > Dan Langille wrote: >> Tonight, on IRC, we solved the following problem (original posted to >> http://www.nabble.com/Removable-HDD-backup-to14286773.html): >> >> >>> My goal is to have bacula backup onto an external HDD source that >>> >> > rotates. As in, there are three HDDs in rotation and at least one >> > different HDD is put into the server every night. The other two HDDs >> > are off somewhere safe. I need bacula to backup onto each HDD in such >> > a way that a any of the HDDs will restore most of the files (as recent >> > as it can be with the rotation schedule). >> >>> Now I'm not sure if I should make bacula have more than one volume or >>> >> > if it can auto create volumes when another blank drive is present... >> > any suggestions would be excellent. >> >> After concluding Bacula can't do this without Bacula knowing what was on >> each given HDD. I figured it could be done but it would be messy. It >> would involve three different FileSet definitions for each client, etc... >> >> Then the original figured we could just backup to local fixed HDD, then >> copy the Bacula volumes over to the HDD. I suggested rsync instead. >> >> This solution has the great features of always having a complete backup >> set local and at least two complete copies of the Volumes offsite at all >> times. >> >> We all thought we should post this for the archives. A very simple >> solution. Suggestions welcome though. >> > > If the goal is to have a complete backup on each USB drive and a > different drive is rotated in each day, then I assume one full backup of > all clients is made each day along with zero or more incremental backups > following the full backup but before the drive is swapped for the next > day's drive.
That was the problem. Too many full backups. > > Some questions. > > 1. How would local storage be managed? In other words, at what point do > you delete local storage files? A RunBefore script? > > 2. Normally, file storage devices defined in Bacula use different Media > Types so that a restore job can find the device. So, I'm not sure Bacula > could find and use the volume for a restore unless it was copied back to > local storage where it was created. Is that the intent? > > 3. How do you ensure that jobs on all volumes on a USB drive have been > purged prior to deleting files and re-using the drive? Bacula does not backup to the USB drives directly. It backs up to local fixed HDD. Then you rsync to the USB drive. You treat the local fixed HDD as your offical Bacula backup and manage it through Bacula. Your USB drives are merely backups of your backups. -- Dan Langille - http://www.langille.org/ BSDCan - The Technical BSD Conference: http://www.bsdcan.org/ ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users