OK, found why the database locks itself out when running the job:
auto-cleanup
When auto-cleanup is set to on I always get the “The process cannot access the file because it is being used by another process.” on the database itself.
When auto-cleanup is turned off I have no problems with any locked file
.
= = = = = = = = = = = = = = = = = = = = = = = =
.
But I’m still locked in loops.
LOOP ONE:
- Delete database
- Repair database
GET: No filelists found on the remote destination
- Start backup
GET: The database was attempted repaired, but the repair did not complete. This database may be incomplete and the backup process cannot continue. You may delete the local database and attempt to repair it again.
- Delete database
- Repair database
GET: No filelists found on the remote destination
.
LOOP TWO:
- Delete database
- Start backup
GET: Found 3296 remote files that are not recorded in local storage, please run repair
- Repair database
GET: No filelists found on the remote destination
- Delete database
- Start backup
GET: Found 3296 remote files that are not recorded in local storage, please run repair