[ale] Copying directory structure from one machine to another
Jonathan Chum
jchum at aismedia.com
Wed Oct 23 16:39:51 EDT 2002
I'm attempting to move an ancient client of ours from a legacy machine to a
new dedicated box and so I've checked the size of the directory (du -sh
/home/user) and it resulted in 430 MB. Then I tarred it up (tar -cvpof
backup.tar /home/user) and then moved it over to the other machine via
RSYNC.
The problem is that after I extract it, it's now at 320 MB. There were only
2 files that did not extract because it couldn't set permissions correctly.
If I performed a cp -rf /home/user and copied it to my account and compared
the file size of the old directory and new directory, the new directory is
600 MB.
What exactly could be the problem? Is there a better way to zip up a
directory, retain the permissions and ownership?
Regards,
Jonathan Chum
Systems Developer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A I S M e d i a , I n c .
"We Build eBusinesses"
115 Perimeter Center Terrace
Suite 540
Atlanta, GA 30346
Tel: 800.784.0919, Ext 502 / Fax: 678.382.2471
http://www.aismedia.com / jchum at aismedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list