Bacula-users

Re: [Bacula-users] Bacula Catalog Backup to tape

2011-08-27 11:21:21
Subject: Re: [Bacula-users] Bacula Catalog Backup to tape
From: Konstantin Khomoutov <flatworm AT users.sourceforge DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Sat, 27 Aug 2011 19:19:28 +0400
On Sat, Aug 27, 2011 at 01:06:08AM -0700, frank_sg wrote:

> I do my catalog backups to tape. I have an autoloader (Dell TL2000)
> with an LTO4 drive. I have created a pool "Catalog" containing two
> tapes. Since my catalog is not that big  8)  all the catalog backups
> have been writen to the first tape in the pool. But I would like to
> switch the tape for every catalog backup - so first backup goes to
> first tape, second to second tape, third to first tape again, and so
> on. How is this posible with bacula?
One way is to set
Maximum Volume Jobs = 1
on your "Catalog" pool resource (and don't forget to update contained
volumes from that updated pool resource afterwards).
This would make Bacula pick the next available volume from the pool
after writing the first catalog backup on a volume.
Obviously, this would only work if you intend to only use the volumes in
this pool for backing up the catalog.

Another way is to set "Max Volume Use Duration" on your pool resource
to a value that is greater than the expected duration of a backup
session but less than the time before the next backup.
Personally, I'm using this contrived scheme to pefrorm full backup of a
set of servers (plus catalog backup afterwards) on weekends, with the
requirement that the whole backup session goes to a single tape and the
next backup session (another week) goes to the next tape in the same
pool. To achieve that I have the aforementioned value set to 24 hours.


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users