[RESOLVED] SourceSafe Analyze
A salesperson just kicked my power cord which turned off my PC. I had VSS up and running. So now I have to run Analyze. I don't know if I'm dreaming (it's more of a nightmare really) but I could've sworn in the past (like on Monday) I was able to open SourceSafe Administration and under Tools there was an Analyze utility. I don't have it now. I don't want to use the command line, this should be a simple analyze. Do you have it? Where could mine have gone?
Re: [RESOLVED] SourceSafe Analyze
First of all, do you have a backup? If not, at least backup what you currently have immediately before analyzing, just in case you need to go back to your current DB for some reason.
The command line that is in the shortcut "Analyze VSS DB" on the Start menu is:
Quote:
"C:\Program Files\Microsoft Visual Studio\COMMON\VSS\win32\ANALYZE.EXE" -x -v1 "C:\Program Files\Microsoft Visual Studio\Common\VSS\data"
Just replace
Quote:
"C:\Program Files\Microsoft Visual Studio\COMMON\VSS\win32\ANALYZE.EXE" -x -v1 "C:\Program Files\Microsoft Visual Studio\Common\VSS\data"
with the path to your VSS DB's data directory.
Hope this helps.
-EM
Re: [RESOLVED] SourceSafe Analyze
Yes, that is helpful.
May I ask how to backup the database? I didn't even find where it is...
Re: [RESOLVED] SourceSafe Analyze
Hmm, to access the VSS DB you need to navigate to the srcsafe.ini of the DB and that is usually in the root dir of the DB. Anything in that root dir and above (below.... whatever, everything within the folder!) should be backed up.
Re: [RESOLVED] SourceSafe Analyze
Okay, I noticed that ini file when I was poking around earlier. So by backup you just mean copy the folder somewhere, not do a sql server backup-equivalent-type-thing... Right?
Re: [RESOLVED] SourceSafe Analyze
Correct. The VSS "Database" is really just a collection of files in a specific folder structure. Copy all the files and you copy the Database.