Restore -persist should ignore errors from symlink creation

I’m trying to restore something using -persist as i expected all errors to be swallowed.
It seems errors related to symlink creation are not ignored:

PS C:\duplicacy-repositories\restore> .\.duplicacy\z.exe restore -r 791 -persist
Storage set to G:\My Drive\backups\duplicacy
Loaded 0 include/exclude pattern(s)
Parsing filter file \\?\C:\duplicacy-repositories\restore\.duplicacy\filters
Loaded 0 include/exclude pattern(s)
Restoring C:\duplicacy-repositories\restore to revision 791
Can't create symlink C__Users_link/All Users: symlink C:\ProgramData \\?\C:\duplicacy-repositories\restore\C__Users_link\All Users: A required privilege is not held by the client.
PS C:\duplicacy-repositories\restore>
1 Like

I believe -persist is meant to skip all errors. It only skips errors that cannot be easily fixed, such as download errors caused by corrupted chunks. If there is other way to fix the error like in this case giving the command sufficient permission then there is really not necessary to skip this kind of errors.

Do you mean “is not meant”?

then there is really not necessary to skip this kind of errors.

I don’t know if I agree with your opinion here.

1 Like