[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bacula-devel] Copy Jobs Selection


yesterday i dropped bacula 2.2.8 test installation
and compiled/installed the current bacula version from svn
(Revision: 6995) ... because i like to test "Copy Jobs".

i also simplified the config while migrating 5 test clients
and defined two pools

Pool {
  Name = DiskBackup
  Pool Type = Backup
  Recycle = yes
  RecyclePool = DiskBackup
  AutoPrune = yes
  Volume Retention = 30 days
  Maximum Volume Bytes = 2G
  Label Format = Backup-
  Next Pool = DiskCopy

Pool {
  Name = DiskCopy
  Pool Type = Copy
  Storage = Tape
  Copy Pool = DiskBackup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 6 months
# Label Format = BAC

tonight full backups to DiskBackup pool completed without problems.
today i've manually started a CopyDiskToTape job

Job {
  Name = "CopyDiskToTape"
  Type = Copy
  Client = troll-fd
  Level = Full                  # must be defined, but is ignored
  FileSet = "Full Set"          # must be defined, but is ignored
  Pool = DiskBackup
  Storage = File
  Messages = Standard
  Selection Type = PoolTime
  Maximum Concurrent Jobs = 10
  SpoolData = yes

copy jobs run fine and all full DiskBackup are copied to pool
DiskCopy (Tape).
as you can see "Selection Type = PoolTime",  but i did not specify
"Migration Time = ..." in DiskBackup.

i would like to run the "CopyDiskToTape" job every morning after
nightly DiskBackup jobs completed.

how can i simply select only "new DiskBackup" jobs which have no Copy ??

do i need "Selection Type = SQLQuery" where sql selects
jobs which have StartTime > LastCopyDiskToTape.StarTime ??

Ulrich Leodolter <ulrich.leodolter@xxxxxxxx>

This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
Bacula-devel mailing list

This mailing list archive is a service of Copilotco.