On Sat, 11 Feb 2023 18:56:34 +0100, Bo Berglund <bo.bergl...@gmail.com> wrote:

>Thanks Pavel!
>I just want to check so that I get it right:
>
>1. Modify the command to use --steal-lock like this in the script (all on one
>line):
>E:\>"C:\Program Files\VisualSVN Server\bin\svnsync.exe" synchronize 
>--steal-lock
>--sync-username syncuser https://backupservername/svn/pcb
>https://agiengineering/svn/pcb
>
>
>2. Should I do this *once* on the command line to remove the lock or should I
>change the daily script to always use this?
>Note that the remote backup SVN server is never used for anything else, noone
>checks in or out anything from it...
>It is only a backup safeguard off-site.
>

Follow-up:

1) I did a manual run with the command including --steal-lock and it showed
there was a stale lock that it could take over and perform the update.
So this seems to be the way to do it.

2) I have now added this into the scheduled task script on the server which will
run about 12 hours from now, hopefully there will not be any problems then.
I made a dummy change and committed it.

So tomorrow morning I will see if the backup is synced to reflect this.


-- 
Bo Berglund
Developer in Sweden

Reply via email to