Backup OK, 1st Restore failed

I created a 100 Gig backup. Restore to some drive N. It’s a mounted Truecrypt volume. User has full access. Why did Restore fail? Why is it even interested in that recycle bin folder? Thx.

2019-08-28 16:42:46.298 INFO REPOSITORY_SET Repository set to N:/
2019-08-28 16:42:46.331 INFO STORAGE_SET Storage set to C:/Disk/WD50/Backup/Duplicacy
2019-08-28 16:42:46.331 INFO SNAPSHOT_FILTER Loaded 1 include/exclude pattern(s)
2019-08-28 16:42:46.359 INFO RESTORE_INPLACE Forcing in-place mode with a non-default preference path
2019-08-28 16:42:46.948 INFO SNAPSHOT_FILTER Parsing filter file \\?\C:\Users\Michel\.duplicacy-web\repositories\localhost\all\.duplicacy\filters
2019-08-28 16:42:46.948 INFO SNAPSHOT_FILTER Loaded 0 include/exclude pattern(s)
2019-08-28 16:42:46.951 WARN LIST_FAILURE Failed to list subdirectory: open \\?\N:\$RECYCLE.BIN\S-1-5-21-2172182979-122818957-3614598407-1004: Zugriff verweigert
2019-08-28 16:44:23.035 INFO RESTORE_START Restoring N:/ to revision 1
2019-08-28 16:44:23.051 ERROR RESTORE_MKDIR mkdir \\?: Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch.

Have you tried running Duplicacy as administrator?

Webgui was running under a user who is administrator on the whole drive N.
But I could enter n:$RECYCLE.BIN\S-1-5-21-2172182979-122818957-3614598407-1004, e.g. via Totalcommander, only if I started it via Rightclick->“As Admin”.
But I wonder what is Duplicacy doing there? I asked him to put his restore into N:\ - not parse all folders in N:\

BTW, the forum software eats the backslash in N : \ $Recycle…

This isn’t really an issue with Duplicacy I don’t think - restoring system files (which is basically what the Recycle Bin is) directly on-top probably isn’t a good idea. I don’t know of any backup software that would let you restore a Windows User profile for example (ntuser.dat etc.) while in use.

Try restore to a different location?

Nono, the recycle bin is somewhere near the target of the restore. I pointed restore to n:\ I see no reason why recycle bin folders on the target should interest Duplicacy in any way…
There were just 3 regular folders in the backup.

Ah OK that makes sense. Duplicacy is probably trying to get a complete state of the directory in order to do in-place restore and it’s not able to see the Recycle Bin properly (without admin?). But hmm that’s only giving a warning - the actual error is with mkdir, which suggests it doesn’t have permissions(?).

I can only suggest restore to a completely empty but existing directory like N:\restore.

2 Likes