Bacula-users

Re: [Bacula-users] Reload Tapes using bscan

2014-12-30 09:14:09
Subject: Re: [Bacula-users] Reload Tapes using bscan
From: "Christian Tardif" <christian.tardif AT servinfo DOT ca>
To: "Kern Sibbald" <kern AT sibbald DOT com>, Ana Emília M. Arruda <emiliaarruda AT gmail DOT com>
Date: Tue, 30 Dec 2014 14:07:38 +0000
Ah! Now, due to the Pool Name this tape is on, it can explains that (Diff Pool or Inc-Pool) as al others (Full-Pool) have a label of type of Vol_Label, and can be scanned.
 
Thank you very much for the tip. I won't try to scan the PRE_LABEL volumes, then.
 
Thank you again.
 
 
 
------ Message d'origine ------
De : "Kern Sibbald" <kern AT sibbald DOT com>
À : "Christian Tardif" <christian.tardif AT servinfo DOT ca>; "Ana Emília M. Arruda" <emiliaarruda AT gmail DOT com>
Cc: "Bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Envoyé 2014-12-30 02:54:28
Objet : Re: [Bacula-users] Reload Tapes using bscan
 
Hello Christian,

If btape is saying that the volume is prelabeled, it means that it has a Bacula label that is written *before* any data is put on the tape.  This means that either the tape was never written, or someone (not Bacula) wrote an end of file mark at the beginning of the tape, then the next time it was mounted by Bacula (or some sys admin) Bacula recognized it as a "blank" tape and wrote a prelabel.

It is very difficult to recover from a tape being overwritten, but it is possible and rather complicated.  It involves first scanning the tape to see if there is any real data past the prelabel records, and if so, copying the good data to another tape. 

Best regards,
Kern

On 29.12.2014 16:33, Christian Tardif wrote:
Gives me the exact same result:  "Volume is prelabeled. This tape cannot be scanned."
 
Maybe something from my bacula-sd.conf ?



Christian

 

 
------ Message d'origine ------
De : "Ana Emília M. Arruda" <emiliaarruda AT gmail DOT com>
À : "Christian Tardif" <christian.tardif AT servinfo DOT ca>
Envoyé 2014-12-23 21:30:48
Objet : Re: [Bacula-users] Reload Tapes using bscan
 
Hello Christian,

Have you tried the recovery from tapes without using the bootstrap file? It can be done this way:

./bscan -V TestVolume1 -v -s -m -c bacula-sd.conf /dev/nst0
And if have your backup in more than one volume, you can try this way:

./bscan -V TestVolume1/|TestVolume2/|TestVolume3 -v -s -m -c bacula-sd.conf /dev/nst0

Maybe the bootstrap file that you have created is missing something. I have been using bscan without mentioning bootstrap files and It works fine for me.


Best regards,
Ana

On Tue, Dec 23, 2014 at 12:32 AM, Christian Tardif <christian.tardif AT servinfo DOT ca> wrote:
Hi,
 
I had a major crash that destroyed my bacula database, and my bootstrap file. The only thing I have to start recovering from are my bacula tapes.
 
I tried to scan them all with a bscan.bsr file which looks like:
 
Volume="KF3969L3"
MediaType="LTO-3"
Slot=1
Volume="ATT477L3"
MediaType="LTO-3"
Slot=2
....
all the way down to Slot=16
 
My base bacula installation has been done, database set, and tested my library.
 
Now, I'm trying to scan by using this command:
 
bscan -b bscan.bsr -v -P [my_database_password] -s -m -c bacula-sd.conf /dev/nst0
 
which ends up with Volume is prelabeled. This tape cannot be scanned.
 
WHAT ????  I hope that the volume is already labeled...  These tapes are my last hope.  I probably don't understand what bscan is telling me exactly.  What do I need to do to have bscan fread the tapes and recreate the catalog ?
 
Thanks,
 
Christian...

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users




------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net


_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
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>