Vikrant Kamboj
asked on
Transfer one folder to another folder on windows server of big size about 300 GB.
How can we Transfer one folder to another folder on windows server of big size about 300 GB. I have to do automation via Jenkins.
ASKER
Robocopy \\server1\data \\server2\data /mir /copyall /dcopy:T.............can we do by this?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Michael...... Could you please tell me how to use robocopy in CMD.
Path :D:\zooker\bris\data\media \sys_maste r ( Source directory where data is kept about 300 GB on X Server)
Path: D:\mediafile (Destination folder on another Z server)
Path :D:\zooker\bris\data\media
Path: D:\mediafile (Destination folder on another Z server)
Here are great examples of the command.
ASKER
Is it correct?
Robocopy \\DE01WSSHDEV10\D:\Maxxazo \\DE01WSSHDEV14\D:\Maxxazo 12 /mir /copyall /dcopy:T
Robocopy \\DE01WSSHDEV10\D:\Maxxazo
That looks okay, give it a whirl - it is only copying data, shouldn't be an issue with trying.
Vikrant has to get it, nice job guys.
Maybe using a QNAP with Qsync is an alternative solution, this will automate it for you, using a shared folder pair on QNAP nas devices.
Maybe using a QNAP with Qsync is an alternative solution, this will automate it for you, using a shared folder pair on QNAP nas devices.
Robocoy is better solution on Windows OS level..It will also include your permissions if required..
TeraCopy comes to mind if you want something commercial based.
ASKER
I ran this command...result.......... ......
C:\Users\adm.Abhatnagar>RO BOCOPY "\\DE01DEV10\D:\Maxxazo" "\\DE01DEV12\D:\Vikrant" /E /COPYALL /R:1 /W:1 /DCOPY:T /V /TEE /LOG:AtoZ1apr15.log
Log File : C:\Users\adm.ABha\AtoZ1apr 15.log
-------------------------- ---------- ---------- ---------- ---------- ---------- ---
ROBOCOPY :: Robust File Copy for Windows
-------------------------- ---------- ---------- ---------- ---------- ---------- ---
Started : Wednesday, December 13, 2017 8:49:30 AM
2017/12/13 08:49:30 ERROR 67 (0x00000043) Getting File System Type of Source \\DE01WSSHDEV10\D:\Maxxazo \
The network name cannot be found.
2017/12/13 08:49:30 ERROR 67 (0x00000043) Getting File System Type of Destination \\DE01WSSHDEV12\D:\Vikrant \
The network name cannot be found.
Source - \\DE01DEV10\D:\Maxxazo\
Dest - \\DE01DEV12\D:\Vikrant\
Files : *.*
Options : *.* /V /TEE /S /E /DCOPY:T /COPY:DATSOU /R:1 /W:1
-------------------------- ---------- ---------- ---------- ---------- ---------- --
NOTE : NTFS Security may not be copied - Source may not be NTFS.
NOTE : NTFS Security may not be copied - Destination may not be NTFS.
2017/12/13 08:49:30 ERROR 67 (0x00000043) Accessing Source Directory \\DE01WSSHDEV10\D:\Maxxazo \
The network name cannot be found.
C:\Users\adm.Abhatnagar>RO
Log File : C:\Users\adm.ABha\AtoZ1apr
--------------------------
ROBOCOPY :: Robust File Copy for Windows
--------------------------
Started : Wednesday, December 13, 2017 8:49:30 AM
2017/12/13 08:49:30 ERROR 67 (0x00000043) Getting File System Type of Source \\DE01WSSHDEV10\D:\Maxxazo
The network name cannot be found.
2017/12/13 08:49:30 ERROR 67 (0x00000043) Getting File System Type of Destination \\DE01WSSHDEV12\D:\Vikrant
The network name cannot be found.
Source - \\DE01DEV10\D:\Maxxazo\
Dest - \\DE01DEV12\D:\Vikrant\
Files : *.*
Options : *.* /V /TEE /S /E /DCOPY:T /COPY:DATSOU /R:1 /W:1
--------------------------
NOTE : NTFS Security may not be copied - Source may not be NTFS.
NOTE : NTFS Security may not be copied - Destination may not be NTFS.
2017/12/13 08:49:30 ERROR 67 (0x00000043) Accessing Source Directory \\DE01WSSHDEV10\D:\Maxxazo
The network name cannot be found.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I have recommended this question be closed as follows:
Split:
-- serialband (https:#a42403701)
-- Michael Link (https:#a42401004)
-- Dmitri Farafontov (https:#a42402599)
If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.
Pber
Experts-Exchange Cleanup Volunteer
I have recommended this question be closed as follows:
Split:
-- serialband (https:#a42403701)
-- Michael Link (https:#a42401004)
-- Dmitri Farafontov (https:#a42402599)
If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.
Pber
Experts-Exchange Cleanup Volunteer
ASKER