Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 2009 16:47:25 -0500
From:      Doug Poland <doug@polands.org>
To:        Tim Judd <tajudd@gmail.com>
Cc:        dave.mehler@gmail.com, freebsd-questions@freebsd.org
Subject:   Re: restoring a dump file across the network
Message-ID:  <20090630214725.GA25162@polands.org>
In-Reply-To: <ade45ae90906301440h73dc646qa10675dee4cb8b4d@mail.gmail.com>
References:  <8EDEF027DA0C4508B28F3DA3D51EF62C@hades> <ade45ae90906301440h73dc646qa10675dee4cb8b4d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 30, 2009 at 03:40:07PM -0600, Tim Judd wrote:
> On 6/30/09, Dave <dave.mehler@gmail.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090630214725.GA25162>