View Full Version : SVN/Subversion + syncing/cloning

5th September 2006, 01:15 PM

I've setup subversion on one server using sertificates and SSH. It works great. The thing I want is to setup another subversion installation on another server, then say once every two hours the two servers syncs eatchother, so both always are up to date.

Lets say its a backup, but both is useable for the user and always contain the latest information (In general only one is going to be used, but if the main one goes down, and the user appends to the backupserver, I dont want the backup to be overwritten by an older version on the main server).

Any ideas?


7th September 2006, 03:19 AM
A simple checkout of the main repository to the backup location, with a cron script to svn update, should suffice.

I'm uncertain as to whether you can share this checkout or not. I do know that it should merge changes intelligently.

I know you can hotcopy the entire thing elsewhere in the filesystem for a complete backup.

See the svnbook for more on repositories (http://svnbook.red-bean.com/nightly/en/svn.reposadmin.html).