Failed to restore failed to decrypt

Hi All,

I’m backing up a disk D on a computer nr 1 to a online storage. The backup is running good. No errors.
I would like to test restore on computer 2 and somehow this is not working.

I downloaden all files from the online backup storage.
Selected restore, point to backup files, add a passphrase (and checked if this is correct :-), selected all files and that it should be restore on computer 2 folder n:/output.

The folder structure of the orginal computer 1 is created in computer 2 in the outputfolder but the actual files are never coming. The running task is constantly:
Restoring files …
Downloading files …

The duplicati proces in task manager is running. If I stop the task I got errors …

{
“RestoredFiles”: 0,
“SizeOfRestoredFiles”: 0,
“RestoredFolders”: 1104,
“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-09-16T18:50:49.0101315Z”,
“BeginTime”: “2020-09-16T18:35:44.7600076Z”,
“Duration”: “00:15:04.2501239”,
“MessagesActualLength”: 215,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 19,
“Messages”: [
“2020-09-16 20:35:44 +02 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Restore has started”,
“2020-09-16 20:35:44 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: ()”,
“2020-09-16 20:35:44 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: (313 bytes)”,
“2020-09-16 20:35:44 +02 - [Information-Duplicati.Library.Main.Database.LocalRestoreDatabase-SearchingBackup]: Searching backup 0 (13-9-2020 14:35:23) …”,
“2020-09-16 20:35:49 +02 - [Information-Duplicati.Library.Main.Operation.RestoreHandler-RemoteFileCount]: 155 remote files are required to restore”,
“2020-09-16 20:35:49 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-bef866033290a421689682b0338911d28.dblock.zip.aes (49.95 MB)”,
“2020-09-16 20:35:50 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-bef866033290a421689682b0338911d28.dblock.zip.aes (49.95 MB)”,
“2020-09-16 20:36:00 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-bef866033290a421689682b0338911d28.dblock.zip.aes (49.95 MB)”,
“2020-09-16 20:36:00 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-bef866033290a421689682b0338911d28.dblock.zip.aes (49.95 MB)”,
“2020-09-16 20:36:10 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-bef866033290a421689682b0338911d28.dblock.zip.aes (49.95 MB)”,
“2020-09-16 20:36:11 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-bef866033290a421689682b0338911d28.dblock.zip.aes (49.95 MB)”,
“2020-09-16 20:36:21 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-bef866033290a421689682b0338911d28.dblock.zip.aes (49.95 MB)”,
“2020-09-16 20:36:21 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-bef866033290a421689682b0338911d28.dblock.zip.aes (49.95 MB)”,
“2020-09-16 20:36:32 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-bef866033290a421689682b0338911d28.dblock.zip.aes (49.95 MB)”,
“2020-09-16 20:36:32 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Failed: duplicati-bef866033290a421689682b0338911d28.dblock.zip.aes (49.95 MB)”,
“2020-09-16 20:36:32 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b69624130c00b400fba3099bb97abf0fa.dblock.zip.aes (49.99 MB)”,
“2020-09-16 20:36:33 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-b69624130c00b400fba3099bb97abf0fa.dblock.zip.aes (49.99 MB)”,
“2020-09-16 20:36:43 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b69624130c00b400fba3099bb97abf0fa.dblock.zip.aes (49.99 MB)”,
“2020-09-16 20:36:43 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-b69624130c00b400fba3099bb97abf0fa.dblock.zip.aes (49.99 MB)”,
“2020-09-16 20:36:54 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b69624130c00b400fba3099bb97abf0fa.dblock.zip.aes (49.99 MB)”
],
“Warnings”: ,
“Errors”: [
“2020-09-16 20:36:32 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-bef866033290a421689682b0338911d28.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”,
“2020-09-16 20:37:15 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-b69624130c00b400fba3099bb97abf0fa.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”,
“2020-09-16 20:37:58 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-bff9b2fe680b844af8a72a0811b18038b.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”,
“2020-09-16 20:38:41 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-bb882912fa06a4461904f2aa3518ec06b.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”,
“2020-09-16 20:39:24 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-b26f5a2db486e463287b079e87957ed8c.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”,
“2020-09-16 20:40:07 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-bac9f190da08545038c350a76991258f2.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”,
“2020-09-16 20:40:49 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-bfeeced6101be49cc9cdc5d9f7e4535e5.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”,
“2020-09-16 20:41:32 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-b08ec8cb9056548e0ac0cb432809cecaf.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”,
“2020-09-16 20:42:15 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-b271921652c6a484f9cc6c917a77c70fd.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”,
“2020-09-16 20:42:58 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-b4029164473934cad96fa820a5785c5b8.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”,
“2020-09-16 20:43:41 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-b720c7ab4c3164044b232fc6d3cde0532.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”,
“2020-09-16 20:44:24 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-b6507b58d94c3408796ca03745588a728.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”,
“2020-09-16 20:45:06 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-b3773492ef71d41a9a650fb4669439170.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”,
“2020-09-16 20:45:49 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-b7a96babea8b342dfa91cdc1d3b3458d0.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”,
“2020-09-16 20:46:32 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-b4bdeb77ba5c3490ca2d6c2f0ac81525f.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”,
“2020-09-16 20:47:15 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-b95a27fb301d2449db9831b2377f1a77e.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”,
“2020-09-16 20:47:57 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-b32bad94b77414d648e50e67a074a8a39.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”,
“2020-09-16 20:48:40 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-b5d5ddad957a04899b3ba13ce61126f51.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”,
“2020-09-16 20:49:23 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-b6be2a996d8e04162a2f2d5a13d603137.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”
],
“BackendStatistics”: {
“RemoteCalls”: 106,
“BytesUploaded”: 0,
“BytesDownloaded”: 0,
“FilesUploaded”: 0,
“FilesDownloaded”: 0,
“FilesDeleted”: 0,
“FoldersCreated”: 0,
“RetryAttempts”: 84,
“UnknownFileSize”: 8100278712,
“UnknownFileCount”: 2,
“KnownFileCount”: 311,
“KnownFileSize”: 8097677835,
“LastBackupDate”: “2020-09-13T16:35:23+02:00”,
“BackupListCount”: 1,
“TotalQuotaSpace”: 644244828160,
“FreeQuotaSpace”: 55062900736,
“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-09-16T18:35:44.7600076Z”,
“Duration”: “00:00:00”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null
}
}

So of course I checked the pass frase but this one is correct. Then I deleted everything from the online storage. Run a backup from computer 1 to online storage again but had no luck.

Which steps can I do in order to test a good restore?

I installed AES and tried to manually decrypt the file

“2020-09-16 20:36:32 +02 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: “duplicati-bef866033290a421689682b0338911d28.dblock.zip.aes”, message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data”,

And this is working perfect. I gives a nice zip file.

I tested more: After closing the browser and looking at the gui The running task show: downloading files while on the screen says waiting to task to begin.

Anty suggestion how I can proceed?

What web browser, and do you let it (or anything) save passwords, then autofill them?
If so, try having it leave the Duplicati URL (typically localhost:8200 but may vary) alone.

I’m using Chrome. I will try to disable the autofill. In mean time I may have a solution. I’m know restoring by cli with command:

“C:\Program Files\Duplicati 2\Duplicati.CommandLine.exe” restore file://y:\bcking\BackupI --restore-path=y:\bing

I now get errors again but will try again. Could it be a problem that the backup is 300 GB ?

There shouldn’t be a problem but that will take awhile.

What errors? Is that the whole line? If so, most of what you need is missing (including decryption info).
An easy way to run CLI is to start with an Export As Command-line, then edit it from backup to restore.
CLI is independent of GUI. All needed options need to be supplied, so above is easy way to match GUI.

mmm, I used the CLI as mentioned before (and entered the decryption string) (so not the export way) It is displaying:

Downloading file (49,82 MB) …
Downloading file (50,02 MB) …
Downloading file (50,00 MB) …
Downloading file (50,01 MB) …
Checking remote backup …
Listing remote folder …
123890 files need to be restored (319,97 GB)
Checking existing target files …
Scanning local files for needed data …

And now it is not progressing anymore. I waited 20 hours, I will try to export the command …

And just as I posted the message before it started to show:

123890 files need to be restored (319,97 GB)
Checking existing target files …
Scanning local files for needed data …

123872 files need to be restored (319,96 GB)
123852 files need to be restored (319,96 GB)
123814 files need to be restored (319,94 GB)
123756 files need to be restored (319,94 GB)
123696 files need to be restored (319,92 GB)
123676 files need to be restored (319,90 GB)
123656 files need to be restored (319,89 GB)

But then some errors came…

Failed to patch file: “” with local data, message: Not enough memory resources are available to process this command.
=> Not enough memory resources are available to process this command.

This error came for 20 files, and also for many other…

after that is it continuing…

Ouch. DoesTask Manager Performance tab Memory statistic show Comitted pushing up near its limit?
If so, Processes or Details tab can suggest what’s using lots of memory and maybe can be closed…
At the end of Restore is a check of its files. If that memory shortage caused a problem, you might hear.

Here’s the note that I took during the restoring process. TL;DR: It’s related to the web interface, so use command line instead.

Working on Windows 10 and after using the web interface to create and run a backup job called “test-backup” with destination pointing to a USB-connected external hard drive successfully, the restoring process is acting strange.

  1. If just one file is selected to restore and the source folder remains where it is originally, the file can be restored to a new location but an error such as below is still reported:

    2020-11-02 17:00:13 +08 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: "duplicati-b5b00656e1c2e4399905807e3f1c00507.dblock.zip.aes", message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data
    

    Complete log:

    {
      "RestoredFiles": 0,
      "SizeOfRestoredFiles": 0,
      "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-11-02T08:41:54.7965139Z",
      "BeginTime": "2020-11-02T08:41:13.6612302Z",
      "Duration": "00:00:41.1352837",
      "MessagesActualLength": 16,
      "WarningsActualLength": 0,
      "ErrorsActualLength": 2,
      "Messages": [
        "2020-11-02 16:41:13 +08 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Restore has started",
        "2020-11-02 16:41:13 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started:  ()",
        "2020-11-02 16:41:13 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed:  (3 bytes)",
        "2020-11-02 16:41:13 +08 - [Information-Duplicati.Library.Main.Database.LocalRestoreDatabase-SearchingBackup]: Searching backup 0 (11/2/2020 6:36:55) ...",
        "2020-11-02 16:41:13 +08 - [Information-Duplicati.Library.Main.Operation.RestoreHandler-RemoteFileCount]: 1 remote files are required to restore",
        "2020-11-02 16:41:13 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:13 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:23 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:24 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:34 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:34 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:44 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:44 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:54 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:54 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Failed: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:54 +08 - [Information-Duplicati.Library.Main.Operation.RestoreHandler-RestoreFailures]: Failed to restore 1 files, additionally the following files failed to download, which may be the cause:\r\nduplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes"
      ],
      "Warnings": [],
      "Errors": [
        "2020-11-02 16:41:54 +08 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: \"duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes\", message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data",
        "2020-11-02 16:41:54 +08 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-RestoreFileFailed]: Could not find a part of the path 'D:\\test-backup\\【5】剑桥雅思真题5.pdf'."
      ],
      "BackendStatistics": {
        "RemoteCalls": 6,
        "BytesUploaded": 0,
        "BytesDownloaded": 0,
        "FilesUploaded": 0,
        "FilesDownloaded": 0,
        "FilesDeleted": 0,
        "FoldersCreated": 0,
        "RetryAttempts": 4,
        "UnknownFileSize": 0,
        "UnknownFileCount": 0,
        "KnownFileCount": 3,
        "KnownFileSize": 51521207,
        "LastBackupDate": "2020-11-02T14:36:55+08:00",
        "BackupListCount": 1,
        "TotalQuotaSpace": 1000203833344,
        "FreeQuotaSpace": 60720267264,
        "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-11-02T08:41:13.6612302Z",
        "Duration": "00:00:00",
        "MessagesActualLength": 0,
        "WarningsActualLength": 0,
        "ErrorsActualLength": 0,
        "Messages": null,
        "Warnings": null,
        "Errors": null
      }
    }
    
  2. If just one file is selected to restore and the source folder is moved or renamed, the file can’t be restored and errors such as below are reported:

    2020-11-02 16:41:54 +08 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: "duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes", message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data
    2020-11-02 16:41:54 +08 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-RestoreFileFailed]: Could not find a part of the path 'D:\test-backup\【5】剑桥雅思真题5.pdf'.
    

    Complete log:

    {
      "RestoredFiles": 0,
      "SizeOfRestoredFiles": 0,
      "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-11-02T08:41:54.7965139Z",
      "BeginTime": "2020-11-02T08:41:13.6612302Z",
      "Duration": "00:00:41.1352837",
      "MessagesActualLength": 16,
      "WarningsActualLength": 0,
      "ErrorsActualLength": 2,
      "Messages": [
        "2020-11-02 16:41:13 +08 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Restore has started",
        "2020-11-02 16:41:13 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started:  ()",
        "2020-11-02 16:41:13 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed:  (3 bytes)",
        "2020-11-02 16:41:13 +08 - [Information-Duplicati.Library.Main.Database.LocalRestoreDatabase-SearchingBackup]: Searching backup 0 (11/2/2020 6:36:55) ...",
        "2020-11-02 16:41:13 +08 - [Information-Duplicati.Library.Main.Operation.RestoreHandler-RemoteFileCount]: 1 remote files are required to restore",
        "2020-11-02 16:41:13 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:13 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:23 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:24 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:34 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:34 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:44 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:44 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:54 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:54 +08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Failed: duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes (49.10 MB)",
        "2020-11-02 16:41:54 +08 - [Information-Duplicati.Library.Main.Operation.RestoreHandler-RestoreFailures]: Failed to restore 1 files, additionally the following files failed to download, which may be the cause:\r\nduplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes"
      ],
      "Warnings": [],
      "Errors": [
        "2020-11-02 16:41:54 +08 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-PatchingFailed]: Failed to patch with remote file: \"duplicati-b0c61469407564d3588544e9f1e13423a.dblock.zip.aes\", message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data",
        "2020-11-02 16:41:54 +08 - [Error-Duplicati.Library.Main.Operation.RestoreHandler-RestoreFileFailed]: Could not find a part of the path 'D:\\test-backup\\【5】剑桥雅思真题5.pdf'."
      ],
      "BackendStatistics": {
        "RemoteCalls": 6,
        "BytesUploaded": 0,
        "BytesDownloaded": 0,
        "FilesUploaded": 0,
        "FilesDownloaded": 0,
        "FilesDeleted": 0,
        "FoldersCreated": 0,
        "RetryAttempts": 4,
        "UnknownFileSize": 0,
        "UnknownFileCount": 0,
        "KnownFileCount": 3,
        "KnownFileSize": 51521207,
        "LastBackupDate": "2020-11-02T14:36:55+08:00",
        "BackupListCount": 1,
        "TotalQuotaSpace": 1000203833344,
        "FreeQuotaSpace": 60720267264,
        "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-11-02T08:41:13.6612302Z",
        "Duration": "00:00:00",
        "MessagesActualLength": 0,
        "WarningsActualLength": 0,
        "ErrorsActualLength": 0,
        "Messages": null,
        "Warnings": null,
        "Errors": null
      }
    }
    

It seems to me that Duplicati is just trying to restore the files from the source folder instead of the backup folder. What’s the reason that it can’t download a file from a USB-connected hard drive? How can I solve this problem? I’ve cross-checked the passphrase to make sure it’s correct, but even if it’s restored from the existing job where no passphrase input is involved, the errors would still show up.

This is probably with relation to the GUI interface because running in command line works just fine. For example, to restore a file to the original location:

"D:\programs\Duplicati 2\Duplicati.CommandLine.exe" restore "file://F:\test-backup" "<file>" --encryption-module=aes --compression-module=zip --dblock-size=50mb --passphrase="<passphrase>" --disable-module=console-password-input

To restore from b2 (see The RESTORE command and B2 Cloud Storage):

"D:\programs\Duplicati 2\Duplicati.CommandLine.exe" restore "b2://<bucket>/<folder>" "<file>" --b2-accountid="<accountId>" --b2-applicationkey="<applicationKey>" --encryption-module=aes --compression-module=zip --dblock-size=50mb --passphrase="<passphrase>" --disable-module=console-password-input

Note that there should be no spaces before and after the = sign such as --b2-accountid = "foo", because spaces are shell delimiters. You would see the error message if there are spaces:

ErrorID: B2MissingUserID
No "B2 Cloud Storage Account ID" given

That won’t help if browser autofills. It fills a hidden field. This could explain GUI-only error.

If you think this might be the problem, go into browser settings, delete entry, and try again.

EDIT:

Password saver may autofill too many places, getting --auth-password is not supported #4102
has a workaround (which might wind up being shipped) you can test if you install Duplicati
updates in Program Files\Duplicati 2 via manual install. It will be rejected if you autoupdate.

After letting the browser never save passwords for the site it works fine!

1 Like