From owner-freebsd-questions Sun Jul 22 15:14:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 7EE1137B403 for ; Sun, 22 Jul 2001 15:14:31 -0700 (PDT) (envelope-from oberman@ptavv.es.net) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id f6MMEJb11142; Sun, 22 Jul 2001 15:14:21 -0700 (PDT) Message-Id: <200107222214.f6MMEJb11142@ptavv.es.net> To: Joseph Begumisa Cc: freebsd-questions@FreeBSD.ORG Subject: Re: secure mirroring program In-reply-to: Your message of "Sun, 22 Jul 2001 18:48:43 +0300." Date: Sun, 22 Jul 2001 15:14:19 -0700 From: "Kevin Oberman" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Sun, 22 Jul 2001 18:48:43 +0300 (EAT) > From: Joseph Begumisa > 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