Is it ok to Synchronize the SVN Repository directory using the rsync
command. Will there be any issues, will the repository files get corrupted due to this? (I use rsync only when no one is using the repositories).
1 Answer
It's OK to use rsync
for backup tasks (don't forget to run svnadmin freeze
before starting rsync
!). However, Subversion already includes complete range of backup tools:
svnadmin dump / load
,svnadmin hotcopy
for live backup (without interrupting clients operations),- remote repository replication with
svnsync
, - remote repository backup and restore with
svnrdump
.
rsync
tool.rsync
. And why would you include the "proper" ways of doing it instead of simply your first sentence if it were only aboutrsync
? But that's the beauty of voting. You can vote to keep it open under Review as can others.