Bacula-users

[Bacula-users] Strange DVD backup problem

2008-11-08 11:26:16
Subject: [Bacula-users] Strange DVD backup problem
From: "Jari Fredriksson" <jarif AT iki DOT fi>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Sat, 8 Nov 2008 18:21:26 +0200
 
It seems that if the job is large enough to be split into "parts", only the 
last part updates database catalog.

08-Nov 13:17 wellington-sd JobId 8968: Volume "DVDRW-003" previously written, 
moving to end of data.
08-Nov 13:17 wellington-sd JobId 8968: Ready to append to end of Volume 
"DVDRW-003" part=2 size=204
08-Nov 13:17 mosquito-fd JobId 8968: Generate VSS snapshots. Driver="VSS 
WinXP", Drive(s)="C"
08-Nov 13:45 wellington-sd JobId 8968: Part 2 (838849455 bytes) written to DVD.
08-Nov 13:45 wellington-sd JobId 8968: Remaining free space 3,850,305,536 on 
"DVD_RW" (/dev/hdc)
08-Nov 14:00 wellington-sd JobId 8968: Part 3 (838849411 bytes) written to DVD.
08-Nov 14:00 wellington-sd JobId 8968: Remaining free space 3,011,084,288 on 
"DVD_RW" (/dev/hdc)
08-Nov 14:12 wellington-sd JobId 8968: Part 4 (838849481 bytes) written to DVD.
08-Nov 14:12 wellington-sd JobId 8968: Remaining free space 2,171,863,040 on 
"DVD_RW" (/dev/hdc)
08-Nov 14:15 mosquito-fd JobId 8968: VSS Writer (BackupComplete): 
"SqlServerWriter", State: 0x1 (VSS_WS_STABLE)
08-Nov 14:15 wellington-sd JobId 8968: Job write elapsed time = 00:58:12, 
Transfer rate = 763.9 K bytes/second
08-Nov 14:15 mosquito-fd JobId 8968: VSS Writer (BackupComplete): "WMI Writer", 
State: 0x1 (VSS_WS_STABLE)
08-Nov 14:15 mosquito-fd JobId 8968: VSS Writer (BackupComplete): "Microsoft 
Writer (Service State)", State: 0x1 (VSS_WS_STABLE)
08-Nov 14:15 mosquito-fd JobId 8968: VSS Writer (BackupComplete): "Microsoft 
Writer (Bootable State)", State: 0x1 (VSS_WS_STABLE)
08-Nov 14:15 mosquito-fd JobId 8968: VSS Writer (BackupComplete): "IIS Metabase 
Writer", State: 0x1 (VSS_WS_STABLE)
08-Nov 14:15 mosquito-fd JobId 8968: VSS Writer (BackupComplete): "MSDEWriter", 
State: 0x1 (VSS_WS_STABLE)
08-Nov 14:16 wellington-sd JobId 8968: Part 5 (156410441 bytes) written to DVD.
08-Nov 14:16 wellington-sd JobId 8968: Remaining free space 2,015,068,160 on 
"DVD_RW" (/dev/hdc)
08-Nov 14:16 wellington-dir JobId 8968: Bacula wellington-dir 2.4.3 (10Oct08): 
08-Nov-2008 14:16:54
  Build OS:               i686-pc-linux-gnu debian 4.0
  JobId:                  8968
  Job:                    MOSQUITO_Backup.2008-11-08_11.25.05
  Backup Level:           Full
  Client:                 "mosquito-fd" 2.4.3 (10Oct08) 
Linux,Cross-compile,Win32
  FileSet:                "MOSQUITO Set" 2004-08-24 06:14:38
  Pool:                   "DVD_RW" (From Job resource)
  Storage:                "DVDRW-Drive" (From Job resource)
  Scheduled time:         08-Nov-2008 11:25:36
  Start time:             08-Nov-2008 12:47:42
  End time:               08-Nov-2008 14:16:54
  Elapsed time:           1 hour 29 mins 12 secs
  Priority:               10
  FD Files Written:       84,930
  SD Files Written:       84,930
  FD Bytes Written:       2,649,248,170 (2.649 GB)
  SD Bytes Written:       2,667,884,062 (2.667 GB)
  Rate:                   495.0 KB/s
  Software Compression:   42.0 %
  VSS:                    yes
  Storage Encryption:     no
  Volume name(s):         DVDRW-003
  Volume Session Id:      3
  Volume Session Time:    1226136006
  Last Volume Bytes:      156,410,645 (156.4 MB)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK

08-Nov 14:16 wellington-dir JobId 8968: Begin pruning Jobs.
08-Nov 14:16 wellington-dir JobId 8968: No Jobs found to prune.
08-Nov 14:16 wellington-dir JobId 8968: Begin pruning Files.
08-Nov 14:16 wellington-dir JobId 8968: Pruned Files from 1 Jobs for client 
mosquito-fd from catalog.
08-Nov 14:16 wellington-dir JobId 8968: End auto prune.


The backup went to one volume, and 2.649 GB was written to the Disk. Still, the 
job reports Last volume bytes as 156.4 MB, which is the size of the last part 
written.

Backup ends with "OK" status, but next job fails, because catalog and DVD data 
do not match. DVD has all the data from previous job, but catalog not.



08-Nov 12:47 wellington-dir JobId 8968: Start Backup JobId 8968, 
Job=MOSQUITO_Backup.2008-11-08_11.25.05
08-Nov 12:47 wellington-dir JobId 8968: Using Device "DVD_RW"
08-Nov 12:47 wellington-sd JobId 8968: Volume "DVDRW-002" previously written, 
moving to end of data.
08-Nov 12:47 wellington-sd JobId 8968: Error: Bacula cannot write on DVD Volume 
"DVDRW-002" because: The sizes do not match! Volume=2944849356 Catalog=428300953
08-Nov 12:47 wellington-sd JobId 8968: Marking Volume "DVDRW-002" in Error in 
Catalog.
08-Nov 12:47 wellington-sd JobId 8968: Job MOSQUITO_Backup.2008-11-08_11.25.05 
waiting. Cannot find any appendable volumes.
Please use the "label"  command to create a new Volume for:
    Storage:      "DVD_RW" (/dev/hdc)
    Pool:         DVD_RW
    Media type:   DVD+RW
08-Nov 13:13 wellington-sd JobId 8968: Please mount Volume "DVDRW-003" or label 
a new one for:
    Job:          MOSQUITO_Backup.2008-11-08_11.25.05
    Storage:      "DVD_RW" (/dev/hdc)
    Pool:         DVD_RW
    Media type:   DVD+RW



I have tried to study the source code, but can't see where the problem might 
be. Help, please! ;D




-------------------------------------------------------------------------
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

<Prev in Thread] Current Thread [Next in Thread>