Marc Dubrowski
2005-Dec-12 11:07 UTC
[Samba] Migrating files with ACLS and Share properties
Hi list, I could'nt find specific info ion the subject on google, and I'm not sure if the list is appropriated, but, I need to migrate a complete directory-tree from one w2k server to 1st another w2kserver, an then, to a Samba Server (still to be installed). The biggest problem is, if I just copy the directory, I will loose all info over users and permissions. I will also loose the shared directories inside the top directory. (In fact, the shares have been made in with no common sense, but I temporarily have to keep this so for 1 or 2 months). Is there a tootl that will allow me to copy all the filesystem and keep the acls on the files. We are using AD for authentication in mixed mode. Could you give me some clues or pointers please ? THanks in advance Marc -- Marc Dubrowski Administrateur syst?mes/r?seaux C.I.R.B. Administration communale de Schaerbeek
Tomasz Chmielewski
2005-Dec-12 11:17 UTC
[Samba] Migrating files with ACLS and Share properties
Marc Dubrowski schrieb:> Hi list, > > I could'nt find specific info ion the subject on google, and I'm not > sure if the list is appropriated, but, > > I need to migrate a complete directory-tree from one w2k server to 1st > another w2kserver, an then, to a Samba Server (still to be installed). > > The biggest problem is, if I just copy the directory, I will loose all > info over users and permissions. I will also loose the shared > directories inside the top directory. (In fact, the shares have been > made in with no common sense, but I temporarily have to keep this so for > 1 or 2 months). > > Is there a tootl that will allow me to copy all the filesystem and keep > the acls on the files. > > We are using AD for authentication in mixed mode. > > Could you give me some clues or pointers please ?perhaps tar or rsync? -- Tomek http://wpkg.org WPKG - software management with Samba
Fabian Arrotin
2005-Dec-12 11:57 UTC
[Samba] Re: Migrating files with ACLS and Share properties
Usually i use robocopy from the Microsoft Resource Kit. robocopy.exe can save ntfs security permissions and applied them to Samba (if you use acls on Linux of course ...) example : robocopy \\source\share \\samba\share /MIR /SEC Marc Dubrowski wrote:> Hi list, > > I could'nt find specific info ion the subject on google, and I'm not > sure if the list is appropriated, but, > > I need to migrate a complete directory-tree from one w2k server to 1st > another w2kserver, an then, to a Samba Server (still to be installed). > > The biggest problem is, if I just copy the directory, I will loose all > info over users and permissions. I will also loose the shared > directories inside the top directory. (In fact, the shares have been > made in with no common sense, but I temporarily have to keep this so for > 1 or 2 months). > > Is there a tootl that will allow me to copy all the filesystem and keep > the acls on the files. > > We are using AD for authentication in mixed mode. > > Could you give me some clues or pointers please ? > > THanks in advance > > Marc > >