Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Oct 1998 00:38:49 -0800 (AKDT)
From:      Steve Howe <groggy@iname.com>
To:        "Armando Campble P." <acampble@panama.c-com.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Change Unix boxes
Message-ID:  <Pine.BSF.3.96.981004003248.442C-100000@abc.xyz.net>
In-Reply-To: <3616245B.86780662@panama.c-com.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 3 Oct 1998, Armando Campble P. wrote:

>  How can a move a directory (/home) or a group of directory(mail space
> directory), file structure from one freebsd box to a second box that are
> on the same network keeping the same file structure and owership as well
> as privilige and verify if the file structure is the same on both.

tar and gzip will do this.  but you have to be sure
to groups and users exist in your /etc in the box
you plan to move /usr/home to.  you may want to
copy your /etc  directory over first.

if the box you are planning to move things to does
not have the appropriate groups, then the groups
can't be created when you extract the archive.

you can ftp or sz the files to the new box,
or "split" the home.tar.gz file and move
the pieces by floppy.

useful commands are:

split -b 1572 (for 1.6M formatted floppies)
tar czvf home.tar.gz home (in the /usr dir)

hope this helps.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981004003248.442C-100000>