How to backup a Subversion repository

Replicating the SVN repository<:

svnsync --non-interactive --trust-server-cert sync file:///C:/backup/svn-mirror/repos<

Example of pre-revprop-change hook on Windows<

@echo off
exit 0<

Removing svnsync lock after hardware failure<

svn propdel -r 0 --revprop svn:sync-lock file:///C:/backup/svn-mirror/repos
<