Migration to Visual Source Safe 2005

by Vladimir Milev | Comments 8

A few weeks ago a couple of colleagues and I established that our source control system (VSS 6.0d) needs to be updated. There were numerous issues that were plaguing our daily struggle with Source Safe – slow speed, frequent crashes and file corruptions. Naturally we began looking for alternatives of the aging software (version 6.0 was originally released with VStudio 6.0 and was only patched a bit with the release of VS.NET in 2002).

In a nice bit of synchronicity with our efforts, Visual Studio 2005 was just released and introduced a brand new version of Source Safe (it was internally labeled 8.0 – they even skipped a number!). Our hopes and expectations were high once we read what has changed in this version: Faster and more robust engine, Unicode text file support, proper web application binding and improved LAN access were the items that immediately caught our attention.

Having read through the docs, the next step on the agenda was to install VSS2005 and try to do the migration of the database on one of our test machines. It all went smooth to the point where I ran the analyze tool against the new database. It started reporting a lot of errors and inconsistencies, however, when it finished it said no critical problems were found. I’ve played around with the database to ensure no files or history is missing. It turned out that everything is ok. With a sigh of relief we scheduled the migration of our production database for the day after. After backing up the VSS folder (Always back up your stuff! You will see why very soon!), we upgraded to VSS2005 and ran the analyze tool. Those of you familiar with it know that it takes quite a while to finish checking everything, so we decided to go home.

The first piece of bad news came early in the next morning. The analyze tool did not run successfully. Actually, not only had it not run successfully, but it also corrupted our database beyond repair. Good thing we made that backup!  After some research it was obvious that the old database was far too big and far too corrupted to be useable. We decided to split the thing into three new databases and import the old projects into the appropriate database. I would not go into details, but the whole process took about three days (the whole weekend and Monday) and was very painful. After the migration was complete I’ve created a daily (well it runs @ 4:00AM) task that runs the analyze tool against all three databases and scheduled a disk defrag right after that to maximize performance. We are also making backups daily.

Everybody here has been using the new databases for some time now and I must say that we can feel a slight performance improvement. More important, there have been no errors and corruptions reported so far. The whole migration did not go as smoothly as we anticipated, however, it was desperately needed as the old situation was beginning to slip out of control.

Do you use VSS2005? Let us know of your experience with it and if you had any troubles migrating. Feel free to drop us a line if your organization is using Visual Studio with a non-Microsoft source management system and tell us if you are having issues with it.

Vladimir Milev
Manager - XAML Data Visualization tools

8 Comments

Adam Saxton
I've been using SourceGear Vault for about 3 or so years now and it is a much better source control system in my opinion. It's very similar to VSS as far as the look and feel goes. It is a .NET app that uses a SQL back end. We haven't had any of the problems that are common with VSS.
Satish
Once our DB size reached 1GB I moved to http://subversion.tigris.org/ It took us 4 days to do the migration. Basically the original DB was corrupted so the import did not work out so easily. So we lost out some part of the history.
But hey, none of us regret it now. It's much faster, branching is much more easy and working from home option does work :)
Jason Finch
Havent been back to vss since it decimated our data more times than I can remember. We are on subversion now using the Tortoise frontend, with the trac bugtracking system. The system works well, the price ($0/seat) is excellent, and its rock solid, oh and it works damn good over slow links. Something we could never get vss to do. Team system looks mighty interesting but the price is out of our reach.
Christopher Blickley
I agree about Vault. SourceGear makes a great product and it is easily managed. I will never go back to souresafe...
Vladimir Milev
Thanks to all of you who replied. We will be investigating the possibility of migration to SourceVault. Have any of you guys had experience of migrating VSS to Source Vault that you want to share with us?
Vijay
We migrated from Visual Source safe to Sourcegear vault. The SourceSafe converter tool that comes with Vault is easy to use and we didn' face any glitches either.
Overall Vault is a much better source control system when compared to VSS.
merc
hm... reading from the date of the comment this might be a dead thread ... but anyway, how was the SourceVault? I've been using subversion for more then 4 years now and has no problem with it (touch wood~) I'm just wondering hows your experience with SourceVault...
shiamak
Hi, I am actually about to start upgrading to VS 2005 from 6.0d , I understand the format of database has not changed so even if I didnt migrate my old database to new (vs 2005) i guess things should work fine...what you guys think? I am not trying to avoid migration, and i also do know i will eventually have to migrate 6.0 to vs 2005 (database). I was wondering if you guys have laid out set of steps that one should follow to complete the upgrade migration from vsss 6.0 db to VS 2005? TIA

Comments

  1.    
      
      
       
  2. (optional, emails won't be shown on public pages)
  3. (optional)
Read more articles by Vladimir Milev - or - read latest articles in Developer Tools