1753461 Members
4707 Online
108794 Solutions
New Discussion юеВ

Recovery troubles

 
Chartier Jerome
Frequent Advisor

Recovery troubles

Hello,

I've got a problem when I try to recover files from a tape. The Fbackup works well with some warnings in the log, but successfull end.
And when I try to restore a directory (/etc for example), I've got this message:
Starting file recovery...
frecover(2105): did not find expected file marker
frecover(5419): checksum on volume header is incorrect.
frecover(5420): not an fbackup volume; magic value is incorrect
frecover(2105): did not find expected file marker
frecover(5412): Do you wish to try to salvage this volume? (^[yY]/^[nN])

Have you got any idea?

Thanks in advance

Best Regards

J??r??me
J@Y
9 REPLIES 9
Armin Feller
Honored Contributor

Re: Recovery troubles

Hi,

it seams that the volume header couldn't be read.

Please try following command:

# dd if= of= bs=64k ; frecover -ryvf 'of'

Regards ...
Armin
Armin Feller
Honored Contributor

Re: Recovery troubles

or if not working following:

# dd bs=256k < /dev/rmt/1m | frecover -r -v -f -
Chartier Jerome
Frequent Advisor

Re: Recovery troubles

Hello,

I've got this message:

# dd if=/dev/rmt/0m of=/tmp/bootsect bs=256k; frecover -rvf /tmp/bootsect
0+5683 records in
0+5683 records out
frecover(5419): checksum on volume header is incorrect.
frecover(5420): not an fbackup volume; magic value is incorrect
frecover(5412): Do you wish to try to salvage this volume? (^[yY]/^[nN])

Thanks for your help

Regards

J??r??me
J@Y
Armin Feller
Honored Contributor

Re: Recovery troubles

It seams that the device you are using does not have the option "rewind", alos it is /dev/rmt/0m. Could you please recreate the device files or use a further rewind device (eg. 0mBEST).

Regards ...
Armin
Sanjay_6
Honored Contributor

Re: Recovery troubles

Hi,

Was the data backed up using fbackup. If so, you should try frecover. If the data was backed up using some other backup utility like tar or cpio you should use tar or cpio to recover the data.

Hope this helps.

Regds
Dietmar Konermann
Honored Contributor

Re: Recovery troubles

Are using a SuperDLT1 or similar? There is a known problem that these drive do not support 1-byte reads... which are used by frecover during header validation.

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Chartier Jerome
Frequent Advisor

Re: Recovery troubles

Hi,

Thanks all for your answers.
I've used fbackup to perform the bck, so it is very strange that the header has been modified.

Regards

J??r??me

PS: I've opened the file created by the dd, and find some orace sql commands.????
J@Y
Chartier Jerome
Frequent Advisor

Re: Recovery troubles

Hi,

This is a DLT8000.

Regards

J??r??me
J@Y
Patrick Wallek
Honored Contributor

Re: Recovery troubles

It sounds like the tape was overwritten by someone / something else sometime after your fbackup finished.

Just as an FYI - put a 'mt -f /dev/rmt/0m offl' in your backup script so that the tape will be put offline after the backup finishes so no one else can write to it.