I have several pools, jobs, and schedules that are working just fine. There
is just one pool/job combo that's giving me fits! It feels like such a
newbie problem too, very similar or identical to others that have been asked
on this very list! Gah!
Requirements I'm using for the backups are as such:
1) 5 tapes in a job/fileset-specific pool
2) One job max on each tape.
3) Each day a non-bacula-educated user will manually change tapes and takes
the new tape off-site.
I have an ADMIN job that unmounts the drive, updates the slots then remounts
the drive before any jobs on that SD run.
4) If operator forgets to switch tapes, over-write whatever tape from the
specified pool that's loaded in the tape changer. Due to other jobs that run
before/after it each day, it won't be the tape that's loaded in the tape
drive.
!!! This is where I'm stuck! I've used "Recycle Current Volume = yes" but I
believe that it only applies to situations where the volume is still in the
tape device, not for when a volume from the pool is in the changer.
Reading over the mailing lists archives, I get the feeling that Bacula isn't
really "built" for doing #4. Or am I missing something? If I bump the
Volume Retention down to 12 hours, it still winds up asking for a tape that
isn't loaded in the changer.
In general, unless I disable certain tapes, the job keeps asking for volumes
that aren't in the changer when appendable(new), purged or recycled volumes
are loaded in the changer.
Any help/insights would be great. Even if it's to say "Nope, bacula doesn't
really work the in a way that you want it too..." at least not in this
instance. All of my other backups are running great! This is just one small
but critically important subsection of data, less than 1% of what needs
backed up, but potentially more important than all the other stuff.
Full pool definition is:
Pool {
Name = FlaksProblemPool # Not it's real name folks.
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 5 days
Recycle Current Volume = yes
Storage = FlaksChanger # Also not a real name
Maximum Volume Jobs = 1
Maximum Volumes = 5
}
The only scheduled job that uses the pool:
Job {
Name = "FlaksProblem Backup"
Type = Backup
Level = Full
Client = bacula-fd
Prune Jobs = Yes
Prune Files = Yes
Prune Volumes = Yes
Prefer Mounted Volumes = Yes
FileSet = "VMWareImages"
Schedule = "WeeklyCycle"
Run Before Job = /etc/bacula/RBS-vibackup_cleanup.sh
Storage = FlaksChangers
Messages = Standard
Pool = FlaksProblemPool
Priority = 11
Spool Attributes = yes
Maximum Concurrent Jobs = 1
Max Wait Time = 12 hours
}
Installation:
Bacula v2.0.3 in all cases.
Director: Ubuntu 6.10 server on a VMWare server, runing DIR, FD, MySQL
Client1: Solaris 8 SPARC, running FD, SD w/ Quantum-SL3 16xLT03
Client2: Solaris 8 SPARC, running FD, SD w/ Qualstar TLS4210 13xAIT3
Client3: Ubuntu 6.10 server running FD
Client4: Win2k running FD
Client5: WinXP running FD (Idle, no jobs run that need this box.)
--
-- Flak Magnet (Tim)
www.flakmagnet.com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users