From owner-freebsd-questions@FreeBSD.ORG Wed Aug 4 19:57:04 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 1C7EE16A4CE for ; Wed, 4 Aug 2004 19:57:04 +0000 (GMT) Received: from destiny.chrononomicon.com (mail.chrononomicon.com [65.193.73.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A98643D1F for ; Wed, 4 Aug 2004 19:57:03 +0000 (GMT) (envelope-from bsilver@chrononomicon.com) Received: from [IPv6:::1] (destiny.chrononomicon.com [192.168.1.42]) by destiny.chrononomicon.com (Postfix) with ESMTP id 065D61FE26 for ; Wed, 4 Aug 2004 15:56:54 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v618) In-Reply-To: <868ycupzlk.fsf@PECTOPAH.shenton.org> References: <005501c479b5$6c0f4cc0$6401a8c0@Nomad> <20040804100300.3af0d4fb@bofh.spyderweb.com.au> <868ycupzlk.fsf@PECTOPAH.shenton.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <6DFA6F88-E650-11D8-8831-000A956D2452@chrononomicon.com> Content-Transfer-Encoding: 7bit From: Bart Silverstrim Date: Wed, 4 Aug 2004 15:56:52 -0400 To: freebsd-questions Questions X-Mailer: Apple Mail (2.618) Subject: Re: Remote backup hosting setup? 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: Wed, 04 Aug 2004 19:57:04 -0000 On Aug 4, 2004, at 1:44 PM, Chris Shenton wrote: > Tim Aslat writes: > >> Try one of the multitude of rsync based scripts, you can even get some >> very good incremental backups happening, > > I have been thinking about this for my own use. One problem with > basic rsync is that if (say) I trash a critical file and don't notice > it for a couple days, the (nightly) rsync will have overwritten the > good version with the trashed version. Yes. > So I've been thinking of having maybe 5 different copies at the > destination and rsyncing to a different one each night so I have 5 > different "backups" to go to -- just like in the days of > tape. Something conceptually like: I use a similar setup. Actually what I have for two servers is a scheme where you have system A and system B. System A has a directory tree to back up. System B pulls that directory daily from A using rsync over SSH. It will create a "synced image" of the tree to a local directory. Next system B decides if it is a regular workday or a friday, then if it's a workday it saves a gzip'ed tarball of the snapshot to a "daily" archive directory. If it is a friday, it saves the snapshot to a "long term" archive directory. It then runs a check for files that are greater than 7 or 8 days old in their creation time in the daily archive and deletes them, or if it's the long term archive run it'll check for files older than about three months and delete them. The filenames are composed of the dates embedded in the filenames. That way you have a week-long backup as well as a weekly backup going back several months. > Also, the original poster mentioned the source was windoze. If you > google "rsync windows" you'll find help on installing ssh and rsync on > a Windoze box so maybe you don't need UNIX at your client's firm. Try cygwin, running a ssh server as a service on 2000/xp. That should be all you'd need on the windows side listening as the server process. Or a batch file could kick it off I supposed, or at job... Depends really on how the OP wants to set it up...if they map network drives already, it would just be a case of copying J:\etc......otherwise fun scripts to mount shares on remote servers. Or run the backups from a central server. And they'd also have to decide if they're going to push or pull the backup... Have fun! -Bart