Hi,

On 4/3/2007 7:04 PM, Hal Eisen wrote:
> I am looking for some help in configuring my bacula setup.  I have
> read the docs, and tried several variations, but I keep getting caught
> up on one thing or another, and it seems I need to start from the
> beginning.
> 
> My basic goal is to keep two sets of backup media, A and B.  At any
> one time, one of those sets is on-site, while the other is off-site.
> These should be rotated on a weekly basis.  I wrote an alert script to
> inform the admins to swap the media once a week.

Ok.

> My chosen backup storage mechanism is a pair of Iomega REV removable
> hard disk drives, which I am calling 1 and 2.  I have enough data to
> backup that I cannot fit all of it on just one REV device, so I added
> the second device.
> 
> One problem I ran into is that my "tapes" are not getting recycled.
> Each REV device can hold about 34GB of data, so I split that up into
> 100 "tapes" of 340MB each.  However, bacula will keep using new
> "tapes" until the REV device is full, and not reuse older "tapes".

Hmmm... I see different numbers in the configuration you posted: 64 
volumes of 500MB each.

Bacula tries to use unused tapes (or create new volumes) before 
recycling volumes. This is to make sure your data stays available as 
long as possible.

> Another problem is that the Storage Director needs to be stopped and
> restarted when I swap the media for the weekly rotation.  Is there any
> way around that?

This should not be necessary, but it depends on your OS setup.

>  I wrote a script called "conditional-mount.sh" which
> looks to see if the admin had swapped media or if the media was not
> mounted, which would do the Unix mounting work, and then restart the
> bacula-sd process.
> 
> Is there any way to auto-detect which set (A or B) is in the REV
> drive?  The only way I've come up with is to declare a date-based
> method, which seems inelegant to me.

As far as I can tell, current versions of Bacula don't worry too much 
about the set of volumes they see. They try to use what they find.

> I've posted my bacula configuration files here:
>      http://dunhackin.org/~eisen/bacula-question/index.html

You didn't tell us which version of Bacula, which OS, and which 
(possible) automounting method you use, which would be valuable information.

Search the list archives for mails regarding 'Removable disk HOWTO', the 
information in there might be valuable to you!

Arno


> Thank you for any help!
> 
> Hal
> 
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to