NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
e__e
May 26, 2015Aspirant
Import AD data to ReadyNas
Using ReadyNAS OS-6 316 Is it possible to import an existing MS Active DIrectory server data into ReadyNAS (users, groups, credentials ...)? Then to import Files and their access rights (linked ...
StephenB
May 27, 2015Guru - Experienced User
mdgm wrote: I think you can do this using robocopy
Something like this should work:
robocopy source destination /Z /E /DCOPY:T /COPYALL /R:3 /W:2 /MT:8 /V /TEE /LOG:Robocopy.log
Here's what the switches mean:
source :: Source Directory (drive:\path or \\server\share\path).
destination :: Destination Dir (drive:\path or \\server\share\path).
/Z :: Copies files in Restart mode.
/E :: copy subdirectories, including Empty ones.
/DCOPY:T :: COPY Directory Timestamps.
/COPYALL :: COPY ALL file info (equivalent to /COPY:DATSOU). Copies the Data, Attributes, Timestamps, Owners, Permissions and Auditing info
/R:n :: number of Retries on failed copies: default is 1 million but I set this to only retry three times.
/W:n :: Wait time between retries: default is 30 seconds but I set this to 2 seconds.
/V :: produce Verbose output, showing skipped files. Can be omitted (or /NP substituted - inhibits display of progress information).
/MT:n :: Multithreaded, n is number of threads. Can be omitted.
/TEE :: output to console window, as well as the log file.
/LOG:file :: output status to LOG file (overwrite existing log).
<adapted from http://community.spiceworks.com/topic/2 ... h-robocopy)
Note this only copies file/folder attributes, it does not copy network attributes (windows share settings). SAMBA might also ignore some of the information transferred - not sure about that. So try it on a test folder first.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!