Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Backup of files within subversion database

Backup of files within subversion database

Backup of files within subversion database

Hi, I am in the process of evaluating Subversion for managing our source code. I have set up a test server and had a discussion with our Systems Administrator about the live implementation and backup of the repositories.
Our Sys Admin has raised concerns that we are backing up a proprietary database rather than the original (text) source code files. Therefore he percieves some risk in this. I could create a batch file to "check out" each repository prior to the nightly backup, in order to extract the files. This might eliminate the perceived risk,but would have to be manually maintained and therefore introduces another risk. e.g. new repository created but not added to batch file.
I have also found some reports on Subversion adoption and Market Share, which are pretty impressive. I am therefore pretty confident that any risk (of not being able to extract files from the database after restore) are extremely slight. Probably about the same risk as an MS SQL backup.
However, some advise and feedback from my peers would be comforting.

By the way, we use Backup Exec to backup our servers.


RE: Backup of files within subversion database

You can back up a lot if you want. But there are catches.

To get a good backup, I set up a synched repository (a read-only copy of the real thing) on another server. From there, I create a dump file to be backed up. The catch here is that it is subversion-specific, but it also gives you all the files you need to copy back in the case of a hard disk crash.

You can also check out the root of your repository and back that up. The catch here is that you will only get one version.
As the repository is basically a directory with contents, subversion cannot know what repositories exist and where.

If you have enough backup time and space, you can do both.

+++ Despite being wrong in every important aspect, that is a very good analogy +++
   Hex (in Darwin's Watch)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close