[K12OSN] Copying Files

Doug Simpson simpsond at leopards.k12.ar.us
Fri Jun 23 13:22:28 UTC 2006


And if you use webmin, esport the users from the old server.

Set up the new server and don't add any users to it during the install.

Once it is up, use webmin to import the new users to the new server 
*BEFORE* runnin the rsync provided below.

The users will be added and then their data dropped back into their 
/home/x.

Doug Simpson
Technology Specialist
DeQueen Public Schools
DeQueen, AR 71832
simpsond at leopards.k12.ar.us
Tux for President!

On Thu, 22 Jun 2006, Les Mikesell wrote:

> On Thu, 2006-06-22 at 18:30, Mark Cockrell wrote:
> > Hello All,
> >     I have what I hope will be an easy question for the more experienced 
> > among us.  I'm setting up a new server and I want to move the /home from 
> > the old one to the new one.  What would be the best/easiest way to move 
> > all the files and folders to the new machine while preserving ownership 
> > and permissions?
> 
> If they are both on the network at once, from the old machine:
> cd /home
> rsync -essh -av . newmachine:/home
> 
> -- 
>   Les Mikesell
>    les at futuresource.com
> 
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 




More information about the K12OSN mailing list