Link to home
Start Free TrialLog in
Avatar of meatdog8
meatdog8

asked on

Xcopy file in use failure

I am using xcopy in a batch file to back up some files on a server 2003 machine to an external harddrive.  When begining to copy a file that is in use (example 34fs3s.wa) the xcopy halts and does not finish.  Any ideas how to continue copying even if a file is in use?  
ASKER CERTIFIED SOLUTION
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of meatdog8
meatdog8

ASKER

Is backing up with xcopy then not advisable when backing up company data?
It depends on the type of files you are backing up, where you are backing them up to, and why.

Backing up to tape for offsite storage for disaster recovery and/or audit purposes, well anybody could look at the files so you could be compromising the security of the data.  Backing up to keep onsite for file recovery it not that bad and it is cheap.

You need to first figure out what the requirments are for backing up the data and then look at options.

1.  Encrypt files
2.  Zip files
3.  Xcopy


hec",)
thank you all for your help.