Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you backup/create a dump of a subversion repository without direct access to the server?

Tags:

svn

backup

I use a hosted subversion service for a number of personal and work development projects. While they keep backups like any hosting company should I'd like to be able to create my own local backups as well just in case. This service allows you to request and download a backup, but they charge money to do this. Is there anyway I can generate a backup/dump of my hosted repository by connecting to it as a client through HTTPS?

like image 444
Eric Anastas Avatar asked Dec 31 '09 06:12

Eric Anastas


People also ask

What is SVN dump?

By default, the Subversion dump stream contains a single revision (the first revision in the requested revision range) in which every file and directory in the repository in that revision is presented as though that whole tree was added at once, followed by other revisions (the remainder of the revisions in the ...


1 Answers

You can use svnsync command. It will basically get every revision of a source SVN database and commit them to your backup database. It can be slow the first time you run it as it gets all the changes one at a time, but once the first sync was done it's a nice solution.

  • svnsync in SVN Repository Maintenance
  • svnsync reference
  • svnsync notes
like image 122
Warpin Avatar answered Sep 28 '22 09:09

Warpin