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).
Asked
Active
Viewed 332 times
1

user170899
- 69
- 1
- 2
- 6
-
By "synchronize," you do mean one-way-only, right? Have you looked at svnsync? – Michael - sqlbot Nov 19 '13 at 12:02
-
@TheCleaner it's not a duplicate since the question is about `rsync` tool. – bahrep Nov 19 '13 at 14:35
-
I disagree, the other question and the question it is linked to include pros/cons of using `rsync`. And why would you include the "proper" ways of doing it instead of simply your first sentence if it were only about `rsync`? But that's the beauty of voting. You can vote to keep it open under Review as can others. – TheCleaner Nov 19 '13 at 14:40
1 Answers
1
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
.

bahrep
- 687
- 1
- 9
- 27