Jamie786
asked on
Migrate Data from Windows 2008 to EMC CIFS Servers
Hi there,
I'm going to be migrating a large amount of data from a Windows 2008 file server to a EMC CIFS Server, now I'll probably use emcopy as it appears to be the best but I would like to know if you guys have used that before and any switches that you may recommend to use? One thing I'd like to check is that some of the users have changed there folder security access to only allow themselves and "SYSTEM" user to access the folder, is emcopy going to copy this data?
Also what is the best way to sync data the reason I ask is because once the data has been copied I would like to run a check on it to make sure no one has changed any data from the source or that EMCOPY didn't miss any data?
Thanks for any help.
I'm going to be migrating a large amount of data from a Windows 2008 file server to a EMC CIFS Server, now I'll probably use emcopy as it appears to be the best but I would like to know if you guys have used that before and any switches that you may recommend to use? One thing I'd like to check is that some of the users have changed there folder security access to only allow themselves and "SYSTEM" user to access the folder, is emcopy going to copy this data?
Also what is the best way to sync data the reason I ask is because once the data has been copied I would like to run a check on it to make sure no one has changed any data from the source or that EMCOPY didn't miss any data?
Thanks for any help.
ASKER
Thanks for the information the only thing I got an error on was the /Log:"C:\emc.log" command it seems to not like it and I had to set it to /Log:emc.log before it would run the command but at the moment not sure were it's dumping the log if at all.
But seems to be copying all the data so many thanks for the info I'll report back when done :)
But seems to be copying all the data so many thanks for the info I'll report back when done :)
Which utility are you using (ROBOCOPY or EMCOPY) ?
ASKER
I was using ROBOCOPY but I was getting a lot of errors when I tried to copy the permissions from folders that belonged to users that had been deleted.
ROBOCOPY doesn't seem to copy a folder that has a user that has been deleted, it will create the folder but not copy the data however EMCOPY seems to give the same error but it copies that files over so by default the files are getting the correct permissions because of the folders inheritance which is a bonus. Not sure why ROBOCOPY won't copy them.
ROBOCOPY doesn't seem to copy a folder that has a user that has been deleted, it will create the folder but not copy the data however EMCOPY seems to give the same error but it copies that files over so by default the files are getting the correct permissions because of the folders inheritance which is a bonus. Not sure why ROBOCOPY won't copy them.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
resolved my problem!
From my past experience I have used ROBOCOPY (which is included with Server 2008) for my data migration, daily replications and backup solutions.
Robocopy has all the switches you will need to stage a migration and then keep things in sync.
I would uses these switches for your migration.
/E = All Sub Directories
/XO = excluded older files is Source is the same date modified or older
/B = Backup Mode
/COPYALL = this copies all attributes including NTFS security settings.
/W:n = Warning Message and n= the number of seconds it waits for a retry (Default 30 seconds)
/R:n = The Number of retries n= the number (Default is 10000)
/Log:<filename.log> = Log file name
/TEE = Shows progress in Command Window
/NP = No Progress (does not show % of file copied) This is good when recording to a log file. If you do not use this your Log File will become extremely large and unreadable.
/V = Verbose (Good to use during a second pass with the /NFL /NDL switches) it will only show errors
/NFL = No File Log
/NDL = No Directory Log
With that being said you will what to create this:
Robocopy "Source" "Destination" /E /XO /B /W:1 /R:1 /Log:"C:\EMC.log" /TEE /NP
There is also the /MIR switch. This will make a complete mirror copy of the source on the Destination. If you use /E /PURGE it is the same. I do not like /MIR unless it is my first pass.
I prefer to use /E /XO /PURGE instead to keep locations in complete sync.
Here is a blurb from a EMC forum:
Re: Emcopy or sharedup
emcopy is a fancy version of robocopy ( if you are familiar with it). It allows you to copy data while preserving all NTFS ACLs, it's also multi-threaded so it's very fast. Sharedup allows you to migrate your shares/share permissions from your windows host to Celerra so you don't have to recreate those manually. Great tools.
Here is a sample syntax, i am copying data from x: drive to z: drive
emcopy x:\ z:\ /o /s /d /q /secfix /purge /stream /c /r:1 /w:1 /log:c:\emcopylog.txt
if you open command prompt and type emcopy ..you will see all the parameters.
Here is a PDF from EMC explaining the switches.
https://mydocs.emc.com/VNXDocs/CIFS_Environment_Utilities.pdf