Hi, I admit it's some time after your mail, but still...
On 5/30/2006 8:59 PM, Jean-Francois Theroux wrote: > Hey guys, > > At work, we use Bacula 1.36 running on Debian 3.1. We're using > it to backup a mix of Windows/Linux/FreeBSD clients. We use a Sony AIT-3 > drive/tapes. We use one pool for that drive, with 20 volumes. They are > labeled using the following scheme, we have 4 weeks (W1 to W4) and we > use 5 tapes per week (D1 to D5) which in turns makes volumes named like > W1D1. > > So every night, we do a full backup of each clients/servers from > monday to friday, no backup during the weekends. > > The first volume that was added to the pool is W3D2. Once in a > while, bacula asks for that volume to be mounted (for no apparent reason > in the logs). Which cause my backup to fail, because a different volume > is mounted. > > Knowing very well that the volume I've put in the drive is correct, how > do you tell bacula to use whatever is in the drive? Instead of what it > thinks should be used? And why does it always ask for the first volume > that was added to the pool? Accept any volume = yes in the configuration, or something similar. This is, with a more recent version, the standard and unmodifieable behaviour, and I'm not sure that running Bacula *without* it ever did what you'd expect. More along Baculas line or working, there is no way to tell Bacula to use a dsitinct volume; volume management is only done by Bacula and you can't determine, for example, the order in which volumes are used (actually, you can, but there are reasons why it's not documented). Bacula is, I think, very well able to manage volume usage itself. If, for whatever reason, you want to or you have to manage the volume usage yourself, for example for off-site storage, you should do this by using separate pools. In your case, I'd create four pools and schedule the jobs in a way that the four pools are used in turn, each for a week, and set them up so that they are recycled after three weeks. (This is some configuration work but can be simplified by a simple script, I think.) Arno > Here's some snippets of our config, if you require more info, debug > logs, email reports, etc, let me know. > > Pool { > Name = Default > Pool Type = Backup > Auto Prune = yes > Recycle = yes > Recycle Current Volume = yes > Volume Retention = 20d > Volume Use Duration = 20h > } > > Thanks and have a nice day, > -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users