Bacula-users

[Bacula-users] Scheduling / backup strategy

2012-05-29 05:18:54
Subject: [Bacula-users] Scheduling / backup strategy
From: Danilo Godec <danilo.godec AT agenda DOT si>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 29 May 2012 11:16:26 +0200
Hello,

I'm new to Bacula and need some help with scheduling, pools and well,
backup strategy in general. I will be backing up three clients
(including the server running Bacula) and one 800GB LTO-4 tape drive,
and there will be 'someone' for changing tapes.

The basic idea of the backup strategy is 4 weekly tapes and 1 monthly
tape per month:

* every Friday a tape is changed
    * if it's a first Friday in month, a new tape should be inserted and
it should be auto-labeled with the previous month's name
    * on every other Friday, the next recyclable weekly tape should be
inserted
* every Friday a full backup should be performed
* every other weekday an incremental backup should be performed
* weekly tapes should be recycled after 4 weeks
* monthly tapes should be stored separately for at least one year


To further clarify things, this is what want (the asterisk marks a
Friday / changing tapes):

Date           Tape inserted    Backup level

*  6.1.2012    DECEMBER         Full
   7.1.2012    DECEMBER         none
   8.1.2012    DECEMBER         none
   9.1.2012    DECEMBER         Incremental
  10.1.2012    DECEMBER         Incremental
  11.1.2012    DECEMBER         Incremental
  12.1.2012    DECEMBER         Incremental
* 13.1.2012    WEEK_1           Full
  14.1.2012    WEEK_1           none
  15.1.2012    WEEK_1           none
  16.1.2012    WEEK_1           Incremental
  17.1.2012    WEEK_1           Incremental
  18.1.2012    WEEK_1           Incremental
  19.1.2012    WEEK_1           Incremental
* 20.1.2012    WEEK_2           Full
  21.1.2012    WEEK_2           none
  22.1.2012    WEEK_2           none
  23.1.2012    WEEK_2           Incremental
  24.1.2012    WEEK_2           Incremental
  25.1.2012    WEEK_2           Incremental
  26.1.2012    WEEK_2           Incremental
* 27.1.2012    WEEK_3           Full
  28.1.2012    WEEK_3           none
  29.1.2012    WEEK_3           none
  30.1.2012    WEEK_3           Incremental
  31.1.2012    WEEK_3           Incremental
   1.2.2012    WEEK_3           Incremental
   2.2.2012    WEEK_3           Incremental
*  3.2.2012    JANUARY          Full
   4.2.2012    JANUARY          none
   5.2.2012    JANUARY          none
   6.2.2012    JANUARY          Incremental
   7.2.2012    JANUARY          Incremental
   8.2.2012    JANUARY          Incremental
   9.2.2012    JANUARY          Incremental
* 10.2.2012    WEEK_4           Full
  11.2.2012    WEEK_4           none
  12.2.2012    WEEK_4           none
  13.2.2012    WEEK_4           Incremental
  14.2.2012    WEEK_4           Incremental
  15.2.2012    WEEK_4           Incremental
  16.2.2012    WEEK_4           Incremental
* 17.2.2012    WEEK_1           Full
  18.2.2012    WEEK_1           none
  19.2.2012    WEEK_1           none
  20.2.2012    WEEK_1           Incremental
  21.2.2012    WEEK_1           Incremental
  22.2.2012    WEEK_1           Incremental
  23.2.2012    WEEK_1           Incremental
....
  

So I defined a 'weekly' pool and a 'monthly' pool:

Pool {
  Name = Weekly_Tape
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 4 weeks
  Volume Use Duration = 1 week
}

Pool {
  Name = Montly_Tape
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes  
  Volume Retention = 1 year
  Volume Use Duration = 1 week
  Label Format = "${Months[${Month}]}"
}


But I'm not quite sure how to implement my strategy in 'Schedule'...
Right now I have this:

Schedule {
  Name = "WeeklyCycleTape"
  Run = Level=Full Pool=Montly_Tape 1st fri at 23:05
  Run = Level=Full Pool=Weekly_Tape 2nd-5th fri at 23:05
  Run = Incremental mon-thu at 23:05
}

But that would probably request a tape from the 'weekly' pool every
Monday - Thursday ...


Is it possible to do what I want with Bacula scheduling?

   Danilo








-- 
Danilo Godec, sistemska podpora / system administration

Predlog! Obiscite prenovljeno spletno stran www.agenda.si 

ODPRTA KODA IN LINUX 
STORITVE : POSLOVNE RESITVE : UPRAVLJANJE IT : INFRASTRUKTURA IT : 
IZOBRAZEVANJE : PROGRAMSKA OPREMA 

Visit our updated web page at www.agenda.si 

OPEN SOURCE AND LINUX 
SERVICES : BUSINESS SOLUTIONS : IT MANAGEMENT : IT INFRASTRUCTURE : TRAINING : 
SOFTWARE 


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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>