I’m experiencing a strange problem when running some test restores from B2. The restore itself seems to work because the recovered file appears in the destination directory as expected, however Duplicati shows messages like these in the restore logs:
2020-03-13 12:31:05 +11 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: "duplicati-b0ca4b7f34e6e428d9c80db884d43427c.dblock.zip.aes", message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data
What’s strange is that the full restored file seems to appear in the filesystem before anything has been downloaded from B2, according to the live logs. Almost as if Duplicati is sourcing the file locally?
I’ve manually downloaded and successfully decrypted the files using the SharpAESCrypt.exe utility, and the ZIP file they contain also extracts without a problem.
I’m worried that in the case of a full loss I don’t actually have working backups.
Version: 2.0.5.1_beta_2020-01-18
OS: Windows Server 2019 (1809)
Full log:
{
“RestoredFiles”: 1,
“SizeOfRestoredFiles”: 197910528,
“RestoredFolders”: 0,
“RestoredSymlinks”: 0,
“PatchedFiles”: 0,
“DeletedFiles”: 0,
“DeletedFolders”: 0,
“DeletedSymlinks”: 0,
“MainOperation”: “Restore”,
“RecreateDatabaseResults”: null,
“ParsedResult”: “Error”,
“Version”: “2.0.5.1 (2.0.5.1_beta_2020-01-18)”,
“EndTime”: “2020-03-13T01:31:05.8798968Z”,
“BeginTime”: “2020-03-13T01:29:14.2897892Z”,
“Duration”: “00:01:51.5901076”,
“MessagesActualLength”: 15,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 1,
“Messages”: [
“2020-03-13 12:29:14 +11 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Restore has started”,
“2020-03-13 12:29:14 +11 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: ()”,
“2020-03-13 12:29:21 +11 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: (5.49 KB)”,
“2020-03-13 12:29:21 +11 - [Information-Duplicati.Library.Main.Database.LocalRestoreDatabase-SearchingBackup]: Searching backup 0 (13/03/2020 12:51:46 AM) …”,
“2020-03-13 12:29:23 +11 - [Information-Duplicati.Library.Main.Operation.RestoreHandler-RemoteFileCount]: 1 remote files are required to restore”,
“2020-03-13 12:29:23 +11 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b0ca4b7f34e6e428d9c80db884d43427c.dblock.zip.aes (49.92 MB)”,
“2020-03-13 12:29:30 +11 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-b0ca4b7f34e6e428d9c80db884d43427c.dblock.zip.aes (49.92 MB)”,
“2020-03-13 12:29:40 +11 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b0ca4b7f34e6e428d9c80db884d43427c.dblock.zip.aes (49.92 MB)”,
“2020-03-13 12:29:53 +11 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-b0ca4b7f34e6e428d9c80db884d43427c.dblock.zip.aes (49.92 MB)”,
“2020-03-13 12:30:04 +11 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b0ca4b7f34e6e428d9c80db884d43427c.dblock.zip.aes (49.92 MB)”,
“2020-03-13 12:30:17 +11 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-b0ca4b7f34e6e428d9c80db884d43427c.dblock.zip.aes (49.92 MB)”,
“2020-03-13 12:30:27 +11 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b0ca4b7f34e6e428d9c80db884d43427c.dblock.zip.aes (49.92 MB)”,
“2020-03-13 12:30:41 +11 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-b0ca4b7f34e6e428d9c80db884d43427c.dblock.zip.aes (49.92 MB)”,
“2020-03-13 12:30:51 +11 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b0ca4b7f34e6e428d9c80db884d43427c.dblock.zip.aes (49.92 MB)”,
“2020-03-13 12:31:05 +11 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Failed: duplicati-b0ca4b7f34e6e428d9c80db884d43427c.dblock.zip.aes (49.92 MB)”
],
“Warnings”: ,
“Errors”: [
“2020-03-13 12:31:05 +11 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-b0ca4b7f34e6e428d9c80db884d43427c.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”
],
“BackendStatistics”: {
“RemoteCalls”: 6,
“BytesUploaded”: 0,
“BytesDownloaded”: 0,
“FilesUploaded”: 0,
“FilesDownloaded”: 0,
“FilesDeleted”: 0,
“FoldersCreated”: 0,
“RetryAttempts”: 4,
“UnknownFileSize”: 0,
“UnknownFileCount”: 0,
“KnownFileCount”: 5626,
“KnownFileSize”: 147129461586,
“LastBackupDate”: “2020-03-13T11:51:46+11:00”,
“BackupListCount”: 12,
“TotalQuotaSpace”: 0,
“FreeQuotaSpace”: 0,
“AssignedQuotaSpace”: -1,
“ReportedQuotaError”: false,
“ReportedQuotaWarning”: false,
“MainOperation”: “Restore”,
“ParsedResult”: “Success”,
“Version”: “2.0.5.1 (2.0.5.1_beta_2020-01-18)”,
“EndTime”: “0001-01-01T00:00:00”,
“BeginTime”: “2020-03-13T01:29:14.2897892Z”,
“Duration”: “00:00:00”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null
}
}