Random Ranting (150) · Gadgets & Tech (15) · Anime & Otaku (11) · Watches & Horology (43) · Movies & TV (6) · Photography (3)


Ads

Latest Posts Recent Comments Comrades


My blog is worth $4,516.32.
How much is your blog worth?


SVN: Taking it Further

29.12.2006

The reason for writing this article is that I recently had my powerbook die on me, and I had the bright idea of making it my primary SVN repository. While this seemed like a nice idea at the time, I’ve decided it is better to have the repository on a system with at least most than one hard drive, and carry a ‘checked out’ copy for work on the laptop.

Since I was having trouble setting up SVN on my MBP, I decided to get my single processor G5 back from repair and turn it into a 24/7 SVN box, with timed backups onto both drives.

The simplest way to go about this would be to start with a shell script, and have it not only invoke a ‘dump’ of the repository but to traverse the SVN tree and checkout each project as well. This makes it a better job for a simple gcc program and/or a mix of the two. The task of scheduling and initiating the backups would be best controlled by cron or something similar.

Related Posts & Articles

1 Comment »

  1. bsodmike.com » TGIF… said,

    December 30, 2006 @ 5:06

    [...] Yesterday the 1.6GHz G5 was returned after the power supply was replaced and since then has been setup as a remote (headless) 24/7 SVN server. I am currently in the process of setting up a backup system, which might include a mix between a gcc program and/or a shell script since my pb, which hosted the previous repository, died. However, I was able to have the Apple tech’s extract the HDD the very next day and I was able to copy the repository and backup the rest of the files. After configuring what I now call ‘SVNG5′ I simply just ‘copied’ the repository I copied off the powerbook - it loaded up to revision 13 right away. [...]

RSS feed for comments on this post · TrackBack URI

Leave a Comment


Google Search


RSS/Meta Articles