On Friday, May 13, 2016 at 8:49:05 AM UTC+2, [email protected] wrote:
> Am Donnerstag, 12. Mai 2016 15:02:00 UTC+2 schrieb Robert N:
> > Hi, sorry for the previous post, but it wasn't complete.
> > 
> > I'd some questions regarding file/job retention periods.
> > 
> > 1. The only place where I can find these in catalog is in list clients 
> > listing.
> > Are these in any other place saved?
> > 
> > 2. According to the Job/File Retention definition in the Pool resource:
> > "This directive takes precedence over Client directives of the same name."
> > I have defined some clients without any job/file retention, and defined 2 
> > different pools with different Retention periods, but the console reports 
> > only the default retention periods ( 60 days for file and 180 days for jobs 
> > ). So I'd say the Job/File Retentions defined in Pool are not taken into 
> > account.
> > 
> > My setup:
> > 
> > client {
> > 
> > name = client1
> > address = ...
> > password = ....
> > Catalog = ....
> > 
> > }
> > 
> > JobDefs {
> >   Name = "StdDisk"
> >   Type = Backup
> >   Messages = "Standard"
> >   FileSet = "StdLinux"
> >   Schedule = "StdSchedule"
> >   WriteBootstrap = "/data/bareos/%c.bsr"
> > }
> > 
> > Job {
> >   Name = "job1"
> >   Pool = "DiskDaily"
> >   Client = "client1"
> >   JobDefs = "StdDisk"
> > }
> > 
> > Job {
> >   Name = "CopyToTape"
> >   Type = Copy
> >   Messages = "Standard"
> >   Pool = "DiskDaily"
> >   Schedule = "CopyDaily"
> >   Priority = 12
> >   SelectionPattern = "."
> >   SelectionType = PoolUncopiedJobs
> > }
> > 
> > Schedule {
> >   Name = "StdSchedule"
> >   run = pool="DiskDaily" Incremental at 13:30
> > }
> > 
> > Schedule {
> >   Name = "CopyDaily"
> >   run = at 13:35
> > }
> > 
> > Pool {
> > 
> >   Name = "DiskDaily"
> >   PoolType = "Backup"
> >   LabelFormat = "Incr-"
> >   LabelType = "bareos"
> >   MaximumVolumes = 100
> >   MaximumVolumeBytes = 5 g 
> >   VolumeRetention = 2 weeks 
> >   NextPool = "TapeDaily"
> >   Storage = "DiskStorage"
> >   FileRetention = 2 weeks 
> >   JobRetention = 2 weeks 
> > }
> > 
> > Pool {
> >   Name = "TapeDaily"
> >   PoolType = "Backup"
> >   LabelType = "bareos"
> >   VolumeRetention = 1 weeks 
> >   VolumeUseDuration = 23 hours 
> >   Storage = "TapeStorage"
> >   FileRetention = 1 weeks 
> >   JobRetention = 1 weeks 
> > }
> > 
> > According to the manual, I'd expect the file retention to be 2 weeks in the 
> > diskdaily pool, and 1 week in the TapeDaily pool, but the retention periods 
> > in list clients are always the default ones.
> > 
> > How could I achieve my goal, to have 2 different pools with different 
> > job/file retention periods? I want to do the backup on a diskdevice first, 
> > and then copy the jobs over to tapes. Also want to keep the backups on disk 
> > for 2 weeks, for a quicker access to restore, just in case...
> > 
> > Thank you.
> 
> Hi Robert,
> 
> my pools has different retentions too. but i declared it via days and it 
> works. example: Volume Retention = 6d . in the bareos-webui, what value was 
> printed in the pool overview? had you reload the config, sometimes this had 
> happend to me.

Hi, I was talking about file/job retention in the Pool resource, that's 
different from volume retention. Have you also file/job retention in your pool 
and are those taken into account?

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to