[Samba] Keeping Windows ACL's when migrating to SAMBA Server

Andrew Masterson Andrew.Masterson at nuvistaenergy.com
Mon Dec 20 16:30:49 MST 2010




-----Original Message-----
From: samba-bounces at lists.samba.org
[mailto:samba-bounces at lists.samba.org] On Behalf Of TAKAHASHI Motonobu
Sent: Saturday, December 18, 2010 10:20 PM
To: George
Cc: samba at lists.samba.org; Jeremy Allison
Subject: Re: [Samba] Keeping Windows ACL's when migrating to SAMBA
Server

2010/12/19 George <greenadmins at gmail.com>:
> Rightnow i got it half working but am having trouble with part of it.
If I
> use robocopy, It copies the files and ACL but not the correct create
of
> modify dates
>
> robocopy \\man_fs2\Batteries \\bed-fs1\servers\man_fs2\Batteries /sec
/e
>
> If I use xxcopy I can copy all the files with the proper create and
modify
> dates but it wont copy the ACL's.
>
> xxcopy \\man_fs2\Batteries \\bed-fs1\servers\man_fs2\Batteries /backup
>
> George

--------------------

Are you using the /COPYALL switch?

http://www.stevelu.com/TechnicalArticles/DevTools/1206.aspx  (for gory
flag details)

I have successfully migrated several servers with terabytes of data from
windows to linux by using robocopy (although I don't remember the exact
flags at the moment).  xcopy is unreliable for that much data IMX.

-=Andrew


More information about the samba mailing list