Bacula-users

Re: [Bacula-users] Verify a Copy Job

2012-08-16 13:46:41
Subject: Re: [Bacula-users] Verify a Copy Job
From: Diego Rubert <dprubert AT prms.mpf.gov DOT br>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 16 Aug 2012 13:46:34 -0400
I found the following "trick", any better?

######
From: Ulrich Leodolter <ulrich.leodolter <at> obvsg.at>
Subject: multiple copy pools
Newsgroups: gmane.comp.sysutils.backup.bacula.devel
Date: 2009-06-08 11:58:34 GMT (3 years, 9 weeks, 6 days, 11 hours and 44 minutes ago)
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
######
--

Diego P. Rubert
Coordenadoria de Informática
Procuradoria da República no Estado de Mato Grosso do Sul
Ministério Público Federal

Em 15-08-2012 15:49, Diego Rubert escreveu:
Hello!
Is it possible to verify (VolumeToCatalog) a copied job?
I've found only a reference in an old message with subject 
"[Bacula-users] is it possible to verify copy jobs?", with no response.
It seems bacula doesn't find the copied job, with or without a "Verify 
Job = MyBackupJobName" at verify job definition, resulting in a 
verification of an older (real) backup.
Regards,
   Diego

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>