I'm running bacula 1.36.3-1b on Debian, and just noticed that my
backup job appears to select the wrong volume.  In fact, first it
deleted the volume, and then it wrote to it.  The volumes are all
files on disk.

Is this a bug, or am I misunderstanding something?

27-Aug 01:06 wheat-dir: Max configured use duration exceeded. Marking Volume 
"Diff2005-07-09_0045" as Used.
27-Aug 01:06 wheat-dir: Pruned 1 Job on Volume "Diff2005-07-16_0047" from 
catalog.
27-Aug 01:06 wheat-dir: Recycled volume "Diff2005-07-16_0047"
27-Aug 01:06 wheat-sd: Recycled volume "Diff2005-07-16_0047" on device 
"/var/spool/bacula", all previous data lost.

27-Aug 01:07 wheat-dir: Bacula 1.36.3 (22Apr05): 27-Aug-2005 01:07:12
  JobId:                  114
  Job:                    LinSysRoot.2005-08-27_01.05.00
  Backup Level:           Differential, since=2005-08-06 01:05:02
  Client:                 wheat-fd
  FileSet:                "LinSysRoot Set" 2005-06-21 15:42:55
  Pool:                   "Differential"
  Storage:                "File"
  Start time:             27-Aug-2005 01:05:02
  End time:               27-Aug-2005 01:07:12
  FD Files Written:       934
  SD Files Written:       934
  FD Bytes Written:       492,200
  SD Bytes Written:       623,489
  Rate:                   3.8 KB/s
  Software Compression:   69.7 %
  Volume name(s):         Diff2005-07-16_0047
  Volume Session Id:      39
  Volume Session Time:    1121822249
  Last Volume Bytes:      638,178
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK

27-Aug 01:07 wheat-dir: Begin pruning Jobs.
27-Aug 01:07 wheat-dir: No Jobs found to prune.
27-Aug 01:07 wheat-dir: Begin pruning Files.
27-Aug 01:07 wheat-dir: No Files found to prune.
27-Aug 01:07 wheat-dir: End auto prune.

Diff2005-07-16_0047 is present on disk and was written to at the time
of the backup.  I also have run before and after jobs, which I've
omitted.  The disk also shows a number of later Diff volumes (later by
the date and sequence number in the name).

Excerpts from the configuration file:
JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  Client = wheat-fd 
  FileSet = "Full Set"
#  Schedule = "WeeklyCycle"
  Storage = File
  Messages = Standard
  Pool = Default
  Priority = 10
}

Job {
  Name = "LinSysRoot"  # Linux System Files--Root files
  JobDefs = "DefaultJob"
  FileSet = "LinSysRoot Set"

  # puts key info under /root
  # also opens the snapshot
  Client Run Before Job = "/root/prepareSystemBackup"

  Client Run After Job = "/usr/local/src/scripts/snapshot.py close / 
/dev/evms/hda9"
  Write Bootstrap = /var/spool/bacula/LinSysRoot.bsr
  Schedule = MonthlyCycle
}
Schedule {
  Name = MonthlyCycle
  Run = Level=Full Pool=Full 1st Sat at 1:05
  Run = Level=Differential FullPool=Full Pool=Differential 2nd-5th Sat at 1:05
  Run = Level=Incremental FullPool=Full Pool=Incremental Sun-Fri at 1:05
}
Pool {
  Name = Differential
  Pool Type = Backup
  Maximum Volume Bytes = 650m;
  Volume Use Duration = 6 days;
  Volume Retention = 40 days;
  Label Format = 
"Diff${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${blankv:-${seqno+}:p/4/0/r}"
}


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to