|
While I have been sitting here idly at work over the last few days I have been hacking together a small VB script to backup my SVN repository. I would rather not install any other dependencies on my windows server. So using the python scripts provided with SVN are out of the question. So far it looks like it just might work, I haven’t tested it. As soon as I have tested it I will post it here. Maybe someone else will find it and help them.
My thought for the script was simple; provide a script that would make a backup of the repository every day and delete any copies older than a designated number of days. It should also keep a log of events. Sounds simple enough, and indeed the script is very simple. I should really add in the capability to monitor how full the destination drive is. After all in my circumstance the backups will be pushed to a zip 250 drive. Let’s just hope it all ends up working…
DEBUGGING : Removing the needles from the haystack.
|
|
|
|
|
Life is back to normal, well that is normal for me. I finally have my computers / servers back up and running. Everything seems to have made it though the move unscaved.
Before I packed everything up I was in the middle of finally adding the 2003 Platform SDK to my copy of VS. Well it wasn’t going very well, I some how got things broken (I know how I did it I just don’t want to admit it). That’s all fixed now, VS still isn’t using the Platform SDK but at least I can compile sources again.
The problem I seemed to be having with the platform SDK is I had a beta copy of VS.NET 2002, yup that’s right VS.NET 2002 beta. Don’t remember where I got it but it was horrible. Never did like the UI, it just felt very clunky. I still like VS6. Anyways the SDK updater was updating VS.NET 2002. I tried manually updating VS6 but that’s when things when awry.
I was just over looking at the prices for VS.NET 2005, the standard version looks very reasonable (well compared to the rest of the versions) priced for what I need. However, after all of the groaning (rightfully so might I add) in the lounge about VS 2005 I'm a little hesitant to go out and buy a copy. I'm still not .NET enabled but that’s something I will need to change here quickly.
The VS.NET 2005 launch is coming to my area next month and I have signed up to attend. From what I have heard they will be giving away a copy of VS. I think I will use that opportunity to experiment with it. Best part of that is it’s supposed to be free.
DEBUGGING : Removing the needles from the haystack.
|
|
|
|
|
Well it took more than a weekend but I have finally moved. I hate moving, I need a full day to set up all of my computer equipment. Sadly it doesn’t look like that’s going to happen anytime soon.
I'm so going through with drawls; I haven’t written any code in a couple of weeks now.
DEBUGGING : Removing the needles from the haystack.
|
|
|
|
|
Sadly I haven’t been able to do any type of development work not in about a week. It’s driving me absolutely batty. I'm moving here in a few days so most of my computers are packed up ready to go to the next apartment.
If this process takes much longer my girlfriend is going to have to admit me to the local computer shop for a few days, so I can recover.
On a related note if you ever feel like your life is in a rut and you need a little change. Move, for about two weeks you will have plenty to do. The only good thing is I get to completely redesign my work space.
DEBUGGING : Removing the needles from the haystack.
|
|
|
|
|
If you read the tailing end of my last post (about Source Code Repositories) I wondered out loud if Subversion can be set up to replicate it self to another SVN server. Well as it turns out there is a service out there to do just that. Pretty interesting, it’s called SVKServer.
I haven’t had a chance to download it and install it. I just may end up doing so. After of course I back everything up and make sure the back up system works correctly.
Link to the website is.
SVK - Subversion Replication[^]
DEBUGGING : Removing the needles from the haystack.
|
|
|
|
|
So after a number of years relying on zip files for backing up my source code I have finally made the plunge and started using subversion for source code management. This isn’t the first time I have used a source code repository, a few years ago I experimented with Visual Safe Source. After using for a few weeks I just didn’t like the interface, it just felt clunky. VSS just didn’t work very well for me. I'm sure it works well for some folks but not me.
A very long story short and several experiments later (I first started out attempting to use CVS, which might I add isn’t worth its weight in horse manure). I end up finding and installing Subversion SVN server. Wow, an easy install, fairly strait forward instructions getting info into the server. Subversion combined with TortoiseSVN is brilliant, it works very well. While it requires some pre-reading get up to par on the concepts it just works out of the box.
It’s been a few weeks since I started using it, and I'm at the point where I feel comfortable enough with it that all of my apps and some of the documents I maintain are going to get pushed into it. My only gripe is why didn’t I find Subversion sooner and where is the users group for it. I do have some FNG type questions about it. Guess some of that will come in time and just using it. The next order of business to do is find a good back up scheme and I wonder if there is a way for me to set it up so I can have my source code pushed to a friend’s subversion server?
DEBUGGING : Removing the needles from the haystack.
|
|
|
|
|
I'm interested in using this kind of tool. Could you please provide a link, if any ?
|
|
|
|
|
Stlan wrote: I'm interested in using this kind of tool. Could you please provide a link, if any
Yea know I thought about including links, but then decided who on earth would read my ramblings. Who would have thought?
Anyway here is the link to the subversion site.
http://subversion.tigris.org/[^]
But before you do anything read through this online book. The information here is absolutely necessary.
Version Control with Subversion[^]
Here is the link to the TortoiseSVN project.
http://tortoisesvn.tigris.org/[^]
If you’re looking for a local repository as in it you only have one computer, TortoiseSVN will suffice for both client and server. Tortoise has a chm file with fairly detailed instruction on its usage (including setting it up as client and server).
If you get stuck I would be happy to try and help.
Good luck, hope this helps.
DEBUGGING : Removing the needles from the haystack.
|
|
|
|
|
|
No problem...
DEBUGGING : Removing the needles from the haystack.
|
|
|
|
|
sfdougl wrote: but then decided who on earth would read my ramblings.
Only weird people of course.
|
|
|
|
|
Jeremy Falcon wrote: Only weird people of course
Your proof positive of that statement.
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
|
|
|
|
|
All right! Wait... um... :->
|
|
|
|
|
I just have to say, I finally understand the fanaticism with the STL. After asking a question about arrays in the C++ message board I was pointed to vectors. Learning to work with a vector was fun, and then I found I can use iterators to loop through the vector.
This is some very cool stuff. The next thing to work with is algorithms, which should prove even more useful.
Like many before me thanks to the Code Project Team for such a great website!
DEBUGGING : Removing the needles from the haystack.
|
|
|
|