From owner-freebsd-questions@FreeBSD.ORG Sat Jan 3 02:58:31 2004 Return-Path: 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 778A416A4CE for ; Sat, 3 Jan 2004 02:58:31 -0800 (PST) Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02C1C43D5A for ; Sat, 3 Jan 2004 02:58:29 -0800 (PST) (envelope-from scott@tuatara.fishballoon.org) Received: from llama.fishballoon.org ([81.104.195.124]) by mta06-svc.ntlworld.comESMTP <20040103105829.OJYJ1005.mta06-svc.ntlworld.com@llama.fishballoon.org>; Sat, 3 Jan 2004 10:58:29 +0000 Received: from tuatara.fishballoon.org ([192.168.1.6]) by llama.fishballoon.org with esmtp (Exim 4.24; FreeBSD) id 1AcjTJ-000CcR-Jw; Sat, 03 Jan 2004 10:57:33 +0000 Received: (from scott@localhost) by tuatara.fishballoon.org (8.12.10/8.12.10/Submit) id i03AvWhA015056; Sat, 3 Jan 2004 10:57:32 GMT (envelope-from scott) Date: Sat, 3 Jan 2004 10:57:32 +0000 From: Scott Mitchell To: Eric Rescorla Message-ID: <20040103105731.GA14806@tuatara.fishballoon.org> References: <20040102172714.507A371B6@sierra.rtfm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040102172714.507A371B6@sierra.rtfm.com> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.9-STABLE i386 cc: freebsd-questions@freebsd.org Subject: Re: Plan 9 style backup utility for FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jan 2004 10:58:31 -0000 On Fri, Jan 02, 2004 at 09:26:59AM -0800, Eric Rescorla wrote: > I'm finally getting to the point where my disk capacity massively > outruns my tape capacity, so I'm thinking of converting to removable > disk-only backup. I could just use Amanda to backup to disk, but I'm > intrigued by Plan 9's archival filesystem where backups from (say Jan 1, > 1999) would go in /1999/1/1 and you could just find the files directly > rather than grovelling through dump files. > > Is there some standard tool for doing this on FreeBSD? You can't just > do a direct copy cause this results in major disk space wastage so I'm > imagining you need to use hard links or something to keep the size down. Check out rsync and the "--link-dest=DIR" option. This will hardlink unchanged files to the previous copy in the link-dest directory, rather than copying the data again. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon