Bacula-users

[Bacula-users] Copy jobs and multiple pools

2015-08-05 12:19:12
Subject: [Bacula-users] Copy jobs and multiple pools
From: Brendan Martin <brendan AT physics.tamu DOT edu>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 5 Aug 2015 11:13:32 -0500
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

<Prev in Thread] Current Thread [Next in Thread>