sgarces
asked on
Trying to copy Data with Robocopy
Hello Experts,
I am trying to copy data from one File server to the other. I am using RoboCopy in order to copy the data as I wanted the NTFS permissions to come with the data but it keeps on skipping the majority of files. I am using the following syntax:
net use \\localhost\ipc$ /user:domain\Administrator Password
robocopy "C:\Data_old" "\\Server2\C$\Data_old" /COPYALL /V /ETA /TEE /LOG:"C:\DATA_OLD_COPY_LOG .txt" /R:10 /W:30
net use \\localhost\ipc$ /del
On the log it is just telling me the skipped files but not why.
-------------------------- ---------- ---------- ---------- ---------- ---------- --
Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0 0 0
Files : 20 0 20 0 0 0
Bytes : 41.57 m 0 41.57 m 0 0 0
Times : 0:00:00 0:00:00 0:00:00 0:00:00
Ended : Tue Aug 21 09:37:12 2012
I am copying from a Windows server 2008 server to a WS 2008 R2
Has any body got any ideas?
Regards
I am trying to copy data from one File server to the other. I am using RoboCopy in order to copy the data as I wanted the NTFS permissions to come with the data but it keeps on skipping the majority of files. I am using the following syntax:
net use \\localhost\ipc$ /user:domain\Administrator
robocopy "C:\Data_old" "\\Server2\C$\Data_old" /COPYALL /V /ETA /TEE /LOG:"C:\DATA_OLD_COPY_LOG
net use \\localhost\ipc$ /del
On the log it is just telling me the skipped files but not why.
--------------------------
Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0 0 0
Files : 20 0 20 0 0 0
Bytes : 41.57 m 0 41.57 m 0 0 0
Times : 0:00:00 0:00:00 0:00:00 0:00:00
Ended : Tue Aug 21 09:37:12 2012
I am copying from a Windows server 2008 server to a WS 2008 R2
Has any body got any ideas?
Regards
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I added the Switches into /e and / mir into my batch file and it worked as it should have done. Thanks alot oBdA.
http://www.microsoft.com/en-us/download/details.aspx?id=15155