Restore GUI fails Failed to set the modification time: chtimes

HI all

Im trying to make a test restore of a appdata backup in Unraid.

The folder im trying to restore to is

But it get this error:

The restore command encountered an error:
Failed to set the modification time: chtimes /Restoreexternal/ab_20240206_020001/Home-Assistant-Core.tar.gz: operation not permitted

Exit code: 100

LOG:

2024-02-07 20:18:01.437 INFO REPOSITORY_SET Repository set to /Restoreexternal
2024-02-07 20:18:01.437 INFO STORAGE_SET Storage set to gcd://Duplicacy
2024-02-07 20:18:02.887 INFO SNAPSHOT_FILTER Loaded 1 include/exclude pattern(s)
2024-02-07 20:18:04.381 INFO RESTORE_INPLACE Forcing in-place mode with a non-default preference path
2024-02-07 20:18:04.382 INFO RESTORE_INDEXING Indexing /Restoreexternal
2024-02-07 20:18:04.382 INFO SNAPSHOT_FILTER Parsing filter file /cache/localhost/restore/.duplicacy/filters
2024-02-07 20:18:04.382 INFO SNAPSHOT_FILTER Loaded 0 include/exclude pattern(s)
2024-02-07 20:18:04.989 INFO RESTORE_START Restoring /Restoreexternal to revision 530
2024-02-07 20:18:07.711 INFO DOWNLOAD_PROGRESS Downloaded chunk 1 size 3456777, 1.10MB/s 00:00:25 10.8%
2024-02-07 20:18:10.560 INFO DOWNLOAD_PROGRESS Downloaded chunk 2 size 9218559, 2.01MB/s 00:00:10 39.6%
2024-02-07 20:18:12.805 INFO DOWNLOAD_PROGRESS Downloaded chunk 3 size 2574556, 1.82MB/s 00:00:09 47.6%
2024-02-07 20:18:14.762 INFO DOWNLOAD_PROGRESS Downloaded chunk 4 size 1468119, 1.59MB/s 00:00:10 52.2%
2024-02-07 20:18:17.951 INFO DOWNLOAD_PROGRESS Downloaded chunk 5 size 3871601, 1.51MB/s 00:00:08 64.3%
2024-02-07 20:18:21.746 INFO DOWNLOAD_PROGRESS Downloaded chunk 6 size 2535225, 1.30MB/s 00:00:07 72.2%
2024-02-07 20:18:25.863 INFO DOWNLOAD_PROGRESS Downloaded chunk 7 size 4364741, 1.25MB/s 00:00:04 85.9%
2024-02-07 20:18:28.026 INFO DOWNLOAD_PROGRESS Downloaded chunk 8 size 4508939, 1.27MB/s 00:00:01 100.0%
2024-02-07 20:18:28.033 ERROR RESTORE_CHTIME Failed to set the modification time: chtimes /Restoreexternal/ab_20240206_020001/Home-Assistant-Core.tar.gz: operation not permitted

I can see that the file is restored but i dont like the error?

Thanks!
Regards Daniel

Looks like the user that runs duplicacy does not have full access to the location you are restoring to.

Ah okay :slight_smile:

Okay i made a share called “Restore”

Im trying to make a restore with Duplicacy. But then i get

“ERROR RESTORE_CHOWN Failed to change uid or gid: lchown”

Found this

https://forum.duplicacy.com/…/failed-to-change-uid…/6107

And the -ignore-owner is working.

But can i really get rid of the USR_ID and GRP_ID ?

Will it break something? More unsecure?

Thanks!