Restore Failed: No Files Restored

Taking Duplicati for a test drive. Got it set up easily and successfully backed up to my NAS.

However, when I tested the restore, I got an error that no files were restored.

Warning while running test duplicati2

Warning: 2025-05-09 13:50:03 -04 - [Warning-Duplicati.Library.Main.Operation.RestoreHandler-NoFilesRestored]: Restore completed without errors but no files were restored

Seems to start OK and finds my backup, but I don’t see any indication of why it failed. Appreciate any help.

“RestoredFiles”: 0,
“SizeOfRestoredFiles”: 0,
“RestoredFolders”: 0,
“RestoredSymlinks”: 0,
“PatchedFiles”: 0,
“DeletedFiles”: 0,
“DeletedFolders”: 0,
“DeletedSymlinks”: 0,
“MainOperation”: “Restore”,
“RecreateDatabaseResults”: null,
“ParsedResult”: “Warning”,
“Interrupted”: false,
“Version”: “2.1.0.5 (2.1.0.5_stable_2025-03-04)”,
“EndTime”: “2025-05-09T17:50:03.1483269Z”,
“BeginTime”: “2025-05-09T17:49:49.4835681Z”,
“Duration”: “00:00:13.6647588”,
“MessagesActualLength”: 7,
“WarningsActualLength”: 1,
“ErrorsActualLength”: 0,
“Messages”: [
“2025-05-09 13:49:49 -04 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Restore has started”,
“2025-05-09 13:49:49 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: ()”,
“2025-05-09 13:49:49 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: (7 bytes)”,
“2025-05-09 13:49:49 -04 - [Information-Duplicati.Library.Main.Database.LocalRestoreDatabase-SearchingBackup]: Searching backup 0 (5/9/2025 3:56:24 PM) …”,
“2025-05-09 13:49:49 -04 - [Information-Duplicati.Library.Main.Operation.RestoreHandler-RemoteFileCount]: 1 remote files are required to restore”,
“2025-05-09 13:49:49 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-bc1a1ad8a6764499482eca477b371121d.dblock.zip (1.00 GB)”,
“2025-05-09 13:50:03 -04 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-bc1a1ad8a6764499482eca477b371121d.dblock.zip (1.00 GB)”
],
“Warnings”: [
“2025-05-09 13:50:03 -04 - [Warning-Duplicati.Library.Main.Operation.RestoreHandler-NoFilesRestored]: Restore completed without errors but no files were restored”
],
“Errors”: ,
“BackendStatistics”: {
“RemoteCalls”: 2,
“BytesUploaded”: 0,
“BytesDownloaded”: 1073851727,
“FilesUploaded”: 0,
“FilesDownloaded”: 1,
“FilesDeleted”: 0,
“FoldersCreated”: 0,
“RetryAttempts”: 0,
“UnknownFileSize”: 0,
“UnknownFileCount”: 0,
“KnownFileCount”: 7,
“KnownFileSize”: 2479249717,
“LastBackupDate”: “2025-05-09T11:56:24-04:00”,
“BackupListCount”: 1,
“TotalQuotaSpace”: 66895923576832,
“FreeQuotaSpace”: 29766503010304,
“AssignedQuotaSpace”: -1,
“ReportedQuotaError”: false,
“ReportedQuotaWarning”: false,
“MainOperation”: “Restore”,
“ParsedResult”: “Success”,
“Interrupted”: false,
“Version”: “2.1.0.5 (2.1.0.5_stable_2025-03-04)”,
“EndTime”: “0001-01-01T00:00:00”,
“BeginTime”: “2025-05-09T17:49:49.4835706Z”,
“Duration”: “00:00:00”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null
}
}

Welcome to the forum @ckronengold

Did you see any indication of failure? Files are only restored if needed.
Depending on what’s at the restore folder then, maybe it’s already fine.

Isn’t the fact that no files are restored the indicator?

I chose a different location than the original files, so I assumed it would restore them to the location I chose. Is that not how it works?

Not by itself, knowing nothing more. Plus it was a warning, not an error.

This, on the other hand, should have done files. How many files did you pick for a restore?

The backup is about 3GB across 7 zip files. It was a backup of my apps folder with primarily Windows .exe files.

How many files did you pick for a restore?

Regarding zip file size, did you mean to make them that huge? See help link near setting.

I’m not actually asking for a file count, just wondering what was picked. One file? All files?

Does the backup log show that you backed up what you thought? There are counts there.

Does the Restore tree look as expected? Then the next question is what works or doesn’t.

What should happen is that the destination folder should wind up with all the selected files.

Winding up with nothing seems wrong. This is all done in the GUI? CLI is more error-prone.

  • it was 39 files and 4 folders, one of which is a Tdarr node with about 12k files in it.
  • I didn’t know that 1gb zip files were considered “huge”. When I first selected a folder to backup, it was about 150gb, and I thought that having a few thousand tiny zip files was a pain in the ass. When I’ve downloaded my Google Photos library from Google Takeout (just as a backup reference), it was delivered as about 50 1-2TB zip folders. So I used that as a guide.

I hadn’t previously checked the backup log because it worked as expected. I got a few zip folders in the destination that I chose. Didn’t have any warnings until I tried to restore. But at a glance, it looks normal.

This was all done via GUI.

Let’s get some more logging to see where yours is going wrong. Here’s my 1-file restore viewed with About → Show log → Live → Verbose. Log files to disk can also be created, however with a restore as mysteriously brief as yours, there might not be a lot to look at.

If you prefer a file, it’s advanced options log-file=<path> log-file-log-lvel=verbose

May 9, 2025 4:51 PM: The operation Restore has completed
May 9, 2025 4:51 PM: Testing restored file integrity: C:\backup restore\A.txt
May 9, 2025 4:51 PM: Patching metadata with remote data: C:\backup restore\A.txt
May 9, 2025 4:51 PM: Recording metadata from remote data: C:\backup restore\A.txt
May 9, 2025 4:51 PM: Patching file with remote data: C:\backup restore\A.txt
May 9, 2025 4:51 PM: Backend event: Get - Completed: duplicati-b8996399577db4a9a8e7e7cd70a058b86.dblock.zip (1.10 KB)
May 9, 2025 4:51 PM: Backend event: Get - Started: duplicati-b8996399577db4a9a8e7e7cd70a058b86.dblock.zip (1.10 KB)
May 9, 2025 4:51 PM: 1 remote files are required to restore
May 9, 2025 4:51 PM: Target file does not exist: C:\backup restore\A.txt
May 9, 2025 4:51 PM: Restore list contains 2 blocks with a total size of 138 bytes
May 9, 2025 4:51 PM: Mapping restore path prefix to "C:\backup source\" to "C:\backup restore\"
May 9, 2025 4:51 PM: Needs to restore 1 files (1 bytes)
May 9, 2025 4:51 PM: Searching backup 0 (4/2/2025 10:41:06 PM) ...
May 9, 2025 4:51 PM: Backend event: List - Completed: (8 bytes)
May 9, 2025 4:51 PM: Backend event: List - Started: ()
May 9, 2025 4:51 PM: The operation Restore has started

Running restore again to the same restore folder gets a warning, as no restore is needed:

Warning: 2025-05-09 16:58:24 -04 - [Warning-Duplicati.Library.Main.Operation.RestoreHandler-NoFilesRestored]: Restore completed without errors but no files were restored

Live log confirms a lack of need for restore. This is a usual confusion about that warning.

May 9, 2025 4:58 PM: Target file exists and is correct version: C:\backup restore\A.txt

Something’s different in your case, but the additional logging should help show what’s up.

1 Like