Bacula-users

Re: [Bacula-users] restoring old data

2008-06-17 13:00:01
Subject: Re: [Bacula-users] restoring old data
From: Damir D <damir222 AT yahoo DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 17 Jun 2008 09:59:49 -0700 (PDT)
Thanks Bruno it helped me quite a lot.

For the record, I used new windows version of bacula which now includes bls and bextract programs, which I used.

So far i have tried over the network and it successfully restores many files before it fails (i think it is network problem because I couldn't copy the whole volume  file in windows either...). I'll try to move the files locally on a usb drive to try and see.

Thanx a lot... I was afraid I would have to setup whole network of computers to do this, or worse:)


Bruno Friedmann <bruno AT ioda-net DOT ch> wrote:
Damir D wrote:
> Hi,
>
> I need help restoring some pretty old data form backups.
>
> The situation is as follows:
>
> Server is:
> Linux 2.6.12-10-686-smp #1 SMP
> ubuntu breezy
> bacula 1.36.3
>
> it is pretty old version evidently.
> There was a windows client that backed up to this server, which held the needed data.
>
>
> I have been using file volumes for some time. I have been moving filevolumes to another location periodically, thus forcing bacula to create new filevolume at the original location. I have one old filevolume containing data i whish to restore. Metadata in the sqlite database concerning this filevolume, seems to be purged, so i tried to restore it by using bscan.... which gives me an error and no metadata seems to be restored to the catalog:
>
> /etc/bacula# /usr/lib/bacula/bscan.sqlite -p -s -V A0004 File
>
> bscan: butil.c:258 Using device: "File" for reading.
> 15-Jun 12:31 bscan: Ready to read from volume "A0004" on device /opt/bacula/filevolumes.
> bscan: bscan.c:454 VOL_LABEL: OK for Volume: A0004
> 15-Jun 12:56 bscan: bscan Error: block.c:304 Volume data error at 1:2619054274! Block checksum mismatch in block 0: calc=7998f98a blk=5c20eb33
> 15-Jun 12:56 bscan: ERROR in record.c:499 Failed ASSERT: data_bytes < MAX_BLOCK_LENGTH
> Segmentation fault
>
>
> ---------------------
>
> Can someone point me to reccomended way of restoring old files. For my purpose simple utiliy to dump/unpack all contents of filevolume would be enough but i cannot find such a utility?
>
> Should i try to upgrade, or create similiar environment with newer version of linux/bacula?
>
> Are my filevolumes 'damaged' by not having correct end of volume markers? How could that be fixed?
>
>
> D

I Damir, bls (list content) and brestore would be your friends in this case.
You don't need any db to work with.

See documentation in the bacula.org website.

I think you could even use them from a recent version on a another server.
The data should be restored to a windows client if you don't have specified the "compatibility" flag.

Hope this help you a bit

--

Bruno Friedmann



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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>