Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jul 2001 15:14:19 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Joseph Begumisa <begj@eahd.or.ug>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: secure mirroring program 
Message-ID:  <200107222214.f6MMEJb11142@ptavv.es.net>
In-Reply-To: Your message of "Sun, 22 Jul 2001 18:48:43 %2B0300." <Pine.LNX.4.30.0107221847110.11608-100000@spice.eahd.or.ug> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Sun, 22 Jul 2001 18:48:43 +0300 (EAT)
> From: Joseph Begumisa <begj@eahd.or.ug>
> Sender: owner-freebsd-questions@FreeBSD.ORG
> 
> Does anyone know of a program just like mirror but with added security say
> like one which makes connections using scp instead of ftp?

Joseph,

While I am not familiar with the mirror program, if ssh is available
on both systems, I'd strongly recommend rsync from the ports. It fast,
highly optimized, and runs over ssh. The command syntax is similar to
cp, but there are a couple of subtleties about trailing slashes and
remote globs to get used to. There are also a LOT of options. I'd
suggest that for most mirroring operations you might want "-Carv
--delete". This tells rsync to copy updates to files, recursing down
the directory tree (r), ignoring special CVS files (C), retaining file
characteristics (a), verbosely (v), compressing the data over the net
(z), and deleting all files on the destination that are no longer on
the source (--delete).

The port is in /usr/ports/net/rsync and you can read more about it at
http://rsync.samba.org. 

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107222214.f6MMEJb11142>