On Fri, Aug 22, 2014 at 10:28 AM, Christopher Zimmermann
<chr...@openbsd.org> wrote:
> I usually do dump -0auf 140822var.dump0 /var for dumping /var in a
> file or
> dump -0auf - /var |nc -l 11111 on source and
> restore -rf - |nc source 11111

OK I want to try this so that I have better control of things and
understand it all better

On the restore side I guess I have to have the new /var mounted in the
cwd where I run this command?
e.g.
mkdir /mnt/var
chmod 0777 /mnt/var
mount /dev/foo /mnt/var
cd /mnt/var

and shouldn't the restore/nc be the other way around?  So now :

nc source 11111 | restore -rf -

Also, I have the OpenBSD install CD booted and I exited to shell, but
there does not seem to be an nc there.

What are you booting on the restore side?

And do you have the -l option on the correct end up there?

I'm relatively new to nc as well but man page says that is "listen"
for incoming connection


-- 
"Don't eat anything you've ever seen advertised on TV"
         - Michael Pollan, author of "In Defense of Food"

Reply via email to