Bacula-users

[Bacula-users] restore from tapes

2010-05-13 18:44:20
Subject: [Bacula-users] restore from tapes
From: William Taylor <williamt AT corp.sonic DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 13 May 2010 15:41:53 -0700
Trying to find out best practices for restoring a stack of tapes to disk in a 
disaster recovery situation (ie datacenter exploded, all I have is tapes, drive 
and server).

I tried running:

  bextract -V 000010L2 /dev/nst0 /restore

Let it run for 15 minutes or so and it wasn't dumping out any data so I killed 
it.

Next I ran:

 bextract  -b /tmp/test.bsr -d 10 -v  /dev/nst0 /restore

With test.bsr containing everything for 000010L2  :

Volume="000010L2"
MediaType="LTO-4"
Slot=1
VolSessionId=8
VolSessionTime=1272046147
VolAddr=1-76293
FileIndex=82-82
Volume="000010L2"
MediaType="LTO-4"
Slot=1
VolSessionId=8
VolSessionTime=1272046147
VolAddr=4294967296-4295043588
FileIndex=82-82
Volume="000010L2"
MediaType="LTO-4"
Slot=1
VolSessionId=8
VolSessionTime=1272046147
VolAddr=8589934592-8590010884
FileIndex=82-82
--- snip ---

Let it run for about 30 minutes and no data had been dumped out.
Decided to let it run over night to see if anything ever got dumped out.
Came in this morning to find:

bextract: bextract.c:397-0 Write 524288 bytes, total=2946406312
bextract: bextract.c:397-0 Write 524288 bytes, total=2946930600
bextract: bextract.c:397-0 Write 524288 bytes, total=2947454888
bextract: bextract.c:397-0 Write 524288 bytes, total=2947979176
bextract: bextract.c:397-0 Write 524288 bytes, total=2948503464
12-May 19:26 bextract JobId 0: End of Volume at file 11 on device "LTO-4" 
(/dev/nst0), Volume "000010L2"
12-May 19:26 bextract JobId 0: End of all volumes.
12-May 19:26 bextract JobId 0: Error: attribs.c:423 File size of restored file 
/restore/vol/www/20100509-011632-full/dumpfile not correct. Original 
1366762475520, restored 305909465088.
18 files restored.

So it looks like it to 4 - 5 hours to dump out the tape. Hit the end of the 
tape maybe and never prompted for a new tape to continue?
This was an 800GB tape and I believe near full.
# du -s -h /restore/
286G    /restore/

Why would bextract take so long before ever writing out data?
Do I really need to have the database and bootstrap file to restore all my 
files?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------

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