Bacula-users

Re: [Bacula-users] Bacula configuration problems

2010-03-09 08:36:58
Subject: Re: [Bacula-users] Bacula configuration problems
From: Daznis <daznis AT gmail DOT com>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 9 Mar 2010 15:34:01 +0200
Well i actually was trying to stuff a huge schedule into one job  with a volume rotation.
I can use the old 6 jobs per client, but the config file is getting hard to navigate.

Schedule {
     Name = "60min"
     #Every 1h (Use for 1 day, keep 15days, 3 volume rotation)
     #Monday
     Run = Level=Full Pool=MondayPool Monday at 8:35
     Run = Level=Differential Pool=MondayPool Monday at 9:35
     Run = Level=Differential Pool=MondayPool Monday at 10:35
     Run = Level=Differential Pool=MondayPool Monday at 11:35
     Run = Level=Differential Pool=MondayPool Monday at 12:35
     Run = Level=Differential Pool=MondayPool Monday at 13:35
     Run = Level=Differential Pool=MondayPool Monday at 14:35
     Run = Level=Differential Pool=MondayPool Monday at 15:35
     Run = Level=Differential Pool=MondayPool Monday at 16:35
     #Tuesday
     Run = Level=Full Pool=TuesdayPool Tuesday at 8:35
     Run = Level=Differential Pool=TuesdayPool Tuesday at 9:35
     Run = Level=Differential Pool=TuesdayPool Tuesday at 10:35
     Run = Level=Differential Pool=TuesdayPool Tuesday at 11:35
     Run = Level=Differential Pool=TuesdayPool Tuesday at 12:35
     Run = Level=Differential Pool=TuesdayPool Tuesday at 13:35
     Run = Level=Differential Pool=TuesdayPool Tuesday at 14:35
     Run = Level=Differential Pool=TuesdayPool Tuesday at 15:35
     Run = Level=Differential Pool=TuesdayPool Tuesday at 16:35
     #Wednesday
     Run = Level=Full Pool=WednesdayPool Wednesday at 8:35
     Run = Level=Differential Pool=WednesdayPool Wednesday at 9:35
     Run = Level=Differential Pool=WednesdayPool Wednesday at 10:35
     Run = Level=Differential Pool=WednesdayPool Wednesday at 11:35
     Run = Level=Differential Pool=WednesdayPool Wednesday at 12:35
     Run = Level=Differential Pool=WednesdayPool Wednesday at 13:35
     Run = Level=Differential Pool=WednesdayPool Wednesday at 14:35
     Run = Level=Differential Pool=WednesdayPool Wednesday at 15:35
     Run = Level=Differential Pool=WednesdayPool Wednesday at 16:35
     #Thursday
     Run = Level=Full Pool=ThursdayPool Thursday at 8:35
     Run = Level=Differential Pool=ThursdayPool Thursday at 9:35
     Run = Level=Differential Pool=ThursdayPool Thursday at 10:35
     Run = Level=Differential Pool=ThursdayPool Thursday at 11:35
     Run = Level=Differential Pool=ThursdayPool Thursday at 12:35
     Run = Level=Differential Pool=ThursdayPool Thursday at 13:35
     Run = Level=Differential Pool=ThursdayPool Thursday at 14:35
     Run = Level=Differential Pool=ThursdayPool Thursday at 15:35
     Run = Level=Differential Pool=ThursdayPool Thursday at 16:35
     #Friday
     Run = Level=Full Pool=FridayPool Friday at 8:35
     Run = Level=Differential Pool=FridayPool Friday at 9:35
     Run = Level=Differential Pool=FridayPool Friday at 10:35
     Run = Level=Differential Pool=FridayPool Friday at 11:35
     Run = Level=Differential Pool=FridayPool Friday at 12:35
     Run = Level=Differential Pool=FridayPool Friday at 13:35
     Run = Level=Differential Pool=FridayPool Friday at 14:35
     Run = Level=Differential Pool=FridayPool Friday at 15:35
     Run = Level=Differential Pool=FridayPool Friday at 16:35
}

On Tue, Mar 9, 2010 at 2:52 PM, Phil Stracchino <alaric AT metrocast DOT net> wrote:
On 03/09/10 07:06, Daznis wrote:
> I'm getting a little stuck with the new configuration for multiclient
> bacula config.
>
>
>
> Schedule {
>      Name = "Full"
>      #Every week (Every Friday, use for 1 moths, 3 volume rotation)
>      Run = Level=Full Pool=FullPool Friday at 13:05
> }
>
> This part of my config gives me this error:
>
> 09-Mar 13:52 bacula-dir: ERROR TERMINATION at ../../dird/run_conf.c:207
> Config error: Expected an equals, got: Friday
>             : line 151, col 41 of file C:\Documents and Settings\All
> Users\Application Data\Bacula/bacula-dir.conf
>          Run = Level=Full Pool=FullPool Friday at 13:05

Try this:

Schedule {
    Name = "Full"
    #Every week (Every Friday, use for 1 moths, 3 volume rotation)
    Run = Full fri at 13:05
}

and specify your Pool for full backups in your JobDefs.


--
 Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
 alaric AT caerllewys DOT net   alaric AT metrocast DOT net   phil AT co.ordinate DOT org
        Renaissance Man, Unix ronin, Perl hacker, Free Stater
                It's not the years, it's the mileage.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users