Bacula-users

Re: [Bacula-users] Schedule 4 disks rotating weekly

2017-01-09 05:34:20
Subject: Re: [Bacula-users] Schedule 4 disks rotating weekly
From: Sergio Belkin <sebelk AT gmail DOT com>
To: Phil Stracchino <phils AT caerllewys DOT net>
Date: Mon, 9 Jan 2017 07:32:45 -0300
2017-01-04 12:57 GMT-03:00 Phil Stracchino <phils AT caerllewys DOT net>:
On 01/04/17 10:52, Martin Simmons wrote:
>>>>>> On Fri, 30 Dec 2016 18:37:28 -0300, Sergio Belkin said:
>>
>> I have 4 disks:
>>
>> I'd want to plug every disk every monday.
>>
>> So, Mondays run Full Backups and the rest of the days
>> Differential/Incremental ones
>> ...
>> I'd want that operator: rotate from disk 1 to disk 4 regardless the week of
>> the month. Or at least is a way that set the number of week of the month
>> regardless of the day of week?
>
> You could use "Week of Year" notation (w01, w02 etc) plus the day (mon, tue
> etc).  The schedule might have to be rewritten every year to get continuity
> though.


Or you could go the calendar-independent route and set an appropriate
volume use window.  If you set the volume use window to be just less
than a week, expiring late Sunday night or early Monday morning, it will
force Bacula to rotate to the next volume weekly.


--
  Phil Stracchino
  Babylon Communications
  phils AT caerllewys DOT net
  phil AT co.ordinate DOT org
  Landline: 603.293.8485

------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


I've implemented a mixed solution, volume use window and time, something like that:

Schedule {
  Name = "Pool-A"
  Run = Storage=Pool-A Pool=Pool-A Level=Differential  w00,w01, w05, w09, w13, w17, w21, w25, w29, w33, w37, w41, w45, w49, w53 fri-sun at 23:00
  Run = Storage=Pool-A Pool=Pool-A Level=Differential w02, w06, w10, w14, w18, w22, w26, w30, w34, w38, w42, w46, w50  mon-thu at 23:00

}

HTH and thanks!


--
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
------------------------------------------------------------------------------
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>