Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Robocopy not copying files in use

Status
Not open for further replies.

dporrelli

Programmer
Dec 18, 2002
43
GB
I'm using robocopy to do a backup of files and folders to another directory, it does most of it OK, but there are files which are in constant use which will not copy. Can anyone suggest anything?

@echo off
setlocal
SET _source=C:\nicecti
SET _dest=D:\backup
SET _what=/COPYALL /B /MIR
SET _options=/R:0 /W:0 /LOG:mylogfile.txt /NFL /NDL
ROBOCOPY %_source% %_dest% %_what% %_options%
ROBOCOPY c:\ D:\backup uniqueca.txt

 
These servers never get rebooted, only when an error occurs or service pack is applied.
 
The only way this is provided for is through the Volume Shadow Service, and none of the CMD level utilities are able to accomodate this.

Sorry.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top