Helllo, I have two questions:
1.) How do I restore without creating symlinks (ignore them?)
2.) If that’s not possible, how to set symlinks not to be saved during backup?
My user case:
I use Duplicacy for fast frequent backup of C:\users folder on Windows, specifically appdata folders with -vss
What I’m trying to do:
I would like to restore the entire c:\users backup to another disk, so I can explore what’s big in the backup, etc. I want to restore only data without symlinks, so that the real size of the data in the backup can be reliably calculated and there is no risk of affecting the host system and data
My approach and problem:
-
I created new exFAT partition for restore - because exFAT don’t support symlinks
-
IN GUI I started restore to exFAT partition
-
I get error and nothing is restored (only empty root folders)
The restore command encountered an error:
Can't create symlink All Users/Application Data: symlink C:\ProgramData \\?\W:\appdata_26.11-8110-restore-exfat\All Users\Application Data: Incorrect function.
Exit code: 100
and this error in log:
ERROR RESTORE_SYMLINK Can't create symlink All Users/Application Data: symlink C:\ProgramData \\?\W:\appdata_26.11-8110-restore-exfat\All Users\Application Data: Incorrect function.
I tried some parameters - same problem
-persist
or
-ignore-owner
If I try run Duplicacy without elevation, I get:
2022-11-26 12:12:29.308 ERROR RESTORE_SYMLINK Can't create symlink All Users/Application Data: symlink C:\ProgramData \\?\W:\appdata_26.11-8110-restore-exfat-user\All Users\Application Data: A required privilege is not held by the client.
Any idea how to ignore symlinks during backup or restore?
Is there an equivalent to the Duplicati setting symlink-policy ?
Thanks