From owner-freebsd-questions@FreeBSD.ORG Sat Nov 19 13:58:09 2005 Return-Path: X-Original-To: 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 D160E16A43B for ; Sat, 19 Nov 2005 13:58:09 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail24.sea5.speakeasy.net (mail24.sea5.speakeasy.net [69.17.117.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3962243D53 for ; Sat, 19 Nov 2005 13:58:09 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 31158 invoked from network); 19 Nov 2005 13:58:08 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail24.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 19 Nov 2005 13:58:08 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 0608028441; Sat, 19 Nov 2005 08:58:07 -0500 (EST) Sender: lowell@be-well.ilk.org To: questions@freebsd.org References: <20051118124412.T21919@maren.thelosingend.net> From: Lowell Gilbert Date: 19 Nov 2005 08:58:07 -0500 In-Reply-To: <20051118124412.T21919@maren.thelosingend.net> Message-ID: <44veyowxhs.fsf@be-well.ilk.org> Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Re: Backup scheme 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: Sat, 19 Nov 2005 13:58:10 -0000 Svein Halvor Halvorsen writes: > I'm in the process of employing the following backup scheme: > > 1) Take a snapshot using mksnap_ffs > 2) Mount the snapshot > 3) rsync the mounted snapshot to a remote server > 4) Unmount and delete local snapshot > 5) Take a new snapshot on the remote computer > 6) Rotate old snapshots > 7) Somehow export the snapshots back to the original computer > > > So I've got 1-6 working. This gived my a space efficient backup system, > remotely stored. As to pt. 7, I was thinking of using NFS, but since the > remote server is behind NAT, this seems unfeasible. So now what? > > NFS over VPN? ggated/ggatec? Other solutions? Routing protocols aren't going to help. If you want to mount a filesystem remotely, you need some kind of network filesystem. NFS is the most common way to do this, but should only be used on secure networks (you should be able to make it traverse NAT okay, but if there's a NAT in the way I'll guess there's probably also a public internet). Running NFS over an encrypted VPN is an obvious idea; you might want to look at net/arla (AFS) as well. There is work on an ssh-based remote filesystem ("fuse"), but I don't know much about it yet, beyond the fact that the recent FreeBSD status report announced it ready for use. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/