Bacula-users

Re: [Bacula-users] Gap of time without backup?

2017-05-26 10:15:11
Subject: Re: [Bacula-users] Gap of time without backup?
From: Kern Sibbald <kern AT sibbald DOT com>
To: Michael Munger <michael AT highpoweredhelp DOT com>, bacula-users AT lists.sourceforge DOT net
Date: Fri, 26 May 2017 16:14:04 +0200

Hello,

Bacula does its best not to prune the only good Full, but I am not 100% sure it always works, so in general the bad situation that you foresee should not happen.  However, Bacula has a number of techniques for resolving the problem.  See below:

1. Use the Reschedule On Error directive.

2. Use the Max Full Interval to make sure your next Incremental/Differential is upgraded to a Full. 

There are probably other techniques that will work too ...

Best regards,

Kern


On 05/26/2017 01:03 PM, Michael Munger wrote:

Assuming the specified schedule, volume retention, and job retention... is there a possibility that you can have a failed full backup on the 1st Sunday that leaves you without any backup for 24 hours? (Previous full one has expired in terms of retention, which kills all incremental and differentials for the previous month. So, doesn't it mean that there is no backup until the next one completes?)

Should retention periods be setup so that they are 1 month + 1 day?

Also, it seems that job and volume retention should be the same in most cases. It appears to not be useful to have one without the other. job without volume can tell you where the file used to be, and volume without job makes it near impossible to find a given file... correct?

Schedule {
  Name = "WeeklyCycle"
  Run = Full 1st sun at 23:05
  Run = Differential 2nd-5th sun at 23:05
  Run = Incremental mon-sat at 23:05
}

## File Pool definition
Pool {
  Name = File
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 4 weeks          # same as everything else.
  Maximum Volume Bytes = 30G          # Limit Volume size to something reasonable
  Maximum Volumes = 185               # Limit number of Volumes in Pool
  Label Format = "Vol-"               # Auto label
  Action On Purge = Truncate
}

Client {
  Name = ns2-fd
  Address = 192.168.X.X
  FDPort = 9102
  Catalog = MyCatalog
  Password = "[REDACTED]"
  File Retention = 1 month           
  Job Retention = 1 month
  AutoPrune = yes
}

--
Michael Munger, dCAP, MCPS, MCNPS, MBSS
High Powered Help, Inc.
Microsoft Certified Professional
Microsoft Certified Small Business Specialist
Digium Certified Asterisk Professional
michael AT highpoweredhelp DOT com


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


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

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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>

ADSM.ORG Privacy and Data Security by https://kimlaw.us