From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 04:01:50 2005 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 994D616A4CE for ; Thu, 3 Mar 2005 04:01:50 +0000 (GMT) Received: from shell.reiteration.net (82-34-179-228.cable.ubr01.sout.blueyonder.co.uk [82.34.179.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 498F143D53 for ; Thu, 3 Mar 2005 04:01:50 +0000 (GMT) (envelope-from lists@reiteration.net) Received: from [127.0.0.1] (helo=reiteration.net) by shell.reiteration.net with esmtp (Exim 4.44 (FreeBSD)) id 1D6hZy-000NK3-5d for freebsd-questions@freebsd.org; Thu, 03 Mar 2005 04:04:50 +0000 From: "John" To: freebsd-questions@freebsd.org Date: Thu, 3 Mar 2005 04:04:47 +0000 Message-Id: <20050303034555.M96656@reiteration.net> In-Reply-To: <200503022140370229.01D910C3@filarescue.org> References: <200503022140370229.01D910C3@filarescue.org> X-Mailer: Open WebMail 2.50 20050106 X-OriginatingIP: 192.168.1.7 (jfm) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: lists@reiteration.net X-SA-Exim-Scanned: No (on shell.reiteration.net); SAEximRunCond expanded to false Subject: Re: Backing up server to Windows box 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: Thu, 03 Mar 2005 04:01:50 -0000 On Wed, 02 Mar 2005 21:40:37 -0600, Chris wrote > Hello, > > Does anyone know a good way to completely back up a FreeBSD server > (running things like Apache, a mail server, sshd, etc) to my home > WinXP box? [I don't do windows. This backs up one freebsd box to another via dump] I'm doing this with some bash scripting. > a) schedule a program on my WinXP box that ssh's to the server to > retrieve the files; or b) use cron to cause the server to ssh to my > WinXP box to push the files to me. > > Option 'b' seems more secure to me for some reason ... is there a > FreeBSD port/package that can handle that, if I were to run a ssh > server on my home computer? I do have a static IP address, but if > that were to ever change, I suppose option 'a' might be easier. It depends. Are you going to do this once or twice a year or do you also want to do differential (daily) backups? Have you got enough space to back up to a partition on the server then to sftp it down? My situation was a tad more complex. I run dump to standard output then pipe it to ssh using pubkey authentication to my home server into a directory on an external hard drive. This is easily scriptable, but tailor-made. If you want a package that will do it, take a look at sysutils/dar in the ports. There is also a windows port of it which may be more suitable for your needs. -- lists@reiteration.net