Operating System - HP-UX
1824174 Members
2092 Online
109669 Solutions
New Discussion юеВ

Frecover from remote system tape

 
Wen Geng
Occasional Advisor

Frecover from remote system tape

My system does not have a tape unit and I need to recover files/directories from the remote system. I would like to use the tape created by fbackup on the remote system to recover files. How do I do it?
4 REPLIES 4
melvyn burnard
Honored Contributor

Re: Frecover from remote system tape

man frecover
you specify your device as hostname:/dev/rmt/unit>
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Sanjay_6
Honored Contributor

Re: Frecover from remote system tape

Hi,

you need to have .rhosts and /etc/hosts.equiv defined to recover using a tape drive on a remote system. In the frecover command refer the remote system tape drive as remote_host:/dev/rmt/0mn if you are using /dev/rmt/0mn from the remote host.

Use the "man frecover" command to check what options you should be using with the frecover command (depending on whether you want a full restore or a partial restore).

Hope this helps.

Regds
Steven E. Protter
Exalted Contributor

Re: Frecover from remote system tape

In general HP-UX does not support sharing of tape devices. There are add in products from Veritas that do.

You may for simplicity's sake wish to consider a two step process.

Restore the files to a temporary filesystem on the tape bestowed system and then rcp them to the system that needs them.

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
Jose Mosquera
Honored Contributor

Re: Frecover from remote system tape

Hi,

System1: box with a tape device (i.e: /dev/rmt/0m)
System2: box without tape unit

In System1 create a .rhosts file with full resolution name and allowed user, i.e:
System2.your_domain.com root

With this definition your root user from System2 can uses the fbackup/frecover commands into System1 box.

Then, from System2, execute the commands using -f option with System1:/dev/rmt/0m, pls ckeck -f option into both man's pages.

Rgds.