From owner-freebsd-questions@FreeBSD.ORG Wed Jan 11 01:05:59 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23E5A16A41F for ; Wed, 11 Jan 2006 01:05:59 +0000 (GMT) (envelope-from wojtek@tensor.3miasto.net) Received: from chylonia.3miasto.net (chylonia.3miasto.net [213.192.74.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37C6543D49 for ; Wed, 11 Jan 2006 01:05:57 +0000 (GMT) (envelope-from wojtek@tensor.3miasto.net) Received: from chylonia.3miasto.net (localhost [127.0.0.1]) by chylonia.3miasto.net (8.13.4/8.13.4) with ESMTP id k0B15I5C066858; Wed, 11 Jan 2006 02:05:19 +0100 (CET) (envelope-from wojtek@tensor.3miasto.net) Received: from localhost (wojtek@localhost) by chylonia.3miasto.net (8.13.4/8.13.4/Submit) with ESMTP id k0B15HA9066855; Wed, 11 Jan 2006 02:05:17 +0100 (CET) (envelope-from wojtek@tensor.3miasto.net) X-Authentication-Warning: chylonia.3miasto.net: wojtek owned process doing -bs Date: Wed, 11 Jan 2006 02:05:15 +0100 (CET) From: Wojciech Puchar X-X-Sender: wojtek@chylonia.3miasto.net To: user In-Reply-To: Message-ID: <20060111020418.U66079@chylonia.3miasto.net> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: how should I (best practice) set up permissions for rsync ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2006 01:05:59 -0000 > Hi, > > I want to rsync /usr/home from one machine to another, for purposes of > backup. > i do: rsync -e "rsh" -avzrlHpogDtS --delete --delete-excluded --force \ --exclude-from=../$1-exclude root@$1:/ . where $1 is server name you may of course change rsh to ssh, and / to /usr/home :) this does EXACT copy, while it is possible it can be done better