Restore completed without errors but no files were restored

Hello.
Could someone help me with this error, while attempting to restore a file? The restore is from Google Drive.

Warnings 1

  • 2022-11-27 19:10:02 -08 - [Warning-Duplicati.Library.Main.Operation.RestoreHandler-NoFilesRestored]: Restore completed without errors but no files were restored

Hello

Are you trying to restore from the same computer that is doing the backups ? if yes, do you select the file to restore by picking it from the UI - select the job and click “Restore-files …” from the default version ?

Hello.
Yes, to the same computer.
Yes, from the UI. I navigate through the folders until I see the file in question. I select it and hit restore.

Incidentally, the same process works from an USB drive. My issue is with Google drive. “Google Drive (G:)” on my list of available drives on the computer.

Now getting the same error from the USB drive. I have included the full log below.

{
“RestoredFiles”: 0,
“SizeOfRestoredFiles”: 0,
“RestoredFolders”: 0,
“RestoredSymlinks”: 0,
“PatchedFiles”: 0,
“DeletedFiles”: 0,
“DeletedFolders”: 0,
“DeletedSymlinks”: 0,
“MainOperation”: “Restore”,
“RecreateDatabaseResults”: null,
“ParsedResult”: “Warning”,
“Version”: “2.0.6.3 (2.0.6.3_beta_2021-06-17)”,
“EndTime”: “2022-11-28T18:52:03.5291994Z”,
“BeginTime”: “2022-11-28T18:52:00.6506756Z”,
“Duration”: “00:00:02.8785238”,
“MessagesActualLength”: 7,
“WarningsActualLength”: 1,
“ErrorsActualLength”: 0,
“Messages”: [
“2022-11-28 10:52:00 -08 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Restore has started”,
“2022-11-28 10:52:01 -08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: ()”,
“2022-11-28 10:52:01 -08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: (405 bytes)”,
“2022-11-28 10:52:01 -08 - [Information-Duplicati.Library.Main.Database.LocalRestoreDatabase-SearchingBackup]: Searching backup 0 (11/28/2022 6:05:27 PM) …”,
“2022-11-28 10:52:01 -08 - [Information-Duplicati.Library.Main.Operation.RestoreHandler-RemoteFileCount]: 1 remote files are required to restore”,
“2022-11-28 10:52:01 -08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b1e69e4c6602c487889f63f4667abac37.dblock.zip.aes (49.99 MB)”,
“2022-11-28 10:52:03 -08 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-b1e69e4c6602c487889f63f4667abac37.dblock.zip.aes (49.99 MB)”
],
“Warnings”: [
“2022-11-28 10:52:03 -08 - [Warning-Duplicati.Library.Main.Operation.RestoreHandler-NoFilesRestored]: Restore completed without errors but no files were restored”
],
“Errors”: [],
“BackendStatistics”: {
“RemoteCalls”: 2,
“BytesUploaded”: 0,
“BytesDownloaded”: 52415213,
“FilesUploaded”: 0,
“FilesDownloaded”: 1,
“FilesDeleted”: 0,
“FoldersCreated”: 0,
“RetryAttempts”: 0,
“UnknownFileSize”: 0,
“UnknownFileCount”: 0,
“KnownFileCount”: 405,
“KnownFileSize”: 6812244065,
“LastBackupDate”: “2022-11-28T10:05:27-08:00”,
“BackupListCount”: 131,
“TotalQuotaSpace”: 2000363188224,
“FreeQuotaSpace”: 1761371152384,
“AssignedQuotaSpace”: -1,
“ReportedQuotaError”: false,
“ReportedQuotaWarning”: false,
“MainOperation”: “Restore”,
“ParsedResult”: “Success”,
“Version”: “2.0.6.3 (2.0.6.3_beta_2021-06-17)”,
“EndTime”: “0001-01-01T00:00:00”,
“BeginTime”: “2022-11-28T18:52:00.6506756Z”,
“Duration”: “00:00:00”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null
}
}

For clarity, where are the backup files stored, what are you trying to restore and where are you trying to restore it to?

AFAIK, Duplicati is meant to backup into a cloud service (or local storage) but it should not be used to backup from a cloud service or to backup the virtual drives/folders that cloud services create.

I backup to a local USB drive and Google drive. I am trying to restore a document, and I have tried doing so from both locations to the same computer from which it was backed up.

One interesting note. The document in question is on the “desktop.” If I restore a document on a folder (for example C:\work\PnL) the restore works.

Are you restoring a file that is missing or are you just testing with a file that is already present on your original source ? If the latter, the warning is normal.

1 Like

More precisely, if file in requested location is at requested version, no restore is needed to change it.

You got no error. You got only a warning in case you were expecting the restore to change something.

If “on a folder” means “into a folder where the file does not exist”, then a restore is necessary to fix that.
If you repeat that, you’ll get a Restore completed without errors but no files were restored.
That means the Restore looked the file over, but there was no need to restore it from the backup again.

1 Like

To all,
Your clarifications explained the warning message helped me further understand the software. It turns out that the file I was trying to restore was in fact on the desktop, hence the waning. Somehow, I did not see it and thought that it had been deleted.

Thank you very much for taking the time to help me!

1 Like

Seems that happens (restored but no file) even if you ask for a different filename to include a timestamp. (Beta version Feb 2025).
Issue: when I chose the option to restore a file to a different location, and browse to a chosen different)folder, it does not allow me to select a folder.
I am doing this to test restoring a file after having done my first full backup to OneDrive. Using MacOS14.6.1

What Beta (look in About)? There was none made in Feb 2025.

Do you mean you chose “Save different versions with timestamp in file name”?
If so, you might be missing the point. Files are not different if they’re the same.
Did the file already exist with its correct content at restore time? If so, it’s done.

The effort of actually restoring a file is omitted if it would not do do any change.
If it would have done changes, then the timestamp would be used to show that.

What did you do? How did you see that? I don’t have a Mac, but I’d expect you’d click Browse.
Expand folders, click the name of a folder, and it highlights in blue on Windows. What’s yours?

Thanks for getting back about all this above. To clarify the issue of not allowing me to select another folder to restore a file into, I am sending you a screenshot of the page where that happens.
When I chose ‘Pick a location’ I indeed get a directory structure from the backup, but none of the folders responds to clicking on them (this was not a problem when selecting the file I wanted to restore, on the previous page).

To be clear, I am doing this to check that the backup is healthy, that restoring is working and to understand how restore works. At the moment I don’t. I must be doing something wrong. Happy for any help I can get. Currently running Duplicati - 2.1.0.3_beta_2025-01-22 (so yes, not Feb.)

Testing on Windows in Edge. If macOS is different, I have no Mac, but someone else may test.

The two GUI are different. Selecting the file needs checking the box. Nothing else seems to do.

Selecting Restore location is inherently different, as you can restore a file, but only into a folder.

What happens if you click the name of a folder, not its folder icon, and not the triangle to its left?

For example, I click on the folder name Downloads, and get this:

image

I can then click Manually type path and see that in the Folder path box. This also works on folder which allows no access, but then the problem is noticed with a popup error at restore run.

I have a Mac and it works in Safari and Chrome at least.

I just now noticed a weird bug. You cannot click the folder icon itself (the yellow folder), but clicking the name of the folder selects it. Does this explain the problem you see?

Thanks TS and KenKendk. So it works in Safari and Chrome for MacOS. Yes, for me it worked also the first couple of times, until I couldn’t select anymore. Now I am stuck with a Verifying backend Data message when I open the browser interface - no movement for the last 3 hours. And backup hasnt happened today. It makes me think something has gone wrong with the backup set, or the ‘indexing’/‘library creation’ (my terms) of it, or something. I would rather not do an Initial backup again, it took me almost 2 days. What would you recommend I do? Is there a way to have it re-build the ‘indexing’? (sorry cant find the term used by Duplicati as it is stuck at the moment - basically building an interface with the existing data).

Thanks for your help so far,
Jonas

Stuck here today

How do you do that? TrayIcon menu Open? New tab login? Click back to an existing tab?

One thing to try, especially if it’s an old tab, is browser refresh. Does page look the same?

Please see About → System info → Server state properties → lastPgEvent "Phase":"Backup_PreBackupVerify" is probably where it is, but it seems unusually slow.

Is there any CPU or disk activity for Duplicati? You can also try About → Show log → Live.
Profiling is quite detailed, but isn’t always able to go back in time to before you asked for it.

If you think it is stuck, try stopping it. If that fails, use TaskMgr.exe to kill the Duplicati process.

That should not be needed. You should be able to run the backup again after restarting the process. The step where it is apparently stuck is checking that the remote data is consistent, so no remote data has been modified.

It could be related to a timeout setting, where it fails to list the remote folder (if it contains lots of files). You can set --read-write-timeout=0 to disable the feature, and see if that works better.