Bacula-users

Re: [Bacula-users] Verify VolumeToCatalog not working as expected.

2011-02-21 11:07:24
Subject: Re: [Bacula-users] Verify VolumeToCatalog not working as expected.
From: John Drescher <drescherjm AT gmail DOT com>
To: bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Mon, 21 Feb 2011 11:04:42 -0500
I tried a few other jobs and it seems that regardless of the verify
fileset you choose the VolumeToCatalog verify always picks the last
backup that was performed on the client and not the last full backup
for a given fileset or similar. The job I want to verify uses LTO2
media to the  LTO2-Archived-Data pool.

Run Verify job
JobName:     Verify_Exempt_MRI-Archive-Job
Level:       VolumeToCatalog
Client:      datastore3-fd
FileSet:     Exempt_MRI-Archive-fs
Pool:        LTO2-Archived-Data (From Job resource)
Storage:     DEV6-Changer (From Job resource)
Verify Job:
Verify List:
When:        2011-02-21 10:54:42
Priority:    10
OK to run? (yes/mod/no): yes
Job queued. JobId=24341

Here is the log for that:

fileserv ~ # less /var/log/bacula/verify.log
21-Feb 10:55 fileserver-dir JobId 24341: Verifying against JobId=24340
Job=BackupCatalog.2011-02-21_01.10.00_12
21-Feb 10:55 fileserver-dir JobId 24341: Bootstrap records written to
/var/lib/bacula/fileserver-dir.restore.10.bsr
21-Feb 10:55 fileserver-dir JobId 24341: Start Verify JobId=24341
Level=VolumeToCatalog
Job=Verify_Exempt_MRI-Archive-Job.2011-02-21_10.54.58_15
21-Feb 10:55 fileserver-dir JobId 24341: Using Device "LTO2-0"
21-Feb 10:58 dev6-sd JobId 24341: acquire.c:117 Changing read device.
Want Media Type="File" have="LTO-2"
  device="LTO2-0" (/dev/nst0)
21-Feb 10:58 dev6-sd JobId 24341: Fatal error: acquire.c:166 No
suitable device found to read Volume "Catalogs-0005"
21-Feb 10:58 datastore3-fd JobId 24341: Fatal error: job.c:2031 Bad
response to Read Data command. Wanted 3000 OK data
, got 3000 error

21-Feb 10:55 fileserver-dir JobId 24341: Warning: The following files
are in the Catalog but not on the Volume(s):
21-Feb 10:55 fileserver-dir JobId 24341:       /var/lib/bacula/bacula.sql
21-Feb 10:55 fileserver-dir JobId 24341: Fatal error: No Job status
returned from FD.
21-Feb 10:55 fileserver-dir JobId 24341: Error: Bacula fileserver-dir
5.0.3 (04Aug10): 21-Feb-2011 10:55:02
  Build OS:               x86_64-pc-linux-gnu gentoo
  JobId:                  24341
  Job:                    Verify_Exempt_MRI-Archive-Job.2011-02-21_10.54.58_15
  FileSet:                Exempt_MRI-Archive-fs
  Verify Level:           VolumeToCatalog
  Client:                 datastore3-fd
  Verify JobId:           24340
  Verify Job:
  Start time:             21-Feb-2011 10:55:00
  End time:               21-Feb-2011 10:55:02
  Files Expected:         1
  Files Examined:         2,800
  Non-fatal FD errors:    0
  FD termination status:  Error
  SD termination status:  Error
  Termination:            *** Verify Error ***

It appears again that bacula is verifying against the last job run
which in this case was the catalog backup.


Select Client (File daemon) resource (1-29): 4
Connecting to Client datastore3-fd at datastore3:9102

datastore3-fd Version: 5.0.3 (04 August 2010)  x86_64-pc-linux-gnu gentoo
Daemon started 11-Feb-11 19:53. Jobs: run=26 running=0.
 Heap: heap=626,688 smbytes=15,604 max_bytes=483,041 bufs=60 max_bufs=239
 Sizeof: boffset_t=8 size_t=8 debug=0 trace=0

Running Jobs:
Director connected at: 21-Feb-11 11:04
No Jobs running.
====

Terminated Jobs:
 JobId  Level    Files      Bytes   Status   Finished        Name
======================================================================
 24280  Volu      1,802         0   OK       16-Feb-11 17:56
VerifyVolume_ImageData-ds3-Job
 24292  Full          1    3.267 G  OK       17-Feb-11 01:27 BackupCatalog
 24281         1,464,818    1.860 T  Error    17-Feb-11 11:54 TMImagesRestore
 24303  Full          1    3.268 G  OK       18-Feb-11 01:24 BackupCatalog
 24304  Incr     42,999    17.88 G  OK       18-Feb-11 09:05
Exempt_MRI-Archive-Job
 24305  Incr     48,051    86.75 G  OK       18-Feb-11 20:23 ImageData-ds3-Job
 24318  Full          1    3.288 G  OK       19-Feb-11 01:24 BackupCatalog
 24329  Full          1    1.997 G  Error    20-Feb-11 01:21 BackupCatalog
 24340  Full          1    3.290 G  OK       21-Feb-11 01:24 BackupCatalog
 24341  Volu          0         0   Error    21-Feb-11 10:58
Verify_Exempt_MRI-Archive-Job

John

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
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>