Re: [Bacula-users] Schedule not being followed
> On Wed, 20 Jan 2010 00:50:30 -0800 (PST), Glynd said: > > Some more information on this which may help. I did a show schedules and got > this: > > Schedule: name=WeeklyCycle > --> Run Level=Incremental > hour=19 > 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 2 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 > --> Pool: name=Incr-Pool-B PoolType=Backup > use_cat=1 use_once=0 cat_files=1 > max_vols=1 auto_prune=1 VolRetention=6 days > VolUse=0 secs recycle=1 LabelFormat=hddb-incr- > CleaningPrefix=*None* LabelType=0 > RecyleOldest=0 PurgeOldest=0 > MaxVolJobs=25 MaxVolFiles=0 MaxVolBytes=0 > MigTime=0 secs MigHiBytes=0 MigLoBytes=0 > --> Storage: name=HDDB address=mistral.cirrus.co.za SDport=9103 MaxJobs=1 > DeviceName=usb-drive-b MediaType=Fileb StorageId=3 > > > The schedule resource if the bacula-dir.conf is this: > > Schedule { > Name = "WeeklyCycle" > Run = IncrementalPool = Incr-Pool-B 1st, 3rd, 5th mon-fri at 19:05 > Run = FullPool = Full-Pool-B 1st, 3rd, 5th sat at 02:05 > Run = IncrementalPool = Incr-Pool-A 2nd, 4th mon-fri at 19:05 > Run = FullPool = Full-Pool-A 2nd, 4th Sat at 02:05 > } That looks slightly wrong, because it doesn't ever set the Level=Full. > The schedule has the poolb jobs running on 1st,3rd,5th week of the month, > yet the "show schedules" shows it for wom 0,2,4. > > Where else could this be set? It is correct already. Bacula uses wom 0 internally to mean "1st", 1 to mean "2nd" etc. A schedule runs when all of the conditions are true simultaneously. Also, it calculates mday = calendar_day_of_month - 1 wom = mday / 7 i.e. Jan 1 to Jan 7 are wom 0. __Martin -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Schedule not being followed
> On Sun, 17 Jan 2010 22:00:41 -0800 (PST), Glynd said: > > Hi Martin, > > If this is true then Bacula will dictate when the (in my case) the weekly > disk has to be swapped out. I would much prefer to do this on a Monday > morning, but if in 2010, Bacula wants to change on a Friday it will be > Saturday next year? Yes, probably. > Can I define the schedule differently so I can swap the disks on a Monday? I can't think of any way to do that with a schedule. You are effective asking for a schedule where you change on a Monday in the last week of some months but not other months. __Martin > > TIA > Cheers > Glyn > > > Martin Simmons wrote: > > > >> On Fri, 15 Jan 2010 09:25:29 +0200, Glyn said: > >> > >> Using 3.0.2 on Ubuntu 8.04 server with MySQL. > >> > >> It is now Friday of the 2nd week of January so the schedule A with Pool > >> A should be used, I would have thought. However, this morning at 9:05 I > >> get a message asking for a volume of drive B to be labelled. From Monday > >> to Thursday the A schedule was used correctly but now suddenly on > >> Friday, it wants to switch to the B schedule. > >> Maybe I have something wrong in the dir.conf? The schedule section is > >> below and any help would be appreciated. > > > > I think the problem is that today is the 3rd Friday, so B cycle match. > > The > > fact that it is the 2nd week starting on a Thursday is irrelevant for a > > day-of-week schedule. > > > > __Martin > > > > -- > > Throughout its 18-year history, RSA Conference consistently attracts the > > world's best and brightest in the field, creating opportunities for > > Conference > > attendees to learn about information security's most important issues > > through > > interactions with peers, luminaries and emerging and established > > companies. > > http://p.sf.net/sfu/rsaconf-dev2dev > > ___ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > > > > > -- > View this message in context: > http://old.nabble.com/Schedule-not-being-followed-tp27173686p27206430.html > Sent from the Bacula - Users mailing list archive at Nabble.com. > > > -- > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Schedule not being followed
Some more information on this which may help. I did a show schedules and got this: Schedule: name=WeeklyCycle --> Run Level=Incremental hour=19 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 2 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 --> Pool: name=Incr-Pool-B PoolType=Backup use_cat=1 use_once=0 cat_files=1 max_vols=1 auto_prune=1 VolRetention=6 days VolUse=0 secs recycle=1 LabelFormat=hddb-incr- CleaningPrefix=*None* LabelType=0 RecyleOldest=0 PurgeOldest=0 MaxVolJobs=25 MaxVolFiles=0 MaxVolBytes=0 MigTime=0 secs MigHiBytes=0 MigLoBytes=0 --> Storage: name=HDDB address=mistral.cirrus.co.za SDport=9103 MaxJobs=1 DeviceName=usb-drive-b MediaType=Fileb StorageId=3 The schedule resource if the bacula-dir.conf is this: Schedule { Name = "WeeklyCycle" Run = IncrementalPool = Incr-Pool-B 1st, 3rd, 5th mon-fri at 19:05 Run = FullPool = Full-Pool-B 1st, 3rd, 5th sat at 02:05 Run = IncrementalPool = Incr-Pool-A 2nd, 4th mon-fri at 19:05 Run = FullPool = Full-Pool-A 2nd, 4th Sat at 02:05 } The schedule has the poolb jobs running on 1st,3rd,5th week of the month, yet the "show schedules" shows it for wom 0,2,4. Where else could this be set? TIA Glyn -- View this message in context: http://old.nabble.com/Schedule-not-being-followed-tp27173686p27238428.html Sent from the Bacula - Users mailing list archive at Nabble.com. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Schedule not being followed
This still persists after I changed the schedule as per Anrno's instructions. Bacula still thinks it is week 2 (or 4) and insists that it wants disk A. When does the new week start according to Bacula, is it the same day as the 1st of the month or Sunday? Is there anyway to check what it "thinks"? At the moment I can't get a consistent back up schedule running which is a bit worrying? For completeness I have pasted the dir conf here. Maybe there is something else I have wrong. TIA cheers Glyn # # Default Bacula Director Configuration file # # The only thing that MUST be changed is to add one or more # file or directory names in the Include directive of the # FileSet resource. # # For Bacula release 2.2.8 (26 January 2008) -- debian lenny/sid # # You might also want to change the default email address # from root to your address. See the "mail" and "operator" # directives in the Messages resource. # Director {# define myself Name = mistral-dir DIRport = 9101# where we listen for UA connections QueryFile = "/var/lib/bacula/bin/query.sql" WorkingDirectory = "/var/lib/bacula/bin/working" PidDirectory = "/var/lib/bacula/bin/working" Maximum Concurrent Jobs = 1 Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3L" # Console password Messages = Daemon DirAddress = mistral.cirrus.co.za } JobDefs { Name = "GlynJob" Type = Backup # Level = incremental Client = glyn-laptop-fd FileSet = "Glyn Set" Messages = Standard Priority = 10 Reschedule on error = yes Reschedule interval = 1 hour Reschedule times = 5 } JobDefs { Name = "ColynJob" Type = Backup # Level = Incremental Client = Colyn-Acer-W7-fd FileSet = "Colyn Set" Messages = Standard Priority = 10 Reschedule on error = yes Reschedule interval = 1 hour Reschedule times = 5 } JobDefs { Name = "CumulusJob" Type = Backup # Level = Incremental Client = mistral-fd FileSet = "Cumulus Set" Messages = Standard Priority = 10 } JobDefs { Name = "SugarJob" Type = Backup # Level = Incremental Client = mistral-fd FileSet = "Sugar Set" Messages = Standard Priority = 10 } JobDefs { Name = "TyphoonJob" Type = Backup # Level = Incremental Client = typhoon-fd FileSet = "Typhoon Set" Messages = Standard Priority = 10 } # # Define the main nightly save backup job # By default, this job will back up to disk in Job { Name = "SugarA" JobDefs = "SugarJob" Schedule = "WeeklyCycle" Pool = Default Full Backup Pool = Full-Pool-A Incremental Backup Pool = Incr-Pool-A Write Bootstrap = "/var/lib/bacula/bin/Sugar.bsr" } Job { Name = "CumulusA" JobDefs = "CumulusJob" Schedule = "WeeklyCycle" Pool = Default Full Backup Pool = Full-Pool-A Incremental Backup Pool = Incr-Pool-A Write Bootstrap = "/var/lib/bacula/bin/Cumulus.bsr" } Job { Name = "GlynA" JobDefs = "GlynJob" Schedule = "DayTime" Pool = Default Full Backup Pool = Full-Pool-A Incremental Backup Pool = Incr-Pool-A Write Bootstrap = "/var/lib/bacula/bin/Glyn.bsr" } Job { Name = "ColynA" JobDefs = "ColynJob" Schedule = "DayTime" Pool = Default Full Backup Pool = Full-Pool-A Incremental Backup Pool = Incr-Pool-A Write Bootstrap = "/var/lib/bacula/bin/Colyn.bsr" } Job { Name = "TyphoonA" JobDefs = "TyphoonJob" Schedule = "WeeklyCycle" Pool = Default Full Backup Pool = Full-Pool-A Incremental Backup Pool = Incr-Pool-A Write Bootstrap = "/var/lib/bacula/bin/Typhoon.bsr" } Job { Name = "SugarB" JobDefs = "SugarJob" Schedule = "WeeklyCycle" Pool = Default Full Backup Pool = Full-Pool-B Incremental Backup Pool = Incr-Pool-B Write Bootstrap = "/var/lib/bacula/bin/Sugar.bsr" } Job { Name = "CumulusB" JobDefs = "CumulusJob" Schedule = "WeeklyCycle" Pool = Default Full Backup Pool = Full-Pool-B Incremental Backup Pool = Incr-Pool-B Write Bootstrap = "/var/lib/bacula/bin/Cumulus.bsr" } Job { Name = "GlynB" JobDefs = "GlynJob" Schedule = "DayTime" Pool = Default Full Backup Pool = Full-Pool-B Incremental Backup Pool = Incr-Pool-B Write Bootstrap = "/var/lib/bacula/bin/Glyn.bsr" } Job { Name = "ColynB" JobDefs = "ColynJob" Schedule = "DayTime" Pool = Default Full Backup Pool = Full-Pool-B Incremental Backup Pool = Incr-Pool-B Write Bootstrap = "/var/lib/bacula/bin/Colyn.bsr" } Job { Name = "TyphoonB" JobDefs = "TyphoonJob" Schedule = "WeeklyCycle" Pool = Default Full Backup Pool = Full-Pool-B Incremental Backup Pool = Incr-Pool-B Write Bootstrap = "/var/lib/bacula/bin/Typhoon.bsr" } # Backup the catalog database (after the nightly save) Job { Name = "BackupCatalogA" JobDefs = "SugarJob" Level = Full FileSet="Catalog" Schedule = "WeeklyCycleAfterBackup" Pool = Full-Pool-A RunBeforeJob = "/var/lib/bacula/bin/make_catalog_backup bacula bacula" RunAfterJob = "/var/lib/bacula/bin/delete_catalog_backup" Write Bootstrap = "/var/li
Re: [Bacula-users] Schedule not being followed
Hello, 18.01.2010 07:05, Glynd wrote: > Hi Arno, Many thanks for this, it makes sense. > > One question though. There are 2 laptops that need backing up and they are > not always connected to the network at the same time. How do people normally > configure Bacula to back-up laptops like this? For clients that I expect to not always be available, I use a run script that pings them, and fails the job if the ping results in an error. (For windows Vista and up, you need to allow ICMP in the firewall settings...). Combined with retries on failure, that gives good results for people showing up at work late :-) Arno > TIA > Cheers > Glyn > > > Arno Lehmann wrote: >> Hello, >> >> 15.01.2010 08:25, Glyn wrote: >>> Using 3.0.2 on Ubuntu 8.04 server with MySQL. >>> >>> It is now Friday of the 2nd week of January so the schedule A with Pool >>> A should be used, I would have thought. However, this morning at 9:05 I >>> get a message asking for a volume of drive B to be labelled. From Monday >>> to Thursday the A schedule was used correctly but now suddenly on >>> Friday, it wants to switch to the B schedule. >>> Maybe I have something wrong in the dir.conf? The schedule section is >>> below and any help would be appreciated. >> Given the number of schedules you have, you also have different backup >> jobs set up. >> >> A backup job can only be based upon previous backups of the same job. >> >> To achieve what you want, only use one job, and a schedule like >> >> Schedule { >> Name = "WeeklyCycleAB" >> Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th mon-fri at 19:05 >> Run = Full Pool = Full-Pool-B 1st, 3rd, 5th sat at 02:05 >> Run = Incremental Pool = Incr-Pool-A 2nd, 4th mon-fri at 19:05 >> Run = Full Pool = Full-Pool-A 2nd, 4th Sat at 02:05 >> } >> >> That should help :-) >> >> Arno >> >>> # When to do the backups >>> Schedule { >>>Name = "WeeklyCycleB" >>>Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th mon-fri at 19:05 >>>Run = Full Pool = Full-Pool-B 1st, 3rd, 5th sat at 02:05 >>> } >>> >>> Schedule { >>>Name = "DayTimeB" >>>Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th tue-fri at 09:05 >>>Run = Full Pool = Full-Pool-B 1st, 3rd, 5th mon at 09:05 >>> } >>> >>> Schedule { >>>Name = "WeeklyCycleA" >>>Run = Incremental Pool = Incr-Pool-A 2nd, 4th mon-fri at 19:05 >>>Run = Full Pool = Full-Pool-A 2nd, 4th Sat at 02:05 >>> } >>> >>> Schedule { >>>Name = "DayTimeA" >>>Run = Incremental Pool = Incr-Pool-A 2nd, 4th tue-fri at 09:05 >>>Run = Full Pool = Full-Pool-A 2nd, 4th mon at 09:05 >>> } >>> >>> # This schedule does the catalog. It starts after the WeeklyCycle >>> Schedule { >>>Name = "WeeklyCycleAfterBackupB" >>>Run = Full 1st, 3rd, 5th mon-fri at 19:10 >>> } >>> >>> Schedule { >>>Name = "WeeklyCycleAfterBackupA" >>>Run = Full 2nd, 4th mon-fri at 19:10 >>> } >>> >>> >>> Schedule { >>>Name = "DayTimeAfterBackupB" >>>Run = Full 1st, 3rd, 5th mon-fri at 09:10 >>> } >>> >>> Schedule { >>>Name = "DayTimeAfterBackupA" >>>Run = Full 2nd, 4th mon-fri at 09:10 >>> } >>> >> -- >> Arno Lehmann >> IT-Service Lehmann >> Sandstr. 6, 49080 Osnabrück >> www.its-lehmann.de >> >> -- >> Throughout its 18-year history, RSA Conference consistently attracts the >> world's best and brightest in the field, creating opportunities for >> Conference >> attendees to learn about information security's most important issues >> through >> interactions with peers, luminaries and emerging and established >> companies. >> http://p.sf.net/sfu/rsaconf-dev2dev >> ___ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users >> >> > -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Schedule not being followed
Hi Arno, Many thanks for this, it makes sense. One question though. There are 2 laptops that need backing up and they are not always connected to the network at the same time. How do people normally configure Bacula to back-up laptops like this? TIA Cheers Glyn Arno Lehmann wrote: > > Hello, > > 15.01.2010 08:25, Glyn wrote: >> Using 3.0.2 on Ubuntu 8.04 server with MySQL. >> >> It is now Friday of the 2nd week of January so the schedule A with Pool >> A should be used, I would have thought. However, this morning at 9:05 I >> get a message asking for a volume of drive B to be labelled. From Monday >> to Thursday the A schedule was used correctly but now suddenly on >> Friday, it wants to switch to the B schedule. >> Maybe I have something wrong in the dir.conf? The schedule section is >> below and any help would be appreciated. > > Given the number of schedules you have, you also have different backup > jobs set up. > > A backup job can only be based upon previous backups of the same job. > > To achieve what you want, only use one job, and a schedule like > > Schedule { > Name = "WeeklyCycleAB" > Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th mon-fri at 19:05 > Run = Full Pool = Full-Pool-B 1st, 3rd, 5th sat at 02:05 > Run = Incremental Pool = Incr-Pool-A 2nd, 4th mon-fri at 19:05 > Run = Full Pool = Full-Pool-A 2nd, 4th Sat at 02:05 > } > > That should help :-) > > Arno > >> # When to do the backups >> Schedule { >>Name = "WeeklyCycleB" >>Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th mon-fri at 19:05 >>Run = Full Pool = Full-Pool-B 1st, 3rd, 5th sat at 02:05 >> } >> >> Schedule { >>Name = "DayTimeB" >>Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th tue-fri at 09:05 >>Run = Full Pool = Full-Pool-B 1st, 3rd, 5th mon at 09:05 >> } >> >> Schedule { >>Name = "WeeklyCycleA" >>Run = Incremental Pool = Incr-Pool-A 2nd, 4th mon-fri at 19:05 >>Run = Full Pool = Full-Pool-A 2nd, 4th Sat at 02:05 >> } >> >> Schedule { >>Name = "DayTimeA" >>Run = Incremental Pool = Incr-Pool-A 2nd, 4th tue-fri at 09:05 >>Run = Full Pool = Full-Pool-A 2nd, 4th mon at 09:05 >> } >> >> # This schedule does the catalog. It starts after the WeeklyCycle >> Schedule { >>Name = "WeeklyCycleAfterBackupB" >>Run = Full 1st, 3rd, 5th mon-fri at 19:10 >> } >> >> Schedule { >>Name = "WeeklyCycleAfterBackupA" >>Run = Full 2nd, 4th mon-fri at 19:10 >> } >> >> >> Schedule { >>Name = "DayTimeAfterBackupB" >>Run = Full 1st, 3rd, 5th mon-fri at 09:10 >> } >> >> Schedule { >>Name = "DayTimeAfterBackupA" >>Run = Full 2nd, 4th mon-fri at 09:10 >> } >> > > -- > Arno Lehmann > IT-Service Lehmann > Sandstr. 6, 49080 Osnabrück > www.its-lehmann.de > > -- > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established > companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- View this message in context: http://old.nabble.com/Schedule-not-being-followed-tp27173686p27206451.html Sent from the Bacula - Users mailing list archive at Nabble.com. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Schedule not being followed
Hi Martin, If this is true then Bacula will dictate when the (in my case) the weekly disk has to be swapped out. I would much prefer to do this on a Monday morning, but if in 2010, Bacula wants to change on a Friday it will be Saturday next year? Can I define the schedule differently so I can swap the disks on a Monday? TIA Cheers Glyn Martin Simmons wrote: > >> On Fri, 15 Jan 2010 09:25:29 +0200, Glyn said: >> >> Using 3.0.2 on Ubuntu 8.04 server with MySQL. >> >> It is now Friday of the 2nd week of January so the schedule A with Pool >> A should be used, I would have thought. However, this morning at 9:05 I >> get a message asking for a volume of drive B to be labelled. From Monday >> to Thursday the A schedule was used correctly but now suddenly on >> Friday, it wants to switch to the B schedule. >> Maybe I have something wrong in the dir.conf? The schedule section is >> below and any help would be appreciated. > > I think the problem is that today is the 3rd Friday, so B cycle match. > The > fact that it is the 2nd week starting on a Thursday is irrelevant for a > day-of-week schedule. > > __Martin > > -- > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established > companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- View this message in context: http://old.nabble.com/Schedule-not-being-followed-tp27173686p27206430.html Sent from the Bacula - Users mailing list archive at Nabble.com. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Schedule not being followed
> On Fri, 15 Jan 2010 09:25:29 +0200, Glyn said: > > Using 3.0.2 on Ubuntu 8.04 server with MySQL. > > It is now Friday of the 2nd week of January so the schedule A with Pool > A should be used, I would have thought. However, this morning at 9:05 I > get a message asking for a volume of drive B to be labelled. From Monday > to Thursday the A schedule was used correctly but now suddenly on > Friday, it wants to switch to the B schedule. > Maybe I have something wrong in the dir.conf? The schedule section is > below and any help would be appreciated. I think the problem is that today is the 3rd Friday, so B cycle match. The fact that it is the 2nd week starting on a Thursday is irrelevant for a day-of-week schedule. __Martin -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Schedule not being followed
Arno Lehmann wrote: > Hello, > > 15.01.2010 08:25, Glyn wrote: >> Using 3.0.2 on Ubuntu 8.04 server with MySQL. >> >> It is now Friday of the 2nd week of January so the schedule A with Pool >> A should be used, I would have thought. However, this morning at 9:05 I >> get a message asking for a volume of drive B to be labelled. From Monday >> to Thursday the A schedule was used correctly but now suddenly on >> Friday, it wants to switch to the B schedule. >> Maybe I have something wrong in the dir.conf? The schedule section is >> below and any help would be appreciated. > > Given the number of schedules you have, you also have different backup > jobs set up. > > A backup job can only be based upon previous backups of the same job. > > To achieve what you want, only use one job, and a schedule like > > Schedule { > Name = "WeeklyCycleAB" > Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th mon-fri at 19:05 > Run = Full Pool = Full-Pool-B 1st, 3rd, 5th sat at 02:05 > Run = Incremental Pool = Incr-Pool-A 2nd, 4th mon-fri at 19:05 > Run = Full Pool = Full-Pool-A 2nd, 4th Sat at 02:05 > } > > That should help :-) Well done Arno. I looked at this early today, but couldn't figure it out. :) -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Schedule not being followed
Hello, 15.01.2010 08:25, Glyn wrote: > Using 3.0.2 on Ubuntu 8.04 server with MySQL. > > It is now Friday of the 2nd week of January so the schedule A with Pool > A should be used, I would have thought. However, this morning at 9:05 I > get a message asking for a volume of drive B to be labelled. From Monday > to Thursday the A schedule was used correctly but now suddenly on > Friday, it wants to switch to the B schedule. > Maybe I have something wrong in the dir.conf? The schedule section is > below and any help would be appreciated. Given the number of schedules you have, you also have different backup jobs set up. A backup job can only be based upon previous backups of the same job. To achieve what you want, only use one job, and a schedule like Schedule { Name = "WeeklyCycleAB" Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th mon-fri at 19:05 Run = Full Pool = Full-Pool-B 1st, 3rd, 5th sat at 02:05 Run = Incremental Pool = Incr-Pool-A 2nd, 4th mon-fri at 19:05 Run = Full Pool = Full-Pool-A 2nd, 4th Sat at 02:05 } That should help :-) Arno > # When to do the backups > Schedule { >Name = "WeeklyCycleB" >Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th mon-fri at 19:05 >Run = Full Pool = Full-Pool-B 1st, 3rd, 5th sat at 02:05 > } > > Schedule { >Name = "DayTimeB" >Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th tue-fri at 09:05 >Run = Full Pool = Full-Pool-B 1st, 3rd, 5th mon at 09:05 > } > > Schedule { >Name = "WeeklyCycleA" >Run = Incremental Pool = Incr-Pool-A 2nd, 4th mon-fri at 19:05 >Run = Full Pool = Full-Pool-A 2nd, 4th Sat at 02:05 > } > > Schedule { >Name = "DayTimeA" >Run = Incremental Pool = Incr-Pool-A 2nd, 4th tue-fri at 09:05 >Run = Full Pool = Full-Pool-A 2nd, 4th mon at 09:05 > } > > # This schedule does the catalog. It starts after the WeeklyCycle > Schedule { >Name = "WeeklyCycleAfterBackupB" >Run = Full 1st, 3rd, 5th mon-fri at 19:10 > } > > Schedule { >Name = "WeeklyCycleAfterBackupA" >Run = Full 2nd, 4th mon-fri at 19:10 > } > > > Schedule { >Name = "DayTimeAfterBackupB" >Run = Full 1st, 3rd, 5th mon-fri at 09:10 > } > > Schedule { >Name = "DayTimeAfterBackupA" >Run = Full 2nd, 4th mon-fri at 09:10 > } > -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Schedule not being followed
Using 3.0.2 on Ubuntu 8.04 server with MySQL. It is now Friday of the 2nd week of January so the schedule A with Pool A should be used, I would have thought. However, this morning at 9:05 I get a message asking for a volume of drive B to be labelled. From Monday to Thursday the A schedule was used correctly but now suddenly on Friday, it wants to switch to the B schedule. Maybe I have something wrong in the dir.conf? The schedule section is below and any help would be appreciated. # When to do the backups Schedule { Name = "WeeklyCycleB" Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th mon-fri at 19:05 Run = Full Pool = Full-Pool-B 1st, 3rd, 5th sat at 02:05 } Schedule { Name = "DayTimeB" Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th tue-fri at 09:05 Run = Full Pool = Full-Pool-B 1st, 3rd, 5th mon at 09:05 } Schedule { Name = "WeeklyCycleA" Run = Incremental Pool = Incr-Pool-A 2nd, 4th mon-fri at 19:05 Run = Full Pool = Full-Pool-A 2nd, 4th Sat at 02:05 } Schedule { Name = "DayTimeA" Run = Incremental Pool = Incr-Pool-A 2nd, 4th tue-fri at 09:05 Run = Full Pool = Full-Pool-A 2nd, 4th mon at 09:05 } # This schedule does the catalog. It starts after the WeeklyCycle Schedule { Name = "WeeklyCycleAfterBackupB" Run = Full 1st, 3rd, 5th mon-fri at 19:10 } Schedule { Name = "WeeklyCycleAfterBackupA" Run = Full 2nd, 4th mon-fri at 19:10 } Schedule { Name = "DayTimeAfterBackupB" Run = Full 1st, 3rd, 5th mon-fri at 09:10 } Schedule { Name = "DayTimeAfterBackupA" Run = Full 2nd, 4th mon-fri at 09:10 } -- Kind regards Glyn -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users