From owner-freebsd-questions@FreeBSD.ORG Tue Oct 24 22:36:01 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 CC5E616A403 for ; Tue, 24 Oct 2006 22:36:01 +0000 (UTC) (envelope-from james@pil.net) Received: from richard2.pil.net (mail.pil.net [207.7.198.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 523E743D53 for ; Tue, 24 Oct 2006 22:36:01 +0000 (GMT) (envelope-from james@pil.net) Received: (qmail 44679 invoked by uid 1001); 24 Oct 2006 22:35:48 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 24 Oct 2006 22:35:48 -0000 Date: Tue, 24 Oct 2006 18:35:48 -0400 (EDT) From: James Smallacombe To: Eric In-Reply-To: <453E7121.9090105@mikestammer.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: Copying binaries to new server 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: Tue, 24 Oct 2006 22:36:01 -0000 On Tue, 24 Oct 2006, Eric wrote: > James Smallacombe wrote: > > On Tue, 24 Oct 2006, Jerry McAllister wrote: > >> True, but I think the poster was suggesting that dump/restore is > >> a better way than using tar. > > > > I'm not as familiar with BSD dump...does it compress well? Also, what's this? > > Take a dump > dump -0uanLf - /var | bzip2 | dd of=/some/path/dump-var-level0.bz2 > dump -0uanLf - / | bzip2 | dd of=/some/path/dump-root-level0.bz2 > dump -0uanLf - /usr | bzip2 | dd of=/some/path/dump-usr-level0.bz2 > > Restore a dump > To Restore Interactively Thanks, this seems to be doing the trick. However, I am getting a ton of these upon restoring the contents of /usr on the new server: warning: cannot create symbolic link ./src/sys/i386/compile/NEW_NS1.SMP/modules/usr/src/sys/modules/if_ppp/machine->/usr/src/sys/i386/include: File exists Is it just that the symlinks already exist on the new server and it won't overwrite them the way they overwrite regular files? Thanks again, James Smallacombe Internet Access for The Delaware james@pil.net Valley in PA, NJ and DE PlantageNet Internet Ltd. http://www.pil.net =========================================================================