System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to force rdist not to remove files on remote host?

 
SOLVED
Go to solution
Olga_1
Regular Advisor

How to force rdist not to remove files on remote host?

Hello,
I need to bring about 30 GB of data from host1 to host2. Host2 has some files that do not exist on host1. How to force rdist not to remove the files on host2, but only to add the missing ones?
Thank you.
8 REPLIES
Steven E. Protter
Exalted Contributor
Solution

Re: How to force rdist not to remove files on remote host?

Shalom,

http://manpages.unixforum.co.uk/man-pages/unix/solaris-10-11_06/1/rdist-man-page.html

There are options toward the bottom that might prevent the delete.

You could use rync which has a toggle whether to delete or not.

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
James R. Ferguson
Acclaimed Contributor

Re: How to force rdist not to remove files on remote host?

Hi Olga:

First, I'd switch to 'rsync'. Instead of copying whole files, it only copies the changed blocks and is far more efficient than 'rdist'. You can configure 'rcync' to either leave or to delete files that exist on the receiving host but not on the sending one.

Regards!

...JRF...

Olga_1
Regular Advisor

Re: How to force rdist not to remove files on remote host?

Steven, James thank you for the reply.
Do I have to download rsync? I do not have it installed. I did not find much info on the forum on how to configure it. Many links are broken.
Steven Schweda
Honored Contributor

Re: How to force rdist not to remove files on remote host?

Are you planning to do this one time, or
repeatedly? If you're doing this one time,
then why use rdist or rsync instead of
something like, say, a "tar" pipeline?
Olga_1
Regular Advisor

Re: How to force rdist not to remove files on remote host?

I will need to use it many times during 3-4 months.
vishnu.khandare
Respected Contributor

Re: How to force rdist not to remove files on remote host?

Hi,

go for rsync

Regards
Vishnu Khandare
You should deserve before U desire!!!!
James R. Ferguson
Acclaimed Contributor

Re: How to force rdist not to remove files on remote host?

Hi Olga:

You can fetch a binary of 'rsync' from the HP-UX Porting Centre:

http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/rsync-3.0.7/

Since there are runtime dependencies you will need, you might use the new 'depothelper' to mange the whole installation:

http://hpux.connect.org.uk/hppd/answers/5-9.html

Regards!

...JRF...
Olga_1
Regular Advisor

Re: How to force rdist not to remove files on remote host?

Thank you all.