Hi Hans,

I use rsync for this:

DESCRIPTION
       rsync  is  a  program  that behaves in much the same way that rcp
does, but has many more
       options and uses the rsync remote-update protocol to greatly speedup
file transfers  when
       the destination file already exists.

       Some of the additional features of rsync are:

       o      can use any transparent remote shell, including rsh or ssh
       o      pipelining of file transfers to minimize latency costs
       o      support for anonymous or authenticated rsync servers (ideal
for mirroring)

Works like a charm.

Grtz, Richard


> -----Original Message-----
> From: Hans Scheffers [mailto:[EMAIL PROTECTED]]
> Sent: vrijdag 22 juni 2001 13:58
> To: Firewall List
> Subject: Synchronise two servers in DMZ
> 
> 
> Hi,
> 
> this is off-topic I know, but I have a small problem.
> 
> I have two servers in the DMZ (both linux), that have two be 
> syncrhonized on the data files (only on the data files); on 
> both ssh/scp 
> runs, but no telnet/telnetd.
> 
> server 2 has to receive the data from server 1, but because 
> the amount 
> of the data only changed /new files have to be copied.
> 
> with cp, i can synchronise dir 2 with dir 1 with the -u / --update 
> parameter.
> scp doesn't know this option and I cannot find an option that 
> does this 
> in the manpages of ssh/scp
> 
> Does anyone have a hint on how to do this?
> 
> greetz
> Hans
> 
> _______________________________________________
> Firewalls mailing list
> [EMAIL PROTECTED]
> http://lists.gnac.net/mailman/listinfo/firewalls
> 
_______________________________________________
Firewalls mailing list
[EMAIL PROTECTED]
http://lists.gnac.net/mailman/listinfo/firewalls

Reply via email to