From owner-freebsd-questions@FreeBSD.ORG Tue Jun 30 22:09:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 639AD1065672 for ; Tue, 30 Jun 2009 22:09:22 +0000 (UTC) (envelope-from djp@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.123]) by mx1.freebsd.org (Postfix) with ESMTP id 1DA2E8FC12 for ; Tue, 30 Jun 2009 22:09:21 +0000 (UTC) (envelope-from djp@polands.org) Received: from haran.polands.org ([75.87.219.217]) by hrndva-omta04.mail.rr.com with ESMTP id <20090630214729817.HFRS17642@hrndva-omta04.mail.rr.com>; Tue, 30 Jun 2009 21:47:31 +0000 Received: from ammon.polands.org (ammon.polands.org [172.16.1.7]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id n5ULlQp9080899; Tue, 30 Jun 2009 16:47:26 -0500 (CDT) (envelope-from djp@polands.org) Received: from ammon.polands.org (localhost [127.0.0.1]) by ammon.polands.org (8.14.3/8.14.3) with ESMTP id n5ULlQ4E025220; Tue, 30 Jun 2009 16:47:26 -0500 (CDT) (envelope-from djp@ammon.polands.org) Received: (from djp@localhost) by ammon.polands.org (8.14.3/8.14.3/Submit) id n5ULlQXE025219; Tue, 30 Jun 2009 16:47:26 -0500 (CDT) (envelope-from djp) Date: Tue, 30 Jun 2009 16:47:25 -0500 From: Doug Poland To: Tim Judd Message-ID: <20090630214725.GA25162@polands.org> References: <8EDEF027DA0C4508B28F3DA3D51EF62C@hades> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: dave.mehler@gmail.com, freebsd-questions@freebsd.org Subject: Re: restoring a dump file across the network 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, 30 Jun 2009 22:09:22 -0000 On Tue, Jun 30, 2009 at 03:40:07PM -0600, Tim Judd wrote: > On 6/30/09, Dave wrote: > > Hello, > > I've got a dumpfile taken of one machine and placed on another. > > Now i want to push it to a third, i was wondering if this were > > doable? Machine 3 does not have dump/restore on it can't get it, > > so needs to have it sent over an encrypted ssh connection. > > > > If you don't have the restore program, a dumpfile won't help you. > You'd have to tar with permissions and untar on the opposite side. > A technique I've used with success in the past is nc(1). receiver# cd /somewhere receiver# nc -l 1234 | restore -rf- sender% nc receiver 1234 < dumpfile YMMV Regards, Doug