Mirroring Repository with svnsync ================================= Author: Momchil Ivanov Date : 2014.10.14 Introduction ------------ This article describes how to mirror a subversion repository with svnsync. Method ------ 1. Create local repository folder: $ svnadmin create mirror00 2. Allow revision property changes: $ echo '#!/bin/sh' > mirror00/hooks/pre-revprop-change $ chmod +x mirror00/hooks/pre-revprop-change 3. Setup mirror $ svnsync init file:///path/to/mirror00 svn+ssh://user@server/path/to/repository 4. Mirror $ svnsync sync file:///path/to/mirror00 If you intend to mirror automatically via a script, use : $ svnsync --non-interactive sync file:///path/to/mirror00