Bacula-users

Re: [Bacula-users] Full backup every day instead of Incremental backup

2012-01-16 10:17:57
Subject: Re: [Bacula-users] Full backup every day instead of Incremental backup
From: Sebastien Douche <sdouche AT gmail DOT com>
To: John Drescher <drescherjm AT gmail DOT com>
Date: Mon, 16 Jan 2012 15:48:38 +0100
On Mon, Jan 16, 2012 at 15:16, John Drescher <drescherjm AT gmail DOT com> 
wrote:
> Do you have the messages or the log for the last few jobs? I suspect
> the incremental is getting upgraded from a full because bacula
> believes no prior full exists.

Hi John,
Right for the first jobs :
12-Jan 23:05 backup-dir JobId 1: No prior Full backup Job record found.
12-Jan 23:05 backup-dir JobId 1: No prior or suitable Full backup
found in catalog. Doing FULL backup.

But not that kind of messages with the last jobs:
16-Jan 02:51 backup-dir JobId 48: Start Backup JobId 48,
Job=DagobahEtc.2012-01-15_23.05.00_43
16-Jan 02:51 backup-dir JobId 48: Using Device "File"
16-Jan 02:51 backup-sd JobId 48: Volume "Full0063" previously written,
moving to end of data.
16-Jan 02:51 backup-sd JobId 48: Ready to append to end of Volume
"Full0063" size=411133107
16-Jan 02:51 backup-sd JobId 48: Job write elapsed time = 00:00:02,
Transfer rate = 1.184 M Bytes/second
16-Jan 02:51 backup-dir JobId 48: Bacula backup-dir 5.0.2 (28Apr10):
16-Jan-2012 02:51:55
  Build OS:               x86_64-pc-linux-gnu debian squeeze/sid
  JobId:                  48
  Job:                    DagobahEtc.2012-01-15_23.05.00_43
  Backup Level:           Full


Note: MonthlyCycle is good for the mday:

Schedule {
  Name = "MonthlyCycle"
  Run = Full on 1 at 23:05
  Run = Incremental mon-fri at 23:05
}

Schedule: name=MonthlyCycle
  --> Run Level=Full
      hour=23
      mday=0
      month=0 1 2 3 4 5 6 7 8 9 10 11
      wday=0 1 2 3 4 5 6
      wom=0 1 2 3 4
      woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
46 47 48 49 50 51 52 53
      mins=5
  --> Run Level=Incremental
      hour=23
      mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
23 24 25 26 27 28 29 30
      month=0 1 2 3 4 5 6 7 8 9 10 11
      wday=1 2 3 4 5
      wom=0 1 2 3 4
      woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
46 47 48 49 50 51 52 53
      mins=5

I guess the schedule is correctly set only whis mday but not with
wday. Bug or am I stupid?


-- 
Sebastien Douche <sdouche AT gmail DOT com>
Twitter: @sdouche / G+: +sdouche

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users