Bacula-users

Re: [Bacula-users] Question about shedule

2011-01-12 06:55:07
Subject: Re: [Bacula-users] Question about shedule
From: Jeremy Maes <jma AT schaubroeck DOT be>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 12 Jan 2011 12:52:30 +0100
Op 12/01/2011 12:19, Valerio Pachera schreef:

>  Could you please help me understunding how shedule works?
>
>  Analize this example from the wiki:
>
>  Schedule {
>           Name = "ScheduleTest"
>           Run = Full 1st sun at 23:05
>           Run = Differential 2nd-5th sun at 23:05
>           Run = Incremental mon-sat at 23:05
>  }
>
>  QUESTION 1: '1st' refear to the backup number (the first backup) or
>  the day of the week? or the day of the month?
1st (or 2nd, 3rd, 4th ,5th) is linked to the short name for the day that
follows it. This is used in the context of a month.
>  I read the first line like:
>  "The first backup has to be full (so it doesn't matter the day it
>  begin). Each sunday do a full backup"
1st is linked to sun, to say "the first sunday of the month", not linked
to Full.
So this first line says: run a Full backup, every first sunday of the
month, at 23:05

>  The second line...:
>  "Second and fifth backup has to be Differential" what about 'sun' ????
As in the config file, the second line reads: "Run a differential backup
every 2nd, 3rd, 4th and 5th sunday of the month, at 23:05"
>  The third line:
>  "Make an incremental backup from monday to satturday"
The third line then reads: "Run an incremental backup every monday,
tuesday, wednesday, thursday, friday and saturday at 23:05"
>  I think that the second and third line overlap:
>  if sunday we make a full backup, monday (2th) should be done
>  differential (second line) but also incremental (third line).
>  QUESTION 2:I guess the first match is used and the other ignored (like
>  in iptables rules).
There is no overlap as the first two lines specify backups on sundays,
the last specifies them for the other days of the week.
As such this question isn't relevant.
>  QUESTION 3: what means 'sun' ? If it's sunday, why is it used in
>  second line if it's already  specified in first line?
As said before, sun = sunday. Just a shorthand for names of the days in
English. (mon, tue, wed, thu, fri, sat, sun)
It's used on both lines because they both reference different sundays of
the month (1st sunday of the month, other sundays of the month)
>  QUESTION 4: why is it usefull to make differential backups instead of
>  all incremental backup?
Differential backups always reference the last full backup when
determining what files to backup. Incrementals will reference the last
full, differential of incremental backup.
If you want to restore from a differential backup, you'd need only the
given differential and the full before it. Restoring from an incremental
backup requires the incremental,
all incrementals before it and the differential + full or full before it.

If you were to make a full the 1st of the month and then 30 incrementals
you'd be needing a lot of volumes for the restore.
>  QUESTION 5: I read bacula user manual but found nothing about shedule
>  sintax. If you have any link, please paste it here.
Info can be found in section 17.5 of the PDF (the schedule resource) or
at this link:
http://www.bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#SECTION001850000000000000000

Kind regards,
Jeremy


 **** DISCLAIMER ****
http://www.schaubroeck.be/maildisclaimer.htm

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
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>