Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I need to transfer over 1tb of data from a share on a ext3 file system that our corporate office uses. The share contains files with different owners and groups and needs to be copied over maintaining these permissions.

share|improve this question
    
Do you need to copy from ext3 to NTFS, or are you using the NTFS filesystem as a transitory storage between two unix-native filesystems? Are you copying from or to ext3, by the way (your title and your body disagree)? How is the share accessible (Samba, presumably, but set up how)? –  Gilles Feb 6 '12 at 23:52
    
We have been running this share from samba on a Gentoo box. Most who use the share are logged into the domain here with Windows 2k3 boxes for the DC's. We decided to do away with samba shares and move to a windows share since file permission management will be more straight forward. –  Scott H Feb 7 '12 at 13:58

1 Answer 1

After experimenting with this, I have found that the best way to achieve this is to mount the SAMBA shares in Windows Server, and use Robocopy to sync the files. It will do a mirror copy if you want it to. It's a very robust file copy tool in windows (later versions) I knew nothing about prior to today.

In fact, it has a /SECFIX option that will fix security information on files already copied. I am testing this functionality against a rsync copy made of the ext3 fs we are moving. With any luck, before days end I will have a complete up to date copy of the corporate share including correct ownership and permissions!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.