Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Dec 2007 12:21:36 -0500
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Steve Franks <stevefranks@ieee.org>
Cc:        Jerry McAllister <jerrymc@msu.edu>, questions@freebsd.org
Subject:   Re: copying just / (not /tmp, /usr, etc) (rsync -x failed)
Message-ID:  <20071205172136.GD26079@gizmo.acns.msu.edu>
In-Reply-To: <539c60b90712050846x65d7456bw16753bbd4f36938e@mail.gmail.com>
References:  <539c60b90712041638s78b4e40fn67434f2dce5e27e7@mail.gmail.com> <20071205154148.GB21074@gizmo.acns.msu.edu> <539c60b90712050846x65d7456bw16753bbd4f36938e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 05, 2007 at 09:46:53AM -0700, Steve Franks wrote:

> >   dump 0af - / | restore -rf -
> 
> Jerry - thanks a million.  I was pouring over the dump/restore and
> 'backup basics' in the handbook, and couldn't for the life of me
> figure out how to get it to go to a filesystem instead of a
> tape/specialdevice/file.  Figured the only way was to use rsync.

You just name the file using the -f parameter.  
In this case, use the -f, but specify the file as - and it
uses STDOUT/STDIN.

By the way, dump/restore will work over the net; just pipe it via ssh.
When I have done that, it has seemed to be somewhat of a resource
hog while it was going.   But it worked.

////jerry

> 
> Steve



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