Bacula-users

Re: [Bacula-users] Copy jobs and multiple pools

2015-08-07 16:48:28
Subject: Re: [Bacula-users] Copy jobs and multiple pools
From: Ana Emília M. Arruda <emiliaarruda AT gmail DOT com>
To: Brendan Martin <brendan AT physics.tamu DOT edu>
Date: Fri, 7 Aug 2015 10:04:41 -0300
Hello Brendan,

In each pool you are going to copy jobs from, you need a "Next Pool" directive pointing to the pool to where you are going to copy jobs. I do not see this configuration in your CSG Daily Copy, for example. Also, regarding to the "No Next Pool for pool File" message, you need to configure Next Pool for the pool File too, once you´re using this pool as the default for your jobs. You can also override the pool definition for your jobs, including a pool that has the next pool directive configured, for example, set "Pool = CSG Daily" in your Job CSG Backup and then override again in schedule.

The level for a copy job does not matter (this directive is not required in version 7.X), because the "copy job" will do an exactly copy of the original job (full, differential or incremental) to the new job/volume(s)/pool.

Best regards,
Ana

On Wed, Aug 5, 2015 at 1:13 PM, Brendan Martin <brendan AT physics.tamu DOT edu> wrote:
I'm trying to get some copy jobs set up but so far all test runs have
failed.  I'm not sure how to handle my pool setup relative to the copy
jobs.  I may be trying to make it too complicated.

I have separate pools defined for Full, Differential and Incremental
backups.  I have defined Copy pools for each of those, but my most
recent test returned an error message that there is No Next Pool for
pool "File".

These are the current job stanzas and a typical sample of the pool stanzas:

JobDefs {
   Name = "CSG DefaultJob"
   Client = csg-fd
   FileSet = "CSG Full Set"
   Schedule = "WeeklyCycle"
   Maximum Concurrent Jobs = 4
   Messages = Standard
   Pool = File
   Full Backup Pool = "CSG Monthly"
   Differential Backup Pool = "CSG Weekly"
   Incremental Backup Pool = "CSG Daily"
   Write Bootstrap = "/var/lib/bacula/%c.bsr"
}

Job {
   Name = "CSG Backup"
   JobDefs = "CSG DefaultJob"
   Type = Backup
   Level = Incremental
   Priority = 10
   Storage = Local-File
}

Job {
   Name = "CSG Copy"
   JobDefs = "CSG DefaultJob"
   Type = Copy
   Level = Full
   Priority = 12
   Storage = Remote-File
   SelectionType = PoolUncopiedJobs
}

# CSG Daily Pool definition
Pool {
   Name = "CSG Daily"
   Label Format = CSG-Incr-
   Maximum Volume Jobs = 6
   Pool Type = Backup
   Recycle = yes                       # Bacula can automatically
recycle Volumes
   AutoPrune = yes                     # Prune expired volumes
   Volume Retention = 1 month          # one month
   Maximum Volume Bytes = 50G          # Limit Volume size to something
reasonable
   Maximum Volumes = 8                 # Limit number of Volumes in Pool
   Next Pool = "CSG Daily Copy"        # Pool definition for copy job
}

# CSG Daily Copy Pool definition
Pool {
   Name = "CSG Daily Copy"
   Label Format = CSG-Incr-
   Maximum Volume Jobs = 6
   Pool Type = Backup
   Recycle = yes                       # Bacula can automatically
recycle Volumes
   AutoPrune = yes                     # Prune expired volumes
   Volume Retention = 1 month          # one month
   Maximum Volume Bytes = 50G          # Limit Volume size to something
reasonable
   Maximum Volumes = 8                 # Limit number of Volumes in Pool
   Storage = Remote-File
}

I do understand that Copy jobs work differently, but I am not
understanding all the details of how to adjust things for them. Also,
just to confirm, the Level for all Copy jobs should be Full, correct?


Thanks,
Brendan Martin

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
_______________________________________________
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>