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?
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 ...
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With