Bacula-users

Re: [Bacula-users] I really need some help with bscan and trying to restore (repost)

2009-04-06 13:27:24
Subject: Re: [Bacula-users] I really need some help with bscan and trying to restore (repost)
From: Rick Knight <rick_knight AT rlknight DOT com>
To: John Drescher <drescherjm AT gmail DOT com>
Date: Mon, 06 Apr 2009 10:07:07 -0700
John Drescher wrote:
> On Mon, Apr 6, 2009 at 12:08 PM, Rick Knight <rick_knight AT rlknight DOT 
> com> wrote:
>   
>> Hello,
>>
>> Sorry for the repost, but I really need some help with this.
>>
>> 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
>>
>>     
> Did you mark any files to restore?
>
>
> John
>   
John,

Thank you for your reply. No, I did not mark any files for restore. I 
want everything on the tape restored to /bacula-restores. In a case like 
this, where do I mark the files to restore?

Thanks,
Rick


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users