Bacula-users

[Bacula-users] scheduling weirdness (No prior Full backup Job record found)

2008-08-07 12:21:32
Subject: [Bacula-users] scheduling weirdness (No prior Full backup Job record found)
From: Michael Hale <mhale AT transcomus DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 7 Aug 2008 11:20:42 -0500
Hello everybody,

For some reason, even after performing a full backup, the next night,  
bacula reports:

05-Aug 23:05 bacula-dir JobId 37: No prior Full backup Job record found.
05-Aug 23:05 bacula-dir JobId 37: No prior or suitable Full backup  
found in catalog. Doing FULL backup.

and then performs a full backup.  If I connect via bconsole and  
manually schedule a backup, it will do an incremental.

Here's my various Defs:

JobDefs {
   Name = "DefaultJob"
   Type = Backup
   Level = Incremental
   Client = bacula-fd
   FileSet = "Full Set"
   Schedule = "WeeklyCycle"
   Storage = File
   Messages = Standard
   Pool = Default
   Priority = 10
}

Job {
         Name = "monitor-backup"
         Client = monitor-fd
         JobDefs = "DefaultJob"
         Write Bootstrap = "/opt/csw/var/bacula/working/monitor.bsr"
         Enabled = yes
         FileSet = "generic linux fileset"
}

Schedule {
   Name = "WeeklyCycle"
   Run = Full 1st sun at 23:05
   Run = Differential 2nd-5th sun at 23:05
   Run = Incremental mon-sat at 23:05
}

This would seem to me to take a full backup on the 1st Sunday,  
Differentials for the remaining Sundays in the month, and Incrementals  
the rest of the time, but that doesn't seem to be happening.

For instance, here's the backup that ran yesterday:

05-Aug 23:05 bacula-dir JobId 37: No prior Full backup Job record found.
05-Aug 23:05 bacula-dir JobId 37: No prior or suitable Full backup  
found in catalog. Doing FULL backup.
05-Aug 23:05 bacula-dir JobId 37: Start Backup JobId 37, Job=monitor- 
backup.2008-08-05_23.05.37
05-Aug 23:05 bacula-dir JobId 37: Using Device "FileStorage"
05-Aug 23:05 bacula-sd JobId 37: Volume "baculavolume1" previously  
written, moving to end of data.
05-Aug 23:05 bacula-sd JobId 37: Ready to append to end of Volume  
"baculavolume1" size=28330024871
monitor-fd JobId 37:      /misc is a different filesystem. Will not  
descend from / into /misc
monitor-fd JobId 37:      /net is a different filesystem. Will not  
descend from / into /net
monitor-fd JobId 37:      /boot is a different filesystem. Will not  
descend from / into /boot
monitor-fd JobId 37:      /sys is a different filesystem. Will not  
descend from / into /sys
monitor-fd JobId 37:      /var/named/chroot/proc is a different  
filesystem. Will not descend from / into /var/named/chroot/proc
06-Aug 00:16 bacula-sd JobId 37: Job write elapsed time = 01:11:22,  
Transfer rate = 2.982 M bytes/second
06-Aug 00:16 bacula-dir JobId 37: Bacula bacula-dir 2.2.8 (26Jan08):  
06-Aug-2008 00:16:53
  Build OS:               i386-pc-solaris2.8 solaris 5.8
  JobId:                  37
  Job:                    monitor-backup.2008-08-05_23.05.37
  Backup Level:           Full (upgraded from Incremental)
  Client:                 "monitor-fd" 2.4.2 (26Jul08) x86_64-unknown- 
linux-gnu,redhat,Enterprise release
  FileSet:                "generic linux fileset" 2008-08-05 23:05:00
  Pool:                   "Default" (From Job resource)
  Storage:                "File" (From Job resource)
  Scheduled time:         05-Aug-2008 23:05:00
  Start time:             05-Aug-2008 23:05:05
  End time:               06-Aug-2008 00:16:53
  Elapsed time:           1 hour 11 mins 48 secs
  Priority:               10
  FD Files Written:       183,748
  SD Files Written:       183,748
  FD Bytes Written:       12,747,408,141 (12.74 GB)
  SD Bytes Written:       12,772,371,029 (12.77 GB)
  Rate:                   2959.0 KB/s
  Software Compression:   73.4 %
  VSS:                    no
  Storage Encryption:     no
  Volume name(s):         baculavolume1
  Volume Session Id:      25
  Volume Session Time:    1217518423
  Last Volume Bytes:      41,124,063,160 (41.12 GB)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK

And then the same backup this morning:

06-Aug 23:05 bacula-dir JobId 41: No prior Full backup Job record found.
06-Aug 23:05 bacula-dir JobId 41: No prior or suitable Full backup  
found in catalog. Doing FULL backup.
06-Aug 23:05 bacula-dir JobId 41: Start Backup JobId 41, Job=monitor- 
backup.2008-08-06_23.05.43
06-Aug 23:05 bacula-dir JobId 41: Using Device "FileStorage"
06-Aug 23:05 bacula-sd JobId 41: Volume "baculavolume1" previously  
written, moving to end of data.
06-Aug 23:05 bacula-sd JobId 41: Ready to append to end of Volume  
"baculavolume1" size=42288730483
monitor-fd JobId 41:      /misc is a different filesystem. Will not  
descend from / into /misc
monitor-fd JobId 41:      /net is a different filesystem. Will not  
descend from / into /net
monitor-fd JobId 41:      /boot is a different filesystem. Will not  
descend from / into /boot
monitor-fd JobId 41:      /sys is a different filesystem. Will not  
descend from / into /sys
monitor-fd JobId 41:      /var/named/chroot/proc is a different  
filesystem. Will not descend from / into /var/named/chroot/proc
07-Aug 00:15 bacula-sd JobId 41: Job write elapsed time = 01:10:22,  
Transfer rate = 3.027 M bytes/second
07-Aug 00:15 bacula-dir JobId 41: Bacula bacula-dir 2.2.8 (26Jan08):  
07-Aug-2008 00:15:54
  Build OS:               i386-pc-solaris2.8 solaris 5.8
  JobId:                  41
  Job:                    monitor-backup.2008-08-06_23.05.43
  Backup Level:           Full (upgraded from Incremental)
  Client:                 "monitor-fd" 2.4.2 (26Jul08) x86_64-unknown- 
linux-gnu,redhat,Enterprise release
  FileSet:                "generic linux fileset" 2008-08-06 23:05:00
  Pool:                   "Default" (From Job resource)
  Storage:                "File" (From Job resource)
  Scheduled time:         06-Aug-2008 23:05:00
  Start time:             06-Aug-2008 23:05:06
  End time:               07-Aug-2008 00:15:54
  Elapsed time:           1 hour 10 mins 48 secs
  Priority:               10
  FD Files Written:       183,864
  SD Files Written:       183,864
  FD Bytes Written:       12,757,346,426 (12.75 GB)
  SD Bytes Written:       12,782,325,260 (12.78 GB)
  Rate:                   3003.1 KB/s
  Software Compression:   73.4 %
  VSS:                    no
  Storage Encryption:     no
  Volume name(s):         baculavolume1
  Volume Session Id:      29
  Volume Session Time:    1217518423
  Last Volume Bytes:      55,092,738,531 (55.09 GB)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK

07-Aug 00:15 bacula-dir JobId 41: Begin pruning Jobs.
07-Aug 00:15 bacula-dir JobId 41: No Jobs found to prune.
07-Aug 00:15 bacula-dir JobId 41: Begin pruning Files.
07-Aug 00:15 bacula-dir JobId 41: No Files found to prune.
07-Aug 00:15 bacula-dir JobId 41: End auto prune.

--
Michael Hale                                                            <mhale 
AT transcomus DOT com 
 >
Manager of Engineering Support                          Enterprise Engineering 
Group
Transcom Enhanced Services                                      
http://www.transcomus.com






-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users