I wanted to try out/validate my remote backup. So I deleted (moved to different folder) my local db and tried to recreate the database. Unfortunately I got the following errors (full log at the end):
"Warnings": [
"2024-01-27 16:08:01 +01 - [Warning-Duplicati.Library.Main.Database.LocalRecreateDatabase-MissingVolumesDetected]: Found 3 missing volumes; attempting to replace blocks from existing volumes",
"2024-01-27 16:13:29 +01 - [Warning-Duplicati.Library.Main.Database.LocalRecreateDatabase-MissingVolumesDetected]: Found 3 missing volumes; attempting to replace blocks from existing volumes"
],
"Errors": [
"2024-01-27 16:03:44 +01 - [Error-Duplicati.Library.Main.Operation.RecreateDatabaseHandler-MissingFileDetected]: Remote file referenced as duplicati-b1eb5e3061c1a45a3839a4bc47d5a144b.dblock.zip.aes by duplicati-i35985736e69e4faea5a5bc8ce7b6ea6f.dindex.zip.aes, but not found in list, registering a missing remote file",
"2024-01-27 16:07:07 +01 - [Error-Duplicati.Library.Main.Operation.RecreateDatabaseHandler-MissingFileDetected]: Remote file referenced as duplicati-b1512b5fb010d484d864010b5ac8556f9.dblock.zip.aes by duplicati-id48eceb4bdd44bf9a28901bdd165ed95.dindex.zip.aes, but not found in list, registering a missing remote file",
"2024-01-27 16:07:36 +01 - [Error-Duplicati.Library.Main.Operation.RecreateDatabaseHandler-MissingFileDetected]: Remote file referenced as duplicati-b432335a1483543889dd9ad45cb187060.dblock.zip.aes by duplicati-ie9ca759663894befa58f2246dce72053.dindex.zip.aes, but not found in list, registering a missing remote file"
]
Running the command line with affected
didnât give me any results:
Duplicati.CommandLine.exe affected "file://D:\\duplicati backup test\\" duplicati-b1eb5e3061c1a45a3839a4bc47d5a144b.dblock.zip.aes duplicati-b1512b5fb010d484d864010b5ac8556f9.dblock.zip.aes duplicati-b432335a1483543889dd9ad45cb187060.dblock.zip.aes --dbpath="C:\WINDOWS\system32\config\systemprofile\AppData\Local\Duplicati\XLAZNTOGUL.sqlite" --passphrase="MY_PASSPHRASE"
No files are affected
The following related log messages were found:
27.01.2024 15:14:34: {"MainOperation":"Repair","RecreateDatabaseResults":{"MainOperation":"Repair","ParsedResult":"Su ...
running list-broken-files
and purge-broken-files
also didnât do anything:
"C:\Program Files\Duplicati 2\Duplicati.CommandLine.exe" list-broken-files "file://D:\\duplicati backup test\\" --dbpath="C:\WINDOWS\system32\config\systemprofile\AppData\Local\Duplicati\XLAZNTOGUL.sqlite" --passphrase="MY_PASSPHRASE"
Listing remote folder ...
"C:\Program Files\Duplicati 2\Duplicati.CommandLine.exe" purge-broken-files "file://D:\\duplicati backup test\\" --dbpath="C:\WINDOWS\system32\config\systemprofile\AppData\Local\Duplicati\XLAZNTOGUL.sqlite" --passphrase="MY_PASSPHRASE"
Listing remote folder ...
Do you have any idea how this could have happened and how I could fix it?
Here is the full log of the repair/recreate job in case that helps:
{
"MainOperation": "Repair",
"RecreateDatabaseResults": {
"MainOperation": "Repair",
"ParsedResult": "Success",
"Interrupted": false,
"Version": "2.0.7.100 (2.0.7.100_canary_2023-12-27)",
"EndTime": "2024-01-27T15:14:34.033561Z",
"BeginTime": "2024-01-27T14:56:08.8883545Z",
"Duration": "00:18:25.1452065",
"MessagesActualLength": 0,
"WarningsActualLength": 0,
"ErrorsActualLength": 0,
"Messages": null,
"Warnings": null,
"Errors": null,
"BackendStatistics": {
"RemoteCalls": 5211,
"BytesUploaded": 0,
"BytesDownloaded": 510043858,
"FilesUploaded": 0,
"FilesDownloaded": 5210,
"FilesDeleted": 0,
"FoldersCreated": 0,
"RetryAttempts": 0,
"UnknownFileSize": 0,
"UnknownFileCount": 0,
"KnownFileCount": 0,
"KnownFileSize": 0,
"LastBackupDate": "0001-01-01T00:00:00",
"BackupListCount": 0,
"TotalQuotaSpace": 0,
"FreeQuotaSpace": 0,
"AssignedQuotaSpace": 0,
"ReportedQuotaError": false,
"ReportedQuotaWarning": false,
"MainOperation": "Repair",
"ParsedResult": "Success",
"Interrupted": false,
"Version": "2.0.7.100 (2.0.7.100_canary_2023-12-27)",
"EndTime": "0001-01-01T00:00:00",
"BeginTime": "2024-01-27T14:56:08.8582191Z",
"Duration": "00:00:00",
"MessagesActualLength": 0,
"WarningsActualLength": 0,
"ErrorsActualLength": 0,
"Messages": null,
"Warnings": null,
"Errors": null
}
},
"ParsedResult": "Error",
"Interrupted": false,
"Version": "2.0.7.100 (2.0.7.100_canary_2023-12-27)",
"EndTime": "2024-01-27T15:14:34.6332821Z",
"BeginTime": "2024-01-27T14:56:08.8582191Z",
"Duration": "00:18:25.7750630",
"MessagesActualLength": 10428,
"WarningsActualLength": 2,
"ErrorsActualLength": 3,
"Messages": [
"2024-01-27 15:56:08 +01 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Repair has started",
"2024-01-27 15:56:09 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: ()",
"2024-01-27 15:56:09 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: (10,13 KB)",
"2024-01-27 15:57:41 +01 - [Information-Duplicati.Library.Main.Operation.RecreateDatabaseHandler-RebuildStarted]: Rebuild database started, downloading 29 filelists",
"2024-01-27 15:57:41 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-20230203T221239Z.dlist.zip.aes (7,08 MB)",
"2024-01-27 15:57:41 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-20230203T221239Z.dlist.zip.aes (7,08 MB)",
"2024-01-27 15:57:41 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-20230214T154235Z.dlist.zip.aes (7,09 MB)",
"2024-01-27 15:57:41 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-20230214T154235Z.dlist.zip.aes (7,09 MB)",
"2024-01-27 15:57:58 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-20230228T161739Z.dlist.zip.aes (7,10 MB)",
"2024-01-27 15:57:58 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-20230228T161739Z.dlist.zip.aes (7,10 MB)",
"2024-01-27 15:58:05 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-20230313T164542Z.dlist.zip.aes (7,29 MB)",
"2024-01-27 15:58:05 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-20230313T164542Z.dlist.zip.aes (7,29 MB)",
"2024-01-27 15:58:13 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-20230413T172901Z.dlist.zip.aes (7,33 MB)",
"2024-01-27 15:58:13 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-20230413T172901Z.dlist.zip.aes (7,33 MB)",
"2024-01-27 15:58:21 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-20230515T155651Z.dlist.zip.aes (7,38 MB)",
"2024-01-27 15:58:21 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-20230515T155651Z.dlist.zip.aes (7,38 MB)",
"2024-01-27 15:58:29 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-20230601T161142Z.dlist.zip.aes (7,40 MB)",
"2024-01-27 15:58:29 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-20230601T161142Z.dlist.zip.aes (7,40 MB)",
"2024-01-27 15:58:37 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-20230625T142750Z.dlist.zip.aes (7,41 MB)",
"2024-01-27 15:58:37 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-20230625T142750Z.dlist.zip.aes (7,41 MB)"
],
"Warnings": [
"2024-01-27 16:08:01 +01 - [Warning-Duplicati.Library.Main.Database.LocalRecreateDatabase-MissingVolumesDetected]: Found 3 missing volumes; attempting to replace blocks from existing volumes",
"2024-01-27 16:13:29 +01 - [Warning-Duplicati.Library.Main.Database.LocalRecreateDatabase-MissingVolumesDetected]: Found 3 missing volumes; attempting to replace blocks from existing volumes"
],
"Errors": [
"2024-01-27 16:03:44 +01 - [Error-Duplicati.Library.Main.Operation.RecreateDatabaseHandler-MissingFileDetected]: Remote file referenced as duplicati-b1eb5e3061c1a45a3839a4bc47d5a144b.dblock.zip.aes by duplicati-i35985736e69e4faea5a5bc8ce7b6ea6f.dindex.zip.aes, but not found in list, registering a missing remote file",
"2024-01-27 16:07:07 +01 - [Error-Duplicati.Library.Main.Operation.RecreateDatabaseHandler-MissingFileDetected]: Remote file referenced as duplicati-b1512b5fb010d484d864010b5ac8556f9.dblock.zip.aes by duplicati-id48eceb4bdd44bf9a28901bdd165ed95.dindex.zip.aes, but not found in list, registering a missing remote file",
"2024-01-27 16:07:36 +01 - [Error-Duplicati.Library.Main.Operation.RecreateDatabaseHandler-MissingFileDetected]: Remote file referenced as duplicati-b432335a1483543889dd9ad45cb187060.dblock.zip.aes by duplicati-ie9ca759663894befa58f2246dce72053.dindex.zip.aes, but not found in list, registering a missing remote file"
],
"BackendStatistics": {
"RemoteCalls": 5211,
"BytesUploaded": 0,
"BytesDownloaded": 510043858,
"FilesUploaded": 0,
"FilesDownloaded": 5210,
"FilesDeleted": 0,
"FoldersCreated": 0,
"RetryAttempts": 0,
"UnknownFileSize": 0,
"UnknownFileCount": 0,
"KnownFileCount": 0,
"KnownFileSize": 0,
"LastBackupDate": "0001-01-01T00:00:00",
"BackupListCount": 0,
"TotalQuotaSpace": 0,
"FreeQuotaSpace": 0,
"AssignedQuotaSpace": 0,
"ReportedQuotaError": false,
"ReportedQuotaWarning": false,
"MainOperation": "Repair",
"ParsedResult": "Success",
"Interrupted": false,
"Version": "2.0.7.100 (2.0.7.100_canary_2023-12-27)",
"EndTime": "0001-01-01T00:00:00",
"BeginTime": "2024-01-27T14:56:08.8582191Z",
"Duration": "00:00:00",
"MessagesActualLength": 0,
"WarningsActualLength": 0,
"ErrorsActualLength": 0,
"Messages": null,
"Warnings": null,
"Errors": null
}
}