Bacula-users

Re: [Bacula-users] Setting Priority

2011-07-11 10:31:56
Subject: Re: [Bacula-users] Setting Priority
From: hymie! <hymie AT lactose.homelinux DOT net>
To: Mike Hobbs <mhobbs AT mtl.mit DOT edu>
Date: Mon, 11 Jul 2011 10:29:14 -0400
I personally found the built-in Priority system to be unsuitable for my
needs.  I am instead using the (undocumented) feature that backups
are typically executed in the order that they are placed into the schedule.

So in my case, I have four different machines, and each machine gets a
full backup on a specific Friday, and differentials on the other
Fridays, and incremntals Sunday - Thursday.

Job {
  Name = "CEPub1Backup"
  JobDefs = "DefaultJob"
  Client = nycepub1-fd
  Schedule = "Weekly1stFriCycleP2"
}
Job {
  Name = "CESub1Backup"
  JobDefs = "DefaultJob"
  Client = nycesub1-fd
  Schedule = "Weekly2ndFriCycleP2"
}
and so on ...

Schedule {
  Name = "Weekly1stFriCycle"
  Run = Full 1st fri at 21:05
  Run = Differential 2nd-5th fri at 21:10
  Run = Incremental sun-thu at 21:10
}
Schedule {
  Name = "Weekly2ndFriCycle"
  Run = Full 2nd fri at 21:05
  Run = Differential 1st fri at 21:10
  Run = Differential 3rd-5th fri at 21:10
  Run = Incremental sun-thu at 21:10
}
Schedule {
  Name = "Weekly4thFriCycleP2"
  Run = Full 4th fri at 21:15
  Run = Differential 1st-3rd fri at 21:15
  Run = Differential 5th fri at 21:15
  Run = Incremental sun-thu at 21:15
}

This typically ensure that the Full backup will start before the
Differentials are even scheduled.  It also ensures that the largest
machine, which takes 12 hours just to do an incremental backup,
always starts last, at a lower pseudo-priority than the other three
machines.

You will, of course, want to do it the other way, with your incrementals
scheduled 5 minutes earlier than your fulls.

However, I might suggest that, since Incremental/Differential backups
depend on having a Full backup already completed, you have your
priorities backwards.  The Full backups, imho, should be given the higher
priority than the incrementals.

Anyway, These four machines run their Full/Diff backups on Friday,
and they take about 36 hours to complete.  I have no backups at all
on Saturday, to ensure that nothing clogs the queue while my important
Full/Diff backups are running.  They are finished in time for the Sunday
night incrementals.

Mike Hobbs writes:
>Hello, I was wondering if someone could help me out with an issue.

--hymie!    http://lactose.homelinux.net/~hymie    hymie AT lactose.homelinux 
DOT net
-------------------------------------------------------------------------------

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users