REIUSA
asked on
RoboCopy Syntax help, speed, many files,
A few questions I have, with the syntax below will it do an incremental copy after the first initial copy or do you have to use the .MIR to do that?
I am copying a folder with a lot of files, it cannot be split or zipped. It is very slow, is there anything I can do to speed it up with different switches? Is there a better and faster copy option for a large number of files?
robocopy C:\test D:\Destination /E /COPY:DATOU /MT:32 /B /XF Stupidfiles.jpg /R:0 /LOG+:%LogFile%
I am copying a folder with a lot of files, it cannot be split or zipped. It is very slow, is there anything I can do to speed it up with different switches? Is there a better and faster copy option for a large number of files?
As you are copying from C drive to D drive so there is nothing to do with speed. Robocopy is the best option which is already used by you. Let us know the OS where you are using this command.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
/E => already doing mirror using this switch
/COPY:DATOU => copying with flags
/MT:32 => multi-threaded copies with n threads (default 8)
/B =>Copying files in Backup mode.
/XF Stupidfiles.jpg => excluded Files matching
/R:0 => not using retry so this switch not required.
/LOG+:%LogFile% => generating logs.
with all these switch it has to do a lot of work along with the backup mode. you can review these options once if you can remove any unwanted task then please remove it for easier task and faster.
/COPY:DATOU => copying with flags
/MT:32 => multi-threaded copies with n threads (default 8)
/B =>Copying files in Backup mode.
/XF Stupidfiles.jpg => excluded Files matching
/R:0 => not using retry so this switch not required.
/LOG+:%LogFile% => generating logs.
with all these switch it has to do a lot of work along with the backup mode. you can review these options once if you can remove any unwanted task then please remove it for easier task and faster.
NOTE: /E switch is used for mirror so it will delete files in the destination that are deleted from the source.
ASKER
Sorry left out some details. It is going over a WAN. I have done similar copies with the same amount of data but less files that went a lot faster. Using Windows 2008 to run command from. The files are on a network share on the same local network as the server.
The help file says "/E :: copy subdirectories, including Empty ones." It has to be used with Purge to mimic /MIR.
The help file says "/E :: copy subdirectories, including Empty ones." It has to be used with Purge to mimic /MIR.
I've got a setup that has to sync a lot of data over a very slow WAN. I use Linux boxes with RSync that have the Windows shares mounted. It works great. RSync only copies changed bits and not the whole files. It is also fast even on old PIII boxes. I'm running 1GHz PIIIs at several locations that RSync 100 plus Gigs of files every night over 2-4Mb connections. The first sync took a week or more but now it doesn't have any trouble running overnight since not too much is added daily.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.