Bacula-users

Re: [Bacula-users] Question about Volume Pools and Strategy

2015-11-05 12:08:01
Subject: Re: [Bacula-users] Question about Volume Pools and Strategy
From: Wesley Render <wrender AT otherdata DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 05 Nov 2015 17:02:56 +0000
In case this helps anyone. I ended up having problems with setting  
volume limits. For example I suddenly decided to adjust our  
incremental backups to run every 4 hours, and started reaching volume  
limits with errors.

 From what I have read in the documentation setting "Volume Use  
Duration" will effectively cause new volumes to be created, and old  
ones to be recycled based on the Volume Retention.  Since I monitor  
servers disk space and this is just disk based backup, if I get an  
alert that the storage space on the backup space is filling up I will  
then look at reducing the retention periods on the volume sets.

Here is what I have so far:

Pool {
   Name = office-p-monthly
   Pool Type = Backup
   Volume Retention = 6 months
   Recycle = yes
   AutoPrune = yes
   Action On Purge = Truncate
   LabelFormat = office-p-monthly-
   Volume Use Duration = 23h
   Maximum Volume Bytes = 100G
}
Pool {
   Name = office-p-weekly
   Pool Type = Backup
   Volume Retention = 1 months
   Recycle = yes
   AutoPrune = yes
   Action On Purge = Truncate
   LabelFormat = office-p-weekly-
   Volume Use Duration = 23h
   Maximum Volume Bytes = 100G
}
Pool {
   Name = office-p-daily
   Pool Type = Backup
   Volume Retention = 14 days
   Recycle = yes
   AutoPrune = yes
   Action On Purge = Truncate
   LabelFormat = office-p-daily-
   Volume Use Duration = 23h
   Maximum Volume Bytes = 100G
}
Pool {
   Name = datacenter-p-monthly
   Pool Type = Backup
   Volume Retention = 6 months
   Recycle = yes
   AutoPrune = yes
   Action On Purge = Truncate
   LabelFormat = datacenter-p-monthly-
   Volume Use Duration = 23h
   Maximum Volume Bytes = 100G
}
Pool {
   Name = datacenter-p-weekly
   Pool Type = Backup
   Volume Retention = 1 months
   Recycle = yes
   AutoPrune = yes
   Action On Purge = Truncate
   LabelFormat = datacenter-p-weekly-
   Volume Use Duration = 23h
   Maximum Volume Bytes = 100G
}
Pool {
   Name = datacenter-p-daily
   Pool Type = Backup
   Volume Retention = 14 days
   Recycle = yes
   AutoPrune = yes
   Action On Purge = Truncate
   LabelFormat = datacenter-p-daily-
   Volume Use Duration = 23h
   Maximum Volume Bytes = 100G
}

Here are samples of the jobs:

Job {
   Name = web221-domainname
   Type = Backup
   Level = Incremental
   Client = web221.domainname.com-fd
   FileSet = OurFileSet
   Schedule = WeeklyCycle
   Storage = horde-sd
   Pool = Default
   Full Backup Pool = datacenter-p-monthly
   Incremental Backup Pool = datacenter-p-daily
   Differential Backup Pool = datacenter-p-weekly
   Accurate = Yes
   Messages = Standard
}

Job {
   Name = web220-domainname
   Type = Backup
   Level = Incremental
   Client = web220.domainname.com-fd
   FileSet = OurFileSet
   Schedule = WeeklyCycle
   Storage = office-sd
   Pool = Default
   Full Backup Pool = office-p-monthly
   Incremental Backup Pool = office-p-daily
   Differential Backup Pool = office-p-weekly
   Accurate = Yes
   Messages = Standard
}



-- 
Wesley Render, Consultant
OtherData

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