VisualSVN, SyncToy and Dropbox

This week I’ve been working on how to implement source control with Visual Studio.  Also I looked at a backup solution for my code incase my hard drive failed or my laptop decided to call it a day.

I first looked into source control.  I decided to opt for VisualSVN Server and VisualSVN for Visual Studio 2010.  The thing I like about it was the setup was really easy to do.  Once installed, uou just need to create your repository on the server, and connect your project to it inside Visual Studio.  While the server part is costs nothing, Visual SVN is $49 after the 30 day trial period finishes.

Here is a useful demo on how to setup VisualSVN.

visualsvn

I then looked at how to backup my code to a remote storage.  I don’t any servers at home, so I looked at a remote solution.  After digging around, I found Dropbox.  I then needed to synch different files and folders to my Dropbox folder.  I found a tool from Microsoft called SyncToy.  Both these tool were set up in minutes.

Now when I needed to backup my code, I would first load up SyncToy, and run the sync, copying all my code to the Dropbox folder.  Dropbox then would automatically copy it remotely to their server.  With 2GB of free space for the free account, it’s a great tool.

dropbox

Other solutions I looked at was Git and Github.  The set up is a bit more complicated, and also you would have to pay for private repositories.  As a standalone developer with just one laptop, the solution above works very well.

Advertisements

2 Responses to VisualSVN, SyncToy and Dropbox

  1. John says:

    Have you ever had to test the restore of the repositories with this backup method? I was just curious as I am looking to find an easy backup for Visual SVN Server on a station I support, and have read that “As far as full backups go, the naïve approach might seem like a sane one, but unless you temporarily disable all other access to your repository, simply doing a recursive directory copy runs the risk of generating a faulty backup.” (from http://visualsvn.com/support/svnbook/reposadmin/maint/#svn.reposadmin.maint.backup)

  2. Never tried John. For the past 5 months I’ve not been developing so haven’t used any of those tools.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: