Test restore to new location skips files

I’ve been trying to do a test restore using the Duplicacy GUI.

I enter the Storage, Backup IDs, Revision, Restore to location and Options (-ignore-owner so that I don’t run into UID/GID permissions issues) before selecting the file and hitting restore. A ‘.duplicacy’ folder is created and the restore process seems to partially recreate the folder structure for the restored file (just the top level directory) but doesn’t restore the file. Logs below. Any idea what I’m doing wrong? Thanks in advance for the help.

2023-12-01 11:35:34.929 INFO SNAPSHOT_FILTER Loaded 1 include/exclude pattern(s)
2023-12-01 11:35:36.091 INFO RESTORE_INPLACE Forcing in-place mode with a non-default preference path
2023-12-01 11:35:36.091 INFO RESTORE_INDEXING Indexing /backuproot/Photos Import/TestRestore
2023-12-01 11:35:36.091 INFO SNAPSHOT_FILTER Parsing filter file /cache/localhost/restore/.duplicacy/filters
2023-12-01 11:35:36.092 INFO SNAPSHOT_FILTER Loaded 0 include/exclude pattern(s)
2023-12-01 11:35:36.319 INFO RESTORE_START Restoring /backuproot/Photos Import/TestRestore to revision 345
2023-12-01 11:35:36.321 INFO RESTORE_END Restored /backuproot/Photos Import/TestRestore to revision 345
2023-12-01 11:35:36.321 INFO RESTORE_STATS Files: 0 total, 0 bytes
2023-12-01 11:35:36.321 INFO RESTORE_STATS Downloaded 0 file, 0 bytes, 0 chunks
2023-12-01 11:35:36.321 INFO RESTORE_STATS Skipped 1 file, 3.63M bytes
2023-12-01 11:35:36.321 INFO RESTORE_STATS Total running time: 00:00:01

OK. After a bit of messing about at the command line, I worked out what the issue was. Just in case anyone else has this problem, the issue was file ownership and permissions. The files were being restored with ‘nobody’ as the owner and no permissions for group or other. I had to navigate to the top restored folder in a terminal as root and use the following:

chmod -R 766 <folder-name>
chown -R <user-name> <folder-name>

That fixed the issue for me. Hope this helps any other linux novices that encounter the same issue.

1 Like