Bacula-users

[Bacula-users] Help with bscan and restore

2009-04-05 15:37:24
Subject: [Bacula-users] Help with bscan and restore
From: Rick Knight <rick_knight AT rlknight DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Sun, 05 Apr 2009 12:33:06 -0700
My system suffered a hard drive crash last month and now I'm trying to 
restore from a backup that was running when the drive died. I've 
re-installed my system on a new had drive and installed MySQL and Bacula 
(from Kubuntu repsitories) and modified Bacula to use my DDS-4 drive. 
I've run bscan and I think it was successful, here's the output of the 
command...

root@rick-desktop:~# bscan -s -m -c bacula-sd.conf -v -V rick_temp-01 
/dev/nst0 -PSaveIt
bscan: butil.c:282 Using device: "/dev/nst0" for reading.
04-Apr 19:17 bscan JobId 0: Ready to read from volume "rick_temp-01" on 
device "DDS-4" (/dev/nst0).
bscan: bscan.c:293 Using Database: bacula, User: bacula
bscan: bscan.c:436 Pool record for Scratch found in DB.
bscan: bscan.c:450 Pool type "Backup" is OK.
bscan: bscan.c:921 Created Media record for Volume: rick_temp-01
bscan: bscan.c:478 Media type "DDS-4" is OK.
bscan: bscan.c:488 VOL_LABEL: OK for Volume: rick_temp-01
bscan: bscan.c:992 Created Client record for Client: rick-fd
bscan: bscan.c:1075 Created new JobId=1 record for original JobId=1976
04-Apr 19:24 bscan JobId 0: End of file 1 on device "DDS-4" (/dev/nst0), 
Volume "rick_temp-01"
bscan: bscan.c:688 32,768 file records. At file:blk=1:16,067 
bytes=1,035,886,662
04-Apr 19:31 bscan JobId 0: End of file 2 on device "DDS-4" (/dev/nst0), 
Volume "rick_temp-01"
04-Apr 19:39 bscan JobId 0: End of file 3 on device "DDS-4" (/dev/nst0), 
Volume "rick_temp-01"
04-Apr 19:46 bscan JobId 0: End of file 4 on device "DDS-4" (/dev/nst0), 
Volume "rick_temp-01"
04-Apr 19:53 bscan JobId 0: End of file 5 on device "DDS-4" (/dev/nst0), 
Volume "rick_temp-01"
04-Apr 20:00 bscan JobId 0: End of file 6 on device "DDS-4" (/dev/nst0), 
Volume "rick_temp-01"
04-Apr 20:07 bscan JobId 0: End of file 7 on device "DDS-4" (/dev/nst0), 
Volume "rick_temp-01"
04-Apr 20:14 bscan JobId 0: End of file 8 on device "DDS-4" (/dev/nst0), 
Volume "rick_temp-01"
04-Apr 20:21 bscan JobId 0: End of file 9 on device "DDS-4" (/dev/nst0), 
Volume "rick_temp-01"
04-Apr 20:28 bscan JobId 0: End of file 10 on device "DDS-4" 
(/dev/nst0), Volume "rick_temp-01"
04-Apr 20:36 bscan JobId 0: End of file 11 on device "DDS-4" 
(/dev/nst0), Volume "rick_temp-01"
bscan: bscan.c:1018 Created FileSet record "Rick Home"
bscan: bscan.c:1130 Updated Job termination record for JobId=1 
Level=Full TermStat=T
bscan: bscan.c:1219 Created JobMedia record JobId 1, MediaId 1
04-Apr 20:40 bscan JobId 0: Error: block.c:995 Read error on fd=3 at 
file:blk 11:9518 on device "DDS-4" (/dev/nst0). ERR=Input/output error.
 Bacula status: file=11 block=9518
 Device status: ONLINE IM_REP_EN file=11 block=-1
Records added or updated in the catalog:
      1 Media
      1 Pool
      1 Job
  57763 File

Now I'm trying to restore. Using these restore settings...

Select Storage resource (1-2): 2
Run Restore job
JobName:    RestoreFiles
Bootstrap:  *None*
Where:      /bacula-restores
Replace:    always
Client:     rick-desktop-fd
Storage:    DDS-4
JobId:      1002
When:       2009-04-05 08:57:40
Catalog:    MyCatalog
Priority:   10
OK to run? (yes/mod/no): mod

Every time I try to run the restore the job fails with the following 
message...

05-Apr 08:58 rick-desktop-dir JobId 7: Error: Bacula rick-desktop-dir 
2.2.8 (26Jan08): 05-Apr-2009 08:58:38
  Build OS:               i486-pc-linux-gnu debian lenny/sid
  JobId:                  7
  Job:                    RestoreFiles.2009-04-05_08.58.14
  Restore Client:         rick-desktop-fd
  Start time:             05-Apr-2009 08:58:38
  End time:               05-Apr-2009 08:58:38
  Files Expected:         0
  Files Restored:         0
  Bytes Restored:         0
  Rate:                   0.0 KB/s
  FD Errors:              1
  FD termination status:
  SD termination status:
  Termination:            *** Restore Error ***

What am I doing wrong? How can I restore from this tape?

Thanks,
Rick Knight


------------------------------------------------------------------------------
_______________________________________________
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>
  • [Bacula-users] Help with bscan and restore, Rick Knight <=