Operating System - HP-UX
1819815 Members
3617 Online
109607 Solutions
New Discussion юеВ

Re: Restore fbackup tape on remote SUN server drive

 
Pradeep Solanki_1
Occasional Contributor

Restore fbackup tape on remote SUN server drive

Greetings

I received a DDS-3 tape in fbackup format, I don't have DDS-3 connected to HP-UX server. I tried restoring the backup on remote DDS-3 drive connected to a SUN
server, but it failed. Following options/command were tried. Is there any option to restore the data?

venus is L class HP-UX server where the data need to restored.
mercury is SUN server where the DDS-3 drive is connected.


# frecover -r -v -f mercury:/dev/rmt/0

It comes out without any error, the remote tape drive blinks once.


# dd if=/dev/rmt/0 ibs=10k |rsh venus "(cd /dcs_dump; /usr/sbin/frecover -r -v -f -)"

0+1 records in
2+0 records out
frecover(5418): not an fbackup volume; unable to read volume header
frecover(5414): abort selected

Thanks in advance

Regards
pradeep
6 REPLIES 6
melvyn burnard
Honored Contributor

Re: Restore fbackup tape on remote SUN server drive

There is no fbackup/frecover for SUN, it is HP-UX only.
You may want to try:
dd if=/dev/rmt/0 of=/tmp/fred bs=10k
then ftp hte file to the HP system, and try to frecover fom it:
frecover -r -v -f venus:/tmp/fred

Otherwise, get a tape for your HP box, or get the tape sent in cpio/tar format
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
blal
Frequent Advisor

Re: Restore fbackup tape on remote SUN server drive

Hi pradeep,

Fbackup /frecover will work only in HP unix
platform.This is HP legacy backup command.


Try to extract the contents to you SUN server
local disk using dd and if successful transfer data to HP using ftp or rcp .

better take the backup using tar and then restore.


bye
baiju
Live and let live.
Thayanidhi
Honored Contributor

Re: Restore fbackup tape on remote SUN server drive

Hi,

I doubt you cannot "dd" a fbackup tape. fbackup tape is has
variable block sizes and end of tape marks.
This is the reason you the error when tried dd in a sun system.
In hp also dd will not work for a fabckup tape.

TT
Attitude (not aptitude) determines altitude.
Steven E. Protter
Exalted Contributor

Re: Restore fbackup tape on remote SUN server drive

restore the data to a temporary directory on the hp-ux server

if you have room, create a tar file, ftp or sftp it to the sun box and then unzip it.

If however this backup was made on the sun box, its not fbackup format.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Elmar P. Kolkman
Honored Contributor

Re: Restore fbackup tape on remote SUN server drive

Are you sure the block size of the tape is 10k? According to the man-page the blocksize of the tape is 1k!

Also, I would suggest using the non-rewinding tape device on the sun. So try the first option, using the remote device on mercury, but use the non-rewinding:
# frecover -r -v -f mercury:/dev/rmt/0mn

Good luck
Every problem has at least one solution. Only some solutions are harder to find.
Pradeep Solanki_1
Occasional Contributor

Re: Restore fbackup tape on remote SUN server drive

Dear All

Thanks for your suggestions

DD will not read the fbackup tapes as suggested by Thayanidhi. I don't have any other HP-UX server with DDS-3 tape.

I have found a external tape drive which I will try to connect with HP-UX server.

Regards
Pradeep