
When one of the development people went into the development folder (first one copied over) late last night, it was empty.Īlways a good idea to change the batch file name and log file name between runs, unless you use my batch file which uses the time and date also. I did have an older folder with the name development so, I put it under a new folder called old stuff. I copied over the rest of the folders from another server to the new server. I copied over a directory (development) from one old server to the new one with no flaws. Hey starg33ker's, solution worked great with one exception. "c:\Program Files\blat322\full\blat.exe" -attach "%logpath%%filename%" -server -u -pw inplaintext -f -t -subject "Subject" -body "Robocopy Log File"

::robocopy %sourcepath% %destinationpath% /MIR /V /ETA /COPYALL /R:0 /W:0 /NP /MT /LOG+:"%logpath%%filename%" /TEE ::robocopy %sourcepath% %destinationpath% *.vbk /MINAGE:2 /MAXAGE:7 /MIR /V /ETA /COPYALL /R:0 /W:0 /NP /MT /LOG:"%logpath%%filename%" /TEE

Robocopy %sourcepath% %destinationpath% /E /R:15 /W:5 /LOG:"%logpath%%filename%" /NP /MIR ::Include format yyyy-mm-dd#hh-mm-ss.ms in log filename ::TEE Output to console window as well as log file ::(MINAGE:) Exclude files newer than n days ::(MAXAGE:) Exclude files older then n days ::(MT) Do multi-threaded copies with n threads (default 8). ::COPYALL Copy all file info - equivalent to COPY:DATSOU

::(NP) do not include progress txt in logfile this keeps filesize down
