Page 1 of 1

Force sync command to continue after error

Posted: 17 Jun 2024 15:16
by Caz
Hi,
I use a script to sync (backup) my files to a network drive.
My backup can last for more than 1 hour and I usually trigger it when I am not working on my PC as XYplorer cannot be used during this time.
It has been working well for over 2 years but recently I had some failed files during the sync that requires a user input to continue (when I'm away).
Last failed sync were because the error "Ecrasement sans danger : l'échange de nom a échoué. Accès refusé" (~ "safe overwrite: name swapping failed. Access denied").
I cannot find any option in the sync command to force the sync to continue. Any workaround ?
Thanks.

The sync command in my script

Code: Select all

sync $src, $dst, 1, 0, 1, , $log ;

Re: Force sync command to continue after error

Posted: 18 Jun 2024 02:28
by jupe
In this dialog, do you have "On Failures" set to Continue?

Configuration | File Operations | File Operations | Custom Copy Operations | Configure...

Re: Force sync command to continue after error

Posted: 18 Jun 2024 09:09
by Caz
Thanks Jupe for trying to help.
Yes I do have it set to continue on failures in this dialog.

Re: Force sync command to continue after error

Posted: 18 Jun 2024 10:53
by admin
As far as I can see, nothing has changed here. SC sync was always hardcoded to ask on failure. I'll see if I can add something.

Re: Force sync command to continue after error

Posted: 18 Jun 2024 11:07
by Caz
Thanks Don.
I don't know what changed because I almost always have a few failures now during sync. Probably some instability of the network.

Re: Force sync command to continue after error

Posted: 18 Jun 2024 11:25
by admin
In the next beta you can make it just continue.

Re: Force sync command to continue after error

Posted: 18 Jun 2024 14:21
by Caz
Great ! Thanks !