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

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
To prevent automated spam submissions leave this field empty.