I need to transfer over 1 Tb of data from a share on an 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.

  • 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

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!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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