Re: [Bacula-users] scheduling problem

2009-09-16 Thread Roy Kidder
I stand corrected. I finally got through the full backup, swapping volumes
as soon as I could once they were requested but the following 2 nights
bacula scheduled another full backup (when it should have been
incremental).

If anyone has suggestions, I'd appreciate hearing them.

Thanks in advance,
Roy



Roy Kidder wrote:
 Hello all, I'm hoping someone can help me. I'm having an issue with a
 backup schedule on a new install of bacula. I have a scheduled defined as:

 Schedule {
   Name = Monthly
   Run = Full 1st fri at 23:05
   Run = Incremental 2nd-5th fri at 23:05
   Run = Incremental sat-thu at 23:05
 }

 and a host which uses that schedule:

 JobDefs {
   Name = nutbuster-job
   Type = Backup
   Level = Incremental
   Client = nutbuster-fd
   FileSet = nutbuster-set
   Schedule = Monthly
   Storage = DLT-7000
   Messages = Standard
   Pool = Default
   Priority = 10
 }

 The DLT-7000 is a single drive, not a jukebox and the file set is large so
 a full backup spans several volumes. As such, when the full backup starts
 on the 1st Friday of the month, Saturday is spent swapping volumes and the
 backup is still running into Sunday. So, another backup is scheduled by
 the scheduler on Saturday as a Full not an Incremental. At least this is
 the behavior I've seen, and I'm assuming it's because of the tape swapping
 delay. Can anyone confirm that I'm correct or otherwise point me in the
 right direction?

 Thanks in advance,
 Roy







 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register
 now#33;
 http://p.sf.net/sfu/devconf
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users





--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] scheduling problem

2009-09-15 Thread Roy Kidder
Hello all, I'm hoping someone can help me. I'm having an issue with a
backup schedule on a new install of bacula. I have a scheduled defined as:

Schedule {
  Name = Monthly
  Run = Full 1st fri at 23:05
  Run = Incremental 2nd-5th fri at 23:05
  Run = Incremental sat-thu at 23:05
}

and a host which uses that schedule:

JobDefs {
  Name = nutbuster-job
  Type = Backup
  Level = Incremental
  Client = nutbuster-fd
  FileSet = nutbuster-set
  Schedule = Monthly
  Storage = DLT-7000
  Messages = Standard
  Pool = Default
  Priority = 10
}

The DLT-7000 is a single drive, not a jukebox and the file set is large so
a full backup spans several volumes. As such, when the full backup starts
on the 1st Friday of the month, Saturday is spent swapping volumes and the
backup is still running into Sunday. So, another backup is scheduled by
the scheduler on Saturday as a Full not an Incremental. At least this is
the behavior I've seen, and I'm assuming it's because of the tape swapping
delay. Can anyone confirm that I'm correct or otherwise point me in the
right direction?

Thanks in advance,
Roy







--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] scheduling problem

2009-09-15 Thread John Drescher
On Tue, Sep 15, 2009 at 9:39 AM, Roy Kidder bac...@jehster.net wrote:
 Hello all, I'm hoping someone can help me. I'm having an issue with a
 backup schedule on a new install of bacula. I have a scheduled defined as:

 Schedule {
  Name = Monthly
  Run = Full 1st fri at 23:05
  Run = Incremental 2nd-5th fri at 23:05
  Run = Incremental sat-thu at 23:05
 }

 and a host which uses that schedule:

 JobDefs {
  Name = nutbuster-job
  Type = Backup
  Level = Incremental
  Client = nutbuster-fd
  FileSet = nutbuster-set
  Schedule = Monthly
  Storage = DLT-7000
  Messages = Standard
  Pool = Default
  Priority = 10
 }

 The DLT-7000 is a single drive, not a jukebox and the file set is large so
 a full backup spans several volumes. As such, when the full backup starts
 on the 1st Friday of the month, Saturday is spent swapping volumes and the
 backup is still running into Sunday. So, another backup is scheduled by
 the scheduler on Saturday as a Full not an Incremental. At least this is
 the behavior I've seen, and I'm assuming it's because of the tape swapping
 delay. Can anyone confirm that I'm correct or otherwise point me in the
 right direction?


This is the known behavior. 3.0.X versions of bacula have
configuration options that allow you to not schedule a second backup
if the first has not finished by the time the second was scheduled to
start.

John

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Scheduling problem - schedules loaded but jobs won't queue (though they will run if fired manually)

2005-12-05 Thread Jason Tan

Hi All,

I a have a problem with  scheduling - specifically jobs I think should
be getting queued are not.

The story is this I have two exernal USB disks, which are mounted on
different mount points, and I want to fire off jobs so that for one week
we do a full backup and a set of diffs to one disk and on another week
we do a full backup and a set of diffs to the other disk.
The idea is that we will eventaully keep some offsite.

I can see the schedules in bconsole if I do a show schedules, but the
jobs don't get queued.

If I do a manual run of a job, the work, so I am fairly confident that
pretty much every thign about the jobs is correct - except the scheduling.

Below are a date and a cal ouput from my baculsa director host for
reference and below that the two schdules from bacula-dir.conf as well
as an the default jobs defs and an example job.

Below those is a bcsonsole status dir showing none of the jobs queued
and a show schedules.
Please not the bottom five chedules were orignally the top fvie
schedules but these work so are not very interesting in the context of
the problem, so I've moved them to the bottom

Bacula version is 1.34.5.

I'd really appreciate it if any one could make any suggestions as to
what is going on (or more correctly not going on) and any suggestiosn
for further diagnosis or fix.

Regards and Thanks
Jason

[EMAIL PROTECTED] bacula]# date
Tue Dec  6 10:51:40 CST 2005
[EMAIL PROTECTED] bacula]# cal
December 2005
Su Mo Tu We Th Fr Sa
 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



Schedule {
  Name = QuickDiskWeeklySched1

Run = Storage = QuickDiskStorage1 Level = Full Pool = QuickDiskPool1
FullPool = QuickDiskPool1  DifferentialPool = QuickDiskPool1 1st Sat at
00:05
Run = Storage = QuickDiskStorage1 Level = differential  Pool =
QuickDiskPool1  FullPool = QuickDiskPool1  DifferentialPool =
QuickDiskPool1 1st sun-fri at 00:05

Run = Storage = QuickDiskStorage1 Level = Full  Pool = QuickDiskPool1
FullPool = QuickDiskPool1  DifferentialPool = QuickDiskPool1 3rd Sat at
00:05
Run = Storage = QuickDiskStorage1 Level =  differential  Pool =
QuickDiskPool1 FullPool = QuickDiskPool1  DifferentialPool =
QuickDiskPool1 3rd sun-fri at 00:05

Run = Storage = QuickDiskStorage1 Level = Full Pool = QuickDiskPool1
FullPool = QuickDiskPool1  DifferentialPool = QuickDiskPool1 5th Sat at
00:05
Run = Storage = QuickDiskStorage1 Level =  differential  Pool =
QuickDiskPool1  FullPool = QuickDiskPool1  DifferentialPool =
QuickDiskPool1 5th sun-fri at 00:05
}

# This schedule fires off jobs on the 2nd and 4th weeks of the month
Schedule {
  Name = QuickDiskWeeklySched2

Run = Storage = QuickDiskStorage2 Level = Full Pool = QuickDiskPool2
FullPool = QuickDiskPool2  DifferentialPool = QuickDiskPool2  2nd Sat at
00:05
Run = Storage = QuickDiskStorage2 Level = differential  Pool =
QuickDiskPool2  FullPool = QuickDiskPool2  DifferentialPool =
QuickDiskPool2  2nd sun-fri at 00:05

Run = Storage = QuickDiskStorage2 Level = Full  Pool = QuickDiskPool2
FullPool = QuickDiskPool2  DifferentialPool = QuickDiskPool2  4th Sat at
00:05
Run = Storage = QuickDiskStorage2 Level = differential  Pool =
QuickDiskPool2  FullPool = QuickDiskPool2  DifferentialPool =
QuickDiskPool2  4th sun-fri at 00:05
}



# one set of job defaults that includes both the schedules
# these same jobs will fir off the odd and even numbered weeks schedules
# these schedules in turn vary the pool and sotrage from odd to even weeks
JobDefs {
  Name = QuickDiskDefaults
  Schedule = QuickDiskWeeklySched1
  Schedule = QuickDiskWeeklySched2
  Pool = QuickDiskPool1  # overidden in shedule
  Storage = QuickDiskStorage1   # overidden in schedule
  Level= Differential   #never used, overridden in schedule
  Client Run Before Job = /usr/local/bin/su/before_backup
  Client Run After Job = /usr/local/bin/su/after_backup
  Messages = Standard
  Type = Backup
  Priority = 10
  #if the job has been delayed for 23hrs, cancel it
  Max Start Delay = 82800
  #stop shoeshining, spool data across network to disk first
  Spool Data = yes
}



#** Real jobs to disk storage on quick **
Job {
  Name = radio-disk
  JobDefs = QuickDiskDefaults
  Client = radio-fd
  FileSet = radio-disk
  Write Bootstrap = /var/lib/bacula/radio-disk.bsr
}




*status dir
Using default Catalog name=MySQL DB=bacula
radio-dir Version: 1.34.5 (21 June 2004) i586-mandrake-linux-gnu
mandrake (Community)
Daemon started 06-Dec-05 10:38, 1 Job run since started.

Scheduled Jobs:
Level  Type Scheduled  Name   Volume
===
Differential   Backup   07-Dec-05 02:05radio  *unknown*
Differential   Backup   07-Dec-05 00:05BackupCatalog  *unknown*
Differential   Backup   07-Dec-05 00:05retro  *unknown*
Differential   Backup   07-Dec-05 00:05under