Hello,

i would like to run disk2tape copy jobs
into different pools.

the current version (3.0.2) doesn't allow this setup (afaik)
there is only one NextPool which determines the destination
pool for copy jobs.

i tried a "trick" to overcome this limitation.

1.) define a dummy pool, no backup jobs go into this pool.

Pool {
  Name = ExtBackup
  Pool Type = Backup
  Next Pool = ExtClone
}

2.) define a copy job using the above dummy pool and
custom sqlquery to select jobid from different pool.

Job {
  Name = "CopyDiskToExtClone"
  Type = Copy
  Client = None
  Level = Full                  # must be defined, but is ignored
  FileSet = None                # must be defined, but is ignored
  Pool = ExtBackup
  Selection Type = SQLQuery
  Selection Pattern = "SELECT DISTINCT Job.JobId FROM Job,Pool WHERE
 Pool.Name = 'DiskBackup' AND Pool.PoolId = Job.PoolId AND ..."
  ...
}

using this method i was able top copy jobs from pool DiskBackup
to pool ExtClone, even though DiskBackup->NextPool = DiskCopy


can i expect troubles using this trick?

Regards
Ulrich


-- 
Ulrich Leodolter <[email protected]>
OBVSG


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to