restoring a dump file across the network

Doug Poland doug at polands.org
Tue Jun 30 22:09:22 UTC 2009


On Tue, Jun 30, 2009 at 03:40:07PM -0600, Tim Judd wrote:
> On 6/30/09, Dave <dave.mehler at 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



More information about the freebsd-questions mailing list