Running 2.0.5.1_beta_2020-01-18 on Windows 10
A large backup job’s first run was stopped half way by a reboot. Now I’m stuck in endless loops. Since the whole job takes 10-15 days from scratch to upload and I was at 7 days when the pc rebooted I’d like to continue were I was.
.
Setting concurrency-max-threads to 1 does not help
Setting concurrency-block-hashers to 1 does not help
Setting concurrency-compressors to 1 does not help
Changing source to one single file that is 100% sure not locked does not help
.
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: The process cannot access the file because it is being used by another process.
- Delete database
GET: The process cannot access the file ‘C:\Users\MagnusT\AppData\Local\Duplicati\HXCBHDNVMN.sqlite’ because it is being used by another process.
- Restart Duplicati
- Delete database
- Start backup
GET: The process cannot access the file because it is being used by another process.
.
LOGFILE EXAMPLE
2021-03-01 21:57:50 +01 - [Warning-Duplicati.Library.Main.Operation.FilelistProcessor-ExtraUnknownFile]: Extra unknown file: duplicati-iff96aa746a1b4d18ae27608b48a40172.dindex.zip.aes
2021-03-01 21:57:50 +01 - [Warning-Duplicati.Library.Main.Operation.FilelistProcessor-ExtraUnknownFile]: Extra unknown file: duplicati-iffaa8f8c8ff0420e9a262f84677f3e2e.dindex.zip.aes
2021-03-01 21:57:50 +01 - [Warning-Duplicati.Library.Main.Operation.FilelistProcessor-ExtraUnknownFile]: Extra unknown file: duplicati-ifff6dc5a8a014fa689a4d553411f3e86.dindex.zip.aes
2021-03-01 21:57:50 +01 - [Error-Duplicati.Library.Main.Operation.FilelistProcessor-ExtraRemoteFiles]: Found 3296 remote files that are not recorded in local storage, please run repair
2021-03-01 21:57:50 +01 - [Warning-Duplicati.Library.Main.Operation.BackupHandler-BackendVerifyFailedAttemptingCleanup]: Backend verification failed, attempting automatic cleanup
Duplicati.Library.Interface.UserInformationException: Found 3296 remote files that are not recorded in local storage, please run repair
at Duplicati.Library.Main.Operation.FilelistProcessor.VerifyRemoteList(BackendManager backend, Options options, LocalDatabase database, IBackendWriter log, String protectedfile)
at Duplicati.Library.Main.Operation.BackupHandler.PreBackupVerify(BackendManager backend, String protectedfile)
2021-03-01 21:58:20 +01 - [Warning-Duplicati.Library.Main.Operation.RepairHandler-FailedToReadLocalDatabase]: Failed to read local db C:\Users\MagnusT\AppData\Local\Duplicati\HXCBHDNVMN.sqlite, error: database is locked
database is locked
code = Busy (5), message = System.Data.SQLite.SQLiteException (0x800007AF): database is locked
database is locked
at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
at System.Data.SQLite.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
at Duplicati.Library.Main.Database.ExtensionMethods.ExecuteScalarInt64(IDbCommand self, Boolean writeLog, String cmd, Int64 defaultvalue, Object[] values)
at Duplicati.Library.Main.Database.LocalDatabase..ctor(IDbConnection connection, String operation)
at Duplicati.Library.Main.Operation.RepairHandler.Run(IFilter filter)
2021-03-01 21:58:20 +01 - [Error-Duplicati.Library.Main.Operation.BackupHandler-FatalError]: Fatal error
System.IO.IOException: The process cannot access the file because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)
at Duplicati.Library.Main.Operation.RepairHandler.Run(IFilter filter)
at Duplicati.Library.Main.Operation.BackupHandler.PreBackupVerify(BackendManager backend, String protectedfile)
at Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__20.MoveNext()