-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

As part of my monthly backup cycle, I am required to take 2 full backups
to 2 different pools at the beginning of each month, one to store
locally and one to store off-site. Up until now I have been running 2
independent schedules to take care of these:

bacula-dir.conf:
Schedule {
  Name = "WeeklyCycle"
  Run = Level=Full Pool=MonthlyOffsite Priority=9 1st sat at 1:05
  Run = Level=Full Pool=Monthly Priority=9 1st sun at 1:05
  Run = Level=Incremental Pool=Daily FullPool=Monthly mon-sat at 1:05

...

I see in the Director's Job resource that there is a "Run" directive
(not to be confused with the Run directive in the Schedule resource
above) that can be used to clone jobs. If possible I'd like to use this
to clone the "Level=Full Pool=Monthly" backup job shown above to the
MonthlyOffsite pool. Unfortunately I'm unable to wrap my head around
this directive based on the single example given in the documentation.

Here's a sample of one of my Job and JobDef resources:

JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
  Storage = ADIC-Library1
  Messages = Standard
  Pool = Daily
  Full Backup Pool = Monthly
  Priority = 10
  Maximum Concurrent Jobs = 1
  Spool Data = yes
}

Job {
  Name = "archive2"
  JobDefs = DefaultJob
  Client = "archive2-fd"
  FileSet = "archive2"
}


I imagine I'd need a line like this in the archive2 job:

  Run = "archive2 level=Full since=\"%s\" pool=MonthlyOffsite"

The way I see it, if I put that in the archive2 job resource it will run
every time a scheduled (incremental or full) job runs for this Job
resource. Is there a way to have a "Run" job ONLY run when the other
monthly full backup is scheduled to run? Or would I need to create
another Job resource for all of my clients, under another schedule, and
remove these full backups from my WeeklyCycle schedule?



Thanks,
Michael Proto
- --
Michael Proto            | SecureWorks
Unix Administrator       |
PGP ID: 5D575BBE         | [EMAIL PROTECTED]
*******************************************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGCoZDOLq/wl1XW74RAgtvAJ47vVH0yKJY55/nhA2l97kT37rRJACghaOB
xT/rionRiOdgb/Q8x36hHCc=
=cbUo
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to