I have try it :
bls -p Full-0590
I get this:
bls: butil.c:283-0 Could not find device "Full-0590" in config file
bacula-sd.conf.
04-juil. 10:34 bls JobId 0: Fatal error: butil.c:169 Cannot find device
"Full-0590" in config file bacula-sd.conf.
What I have to do ?
I see a new feature in bacula 7.4: “Verify Volume Data”
If I understand well that verifies that the volumes are not corrupted?
Can we check all the volumes of a storage resource ?
Thanks again
Best regards,
De : Kern Sibbald [mailto:k...@sibbald.com]
Envoyé : lundi 4 juillet 2016 10:34
À : Erwan RIGOLLOT <er...@rigollot.eu>; bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] Volume corrupt?
Hmm. It does not sound too good. I am sorry to hear that you only find zeros
everywhere. Bacula cannot do much with zeros :-(
Still, I would suggest that you try "bls -p File" without the bsr file. That
way, it will attempt to
look at everything. If the -p option does not resolve the missing label, use
dd to copy about 300 bytes from a valid volume. There may be something
somewhere in the file that could be useful and perhaps recovered. I am not
sure that Bacula can read through a bunch of zeros though ...
Best regards,
Kern
On 07/04/2016 09:55 AM, Erwan RIGOLLOT wrote:
Hi Kern,
Thanks a lot for your help.
I try that:
bls -p -b /etc/bacula/read.bsr File
I get that:
Error: block_util.c:308 Volume data error at 0:0! Wanted ID: "BB02", got "".
Buffer discarded.
When I use od to display file, I see only 0 everywhere in the file.
I think it is lost forever.
But, I don’t know when my files have become corrupt ….
Thank for your help
Best regards;
De : Kern Sibbald [mailto:k...@sibbald.com]
Envoyé : samedi 2 juillet 2016 13:57
À : Erwan RIGOLLOT <er...@rigollot.eu><mailto:er...@rigollot.eu>;
bacula-users@lists.sourceforge.net<mailto:bacula-users@lists.sourceforge.net>
Objet : Re: [Bacula-users] Volume corrupt?
The first thing to do is see what physical size your Volume is as compared to
what the catalog thinks it is. If the volume is very small, some one has
truncated it, otherwise, probably the beginning of the Volume was damaged
either by some program or by a bad disk block.
You might try examining the Volume with bls, and in particular with the -p
option which should make bls ignore a number of possible error conditions. If
bls can read the volume, then you may be able to read it by running bacula-sd
with the -p option, or by using bextract ...
If the beginning of the volume has been damaged, it could also be possible to
manually copy a few bytes (probably about 20) from some valid Volume so that
Bacula or one of the utilities can recognize it as a Bacula volume. The whole
volume label is typically between 100-200 bytes, but only the very first few
bytes are needed so that Bacula can recognize it.
Best regards,
Kern
On 07/02/2016 12:46 PM, Erwan RIGOLLOT wrote:
Hello,
Anyone have an idea ?
Thanks
De : Erwan RIGOLLOT [mailto:er...@rigollot.eu]
Envoyé : vendredi 1 juillet 2016 06:54
À :
bacula-users@lists.sourceforge.net<mailto:bacula-users@lists.sourceforge.net>
Objet : [Bacula-users] Volume corrupt?
Hi all
I need help. I have to restore files from my backup.
My bacula makes backup to volume type file.
I get this error :
JobId 3928: Error: block_util.c:308 Volume data error at 0:0! Wanted ID:
"BB02", got "". Buffer discarded.
JobId 3928: Warning: acquire.c:276 Read acquire: Requested Volume "Full-0590"
on file device "File-***" (/Backup/**/Bacula/) is not a Bacula labeled Volume,
because: ERR=block_util.c:308 Volume data error at 0:0! Wanted ID: "BB02", got
"". Buffer discarded.
Can you help me ?
Thanks
Envoyé de mon téléphone Windows 10
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net<mailto:Bacula-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users