[plug] Migration of user directories

Anthony J. Breeds-Taurima tony at cantech.net.au
Thu Nov 28 16:32:09 WST 2002


On Thu, 28 Nov 2002, Patrick Tehvand wrote:

> hmm.
> 
> What is the best way to migrate /home/ directories and websites across to the 
> new server - while preserving attributes. scp seems to wipe them.

Assuming NFS is outta the question and the data won't be being edited at the
time.
tar czpmsO -C /home . | ssh root at NewBox 'tar vxzpmsf - -C /home'

Or similar?

rsync -lart -e ssh /home/* root at NewBox:/home/

Yours Tony

   Jan 22-25 2003           Linux.Conf.AU            http://linux.conf.au/
		  The Australian Linux Technical Conference!



More information about the plug mailing list