Force sync command to continue after error

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Caz
Posts: 39
Joined: 31 Oct 2018 09:12

Force sync command to continue after error

Post 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 ;

jupe
Posts: 3335
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Force sync command to continue after error

Post by jupe »

In this dialog, do you have "On Failures" set to Continue?

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

Caz
Posts: 39
Joined: 31 Oct 2018 09:12

Re: Force sync command to continue after error

Post by Caz »

Thanks Jupe for trying to help.
Yes I do have it set to continue on failures in this dialog.

admin
Site Admin
Posts: 65556
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Force sync command to continue after error

Post 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.

Caz
Posts: 39
Joined: 31 Oct 2018 09:12

Re: Force sync command to continue after error

Post 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.

admin
Site Admin
Posts: 65556
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Force sync command to continue after error

Post by admin »

In the next beta you can make it just continue.

Caz
Posts: 39
Joined: 31 Oct 2018 09:12

Re: Force sync command to continue after error

Post by Caz »

Great ! Thanks !

Post Reply