You are not logged in.

#1 07 Mar 2007 19:49

sedana
Member
Registered: 07 Mar 2007
Posts: 1

Robocopy ERROR 32 (0x00000020) Copying File D:\Direct\sdk.dbc

We are getting intermittent errors on Foxpro database container when doing nightly backup with Robocopy.

2007/03/07 03:25:45 ERROR 32 (0x00000020) Copying File D:\Direct\sdk.dbc
2007/03/07 03:25:45 ERROR 32 (0x00000020) Copying File D:\Direct\sdk.DCT

Any ideas on a fix for this? TIA.

Offline

#2 09 Mar 2007 18:58

bluesxman
Member
From: UK
Registered: 29 Dec 2006
Posts: 1,129

Re: Robocopy ERROR 32 (0x00000020) Copying File D:\Direct\sdk.dbc

<lots of assumptions>
I'm presuming the next line of error is "The process cannot access the file because it is being used by another
process."
In which case, the answer's in the question -- another process is locking the file, preventing robocopy from getting access.  I'm not familiar with the inner workings of FoxPro but I'd hazard a guess that the database software has the file open for writing.  Assuming all the above to be true, I guess you're going to have to cause the DB software to release the file so you can back it up.
As a side issue, I'd have to strongly question the viability of a database backed up whilst "online."  Is there no mechanism by which you can cause FoxPro to spit out a backup, which you could safely copy without fear of locking?
</lots of assumptions>


cmd | *sh | ruby | chef

Offline

Board footer

Powered by