From owner-freebsd-questions@FreeBSD.ORG Wed May 3 14:38:30 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 A722616A402 for ; Wed, 3 May 2006 14:38:30 +0000 (UTC) (envelope-from freebsd@philip.pjkh.com) Received: from bravo.pjkh.com (bravo.pjkh.com [72.36.232.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62FD043D49 for ; Wed, 3 May 2006 14:38:30 +0000 (GMT) (envelope-from freebsd@philip.pjkh.com) Received: from bravo.pjkh.com (bravo.pjkh.com [72.36.232.219]) by bravo.pjkh.com (Postfix) with ESMTP id CA85313C7E7; Wed, 3 May 2006 09:41:04 -0500 (CDT) Received: by bravo.pjkh.com (Postfix, from userid 1000) id 6A85A13C7C0; Wed, 3 May 2006 09:41:04 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by bravo.pjkh.com (Postfix) with ESMTP id 67A0013C404; Wed, 3 May 2006 09:41:04 -0500 (CDT) Date: Wed, 3 May 2006 09:41:04 -0500 (CDT) From: Philip Hallstrom To: Jack Stone In-Reply-To: Message-ID: <20060503094003.V41943@bravo.pjkh.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-questions@freebsd.org Subject: Re: backup system rsync <-> dump 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, 03 May 2006 14:38:30 -0000 >> With the right settings of --backup --backup-dir you can easily create a >> week (or two or three or whatever) archive of the "daily" changed files. >> So, for example.. >> >> /backup/usr - contains identical copy >> /backup/dailys/usr/Mon - contains files that changed on /usr on Monday. >> >> Then just set things up to rotate/expire the old copies and you have an >> easy way to get files back you deleted that you didn't mean to. >> >> I can post the whole script if you're interested... >> >> -philip > > Philip: I would be very interested in seeing your script if you would kindliy > post it. http://www.pjkh.com/~philip/backups.tgz Pretty straight forward. Set your directories in files.sh, create 'server' directories in servers and define what files/directories to include/exclude. Then run the script... -philip