You are not logged in.
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
<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