Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Oct 1998 10:41:28 +0500 (KGT)
From:      CyberPsychotic <fygrave@freenet.bishkek.su>
To:        "Armando Campble P." <acampble@panama.c-com.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Change Unix boxes
Message-ID:  <Pine.BSD.4.02.9810041033240.425-100000@freenet.kg>
In-Reply-To: <3616245B.86780662@panama.c-com.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>  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.
> 
> Please send command-line that can accomplish this process more
> efficiently.

1. you can tar/gzip all the things and then move archive file to other box
and untar it there:

to tar tar zcfp foo.tar.gz /home
to untar on the other box:
cd /
tar zxfp foo.tar.gz

2. do it via NFS
setup NFS service on the other box, add there
/home	your_other_box(rw)

then mount it and use cp -a or whatever you'd want to copy files



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.BSD.4.02.9810041033240.425-100000>