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

We want to store our backups of our svn repositories as a flat file. We'd like to tar/zip the whole hotcopied directory. I know that we could dump it to a flat file but let's pretend that we'd rather use hotcopy instead. Are there any gotchas (i.e. byte-order caveats) with zipping/tarring svn repositories?

share|improve this question
up vote 6 down vote accepted

SVN repositories are simply files in a directory structure. So the short answer is yes, it is safe !

share|improve this answer

to be on the safe side you can always run

svnadmin dump /some/repo | bzip2 > /some/file

more here. this is the backup / migration method for svn.

on the other hand... i've been zipping repositories few times [ although they were idle ] and never had any problems with recovering, but recoveries were done on the same architecture.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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