Operating System - HP-UX
1827293 Members
2793 Online
109717 Solutions
New Discussion

Re: remote backup data from rp5470 to k260

 
ajk_5
Frequent Advisor

remote backup data from rp5470 to k260

Dear All,

At RRP5470 HP-UX server, I want to use the following command to remote backup data to DDS3 tape drive in K260 UP-UX server.

tar cvhf /dev/rmt/0m *

How can I do that? Thanks!



Best Regards
Ajk
6 REPLIES 6
Rajesh D L
Frequent Advisor

Re: remote backup data from rp5470 to k260

Hi,

You can try
#tar -cvf - *|remsh remote_server_ip_address dd of=/dev/rmt/0mn

regards,
RDL.
ajk_5
Frequent Advisor

Re: remote backup data from rp5470 to k260

Rajesh D L ,

Your command does not work. Would you please confirm it? Thank you.



Best Regards
Ajk
T G Manikandan
Honored Contributor

Re: remote backup data from rp5470 to k260

tar cvf - /home | remsh remote_host dd of=/dev/rmt/0m bs=10k
ajk_5
Frequent Advisor

Re: remote backup data from rp5470 to k260

T G Manikandan ,

Doesn't work as well.

# tar cvf - /dskdump | remsh k260 dd of=/dev/rmt/0m bs=10k
a /dskdump/livedb-to-backup/cb_bin/README 2 blocks
a /dskdump/livedb-to-backup/cb_bin/_gpm 1 blocks
a /dskdump/livedb-to-backup/cb_bin/_passwd 1 blocks
a /dskdump/livedb-to-backup/cb_bin/_tmp 0 blocks
a /dskdump/livedb-to-backup/cb_bin/appear 1 blocks
a /dskdump/livedb-to-backup/cb_bin/audit-file 4 blocks
remshd: Login incorrect.
#
T G Manikandan
Honored Contributor

Re: remote backup data from rp5470 to k260

before you start doing this you need to configure remsh so that

when you do a

#remsh remote_host

it does not ask for the password.

For this on the remote_host /.rhosts file

host1 root

host1 is the hostname of the machine from where the tar is fired.

Jose Mosquera
Honored Contributor

Re: remote backup data from rp5470 to k260

Hi,

In your remote_server must be a .rhost file that allow the remote execution of the user. i.e:
In your remote_server
#cd
#create the .rhosts file with this content:


For detailed info "man .rhosts"

Rgds.