From owner-freebsd-questions@FreeBSD.ORG Mon Mar 20 00:05:58 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 8950316A400 for ; Mon, 20 Mar 2006 00:05:58 +0000 (UTC) (envelope-from pergesu@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 203F543D45 for ; Mon, 20 Mar 2006 00:05:58 +0000 (GMT) (envelope-from pergesu@gmail.com) Received: by zproxy.gmail.com with SMTP id q3so966888nzb for ; Sun, 19 Mar 2006 16:05:57 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=bLtnjG2LNFDHuBg2F39HCDj0Unm4SXyEAvhACwCP4CcwUuPtbbg0bl5Emxeq6r8bzoUNQWUzL8GtsOWZ/Q3Gwx0OWQfGxo+XWjAtyb6jG4zI9MnlUX7zAOOE5EVfABFOpthGsf0LvZaZu+xp1NIUTx6M2HjBuGSy78DkZaGV5tM= Received: by 10.36.82.17 with SMTP id f17mr410938nzb; Sun, 19 Mar 2006 16:05:56 -0800 (PST) Received: by 10.36.50.5 with HTTP; Sun, 19 Mar 2006 16:05:56 -0800 (PST) Message-ID: <810a540e0603191605p3e74376csa12475dd14d36a3@mail.gmail.com> Date: Sun, 19 Mar 2006 17:05:56 -0700 From: "Pat Maddox" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: /home is symlinked to /usr/home - question about backups 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: Mon, 20 Mar 2006 00:05:58 -0000 I got a dedicated server a while ago, and it came with /home symlinked to /usr/home. I'm not entirely sure why, to tell you the truth, but it's never posed a problem. However if I run rsync -avz to back up my server, it creates something like this: /backup/march/19/home -> /usr/home So if I were to go to /backup/march/19 and rm -rf * wouldn't it go and delete everything in /usr/home? That's obviously not my intended result. I've read all the symlink options in man rsync but honestly am not sure what it is that I need to do. Ideally I'd like to have symlinks reference the relative file..so something like /backup/march/19/home -> /backup/march/19/usr/home That way I don't lose all my stuff if I remove the file from backup.=20 Right now I'm just ignoring /home when I rsync, but it makes me kind of worried that if I ever backup without ignoring /home and then delete my backup I might lose my live data...I could really use some info. Pat