Operating System - HP-UX
1832650 Members
3009 Online
110043 Solutions
New Discussion

Re: Remote backup recovery

 
SOLVED
Go to solution
TMcB
Super Advisor

Remote backup recovery

Hi

I have 2 HPUX 10.20 servers, and I'm not having much luck trying to perform a remote recovery from one to the other.

The tape is in the drive and the files are listed OK.

When I log onto the second server and thorugh sam, try and run a remote recovery I get the following error message :
Unable to open shse001:/dev/rmt/0m
Do you wish to continue?

The 2 servers are listed in each others .rhost files.

Any advice is greatly appreciated
9 REPLIES 9
harry d brown jr
Honored Contributor

Re: Remote backup recovery

Terry,

Can you explain a little more about what you mean "remote recovery through sam"?

Which server is this "shse001" ??

What are the entries in .rhosts?

live free or die
harry
Live Free or Die
Emiel van Grinsven
Valued Contributor

Re: Remote backup recovery

Did you try any commands on the prompt using rlogin, rsh etcetera?
Does this work?
John Carr_2
Honored Contributor

Re: Remote backup recovery

Hi

check ther .rhosts entries are correct by doing a rlogin from one to the other and vice versa. If this doesnt work the IP is not being translated so change the .rhosts to be ip adresses instead.

John.
TMcB
Super Advisor

Re: Remote backup recovery

rlogin works from both machines to the other.

The tape drive is in shse001, but I would like to restore the files onto shsed001, and am trying to do it through "Interactive backup & recovery" in SAM.


Thanks
Steve Steel
Honored Contributor
Solution

Re: Remote backup recovery

Hi


here is the format

try manually

Restore of backup over network.

Restore from a remote DAT/DDS drive

/etc/frecover -xi/directory -f remote_name:/dev/rmt/0m

Remote restore with local DAT/DDS drive

remsh remote_name " /etc/frecover -xi/directory -f local_name:/dev/rmt/0m"


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Emiel van Grinsven
Valued Contributor

Re: Remote backup recovery

Check the following, it's a bit like a course but hey, don't bite me.

/etc/hosts.equiv and files named .rhosts in user home directories
specify remote hosts and users which are equivalent to the local
host or user. Users from equivalent remote hosts can
access a local non-super-user account with remsh(1) or rcp(1) or
rlogin(1) to the local account without supplying a password. The
security defined in hosts.equiv is implemented by the library routine
ruserok(3N).

In the following, hosts.equiv means either /etc/hosts.equiv or a file
.rhosts in a local user's home directory.

Note that .rhosts must be owned, either by the user in whose home
directory it is found, or by the super-user (and must not be a
symbolic link).

/etc/hosts.equiv defines system-wide equivalency, whereas a user's
.rhosts defines equivalency between that user and remote users to which
that user chooses to allow or deny access.

grt, E
TMcB
Super Advisor

Re: Remote backup recovery

Hi

It is now seeing the remote tape drive using the following command :
freceover -xi /usr3 -f shse001:/dev/rmt/0m

When I do a list of the tape - the above directory is on it. However, when I run the frecover command, I get as far as :

frecover(5401): Volume 1 completed.
frecover(5404): Press return when the next volume is ready on shse001:/dev/rmt/0
m:

All the files should be on one tape

Thanks
John Carr_2
Honored Contributor

Re: Remote backup recovery

Terry

normally frecover works silently. Use the -v option to put it into Verbose mode and display the file..
cheers
John.
TMcB
Super Advisor

Re: Remote backup recovery

running frecover -v does not display anmore information - still the same :

frecover(5401): Volume 1 completed.
frecover(5404): Press return when the next volume is ready on shse001:/dev/rmt/0
m: