Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I've got installed a VisualSVN in a Windows Server 2003 (it has just a drive C: with 10GB)

I'm planning to backup a VisualSVN server in this way:

  • Make a disk image with Ghost or some other software of my Windows Server 2003.
  • Every night make a copy of the whole folder: 'C:\Repositories'
  • If I upgrade VisualSVN version, I should make again other disk image.

In case of disaster recovery, in order to restore server, I would only need to:

  • Restore Ghost image in a new server
  • Paste folder 'C:\Repositories' from backup to new server

My question are:

  • Would it work?
  • Is 'C:\Repositories' the only folder that I have to backup? Do I have to backup any other thing?


share|improve this question

marked as duplicate by squillman, voretaq7 Nov 1 '13 at 15:56

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 – bahrep Jul 13 '12 at 14:42
up vote 4 down vote accepted

Yes, it will work the way you describe. You really only need to back up your repositories folder, though. Re-installing VisualSVN is easy, even on another server, and you can just copy the repositories folder on top after you do that.

It might be simplest to use NTBACKUP for this on Win2003, with nightly incrementals or differentials. Or use whatver other backup software you already use at your company, or the cloud backup service of your choice. There's nothing special about SVN repositories, they're just files.

There is a caveat, in that if you back up an SVN repository that is being committed to during the backup, you can in rare circumstances get a corrupt repository. The repository can be easily repaired with svnadmin recover command though.

Using NTBACKUP or some other backup tool that is Volume ShadowCopy aware will "snapshot" the whole drive ensuring a clean backup

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.