VSS Import - temporary files

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
James Jeffers
Posts: 95
Joined: Mon Aug 29, 2005 12:39 pm

VSS Import - temporary files

Post by James Jeffers » Fri Sep 02, 2005 6:34 am

Is there a way to know, for certain, what folder the Import tool uses for temporary storage?

I thought that the recommended method for this was to use the Vault client to specify the folders, but I cannot see any activity in that folder. I also see that the C: drive is filling up, sometimes beyond a gig, during an import.

Previously I could see the drive capacity fluctaute during an import, especially during label imports.

While the latest import from our VSS db went ok for the files, drive space during the label portion of the import was consumed completely.

Need some help with this, thanks.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Fri Sep 02, 2005 10:56 am

Is there a way to know, for certain, what folder the Import tool uses for temporary storage?
It really depends on the specific system configuration.

During the import, the Import Tool creates client-side cache files, similar to those created by the Vault GUI Client. These shouldn't take up too much space, since they're basically a cache of the folder tree structure, etc. rather than a cache of specific file info.

These cache files will be on the Import Tool machine in C:\Documents and Settings\<user>\Application Data\SourceGear\Vault_1 for earlier versions of Vault. In Vault 3.1 the default location is C:\Documents and Settings\<user>\Local Settings\Application Data\SourceGear\Vault_1, but this is configurable. The Import process is running under the Vault Admin user, so you may be able to log as Admin into a Vault Client on the Import Tool machine and change the location -- or it may just use the default.

When the Import Tool imports labels, it must basically re-create the labels and it does so by creating temporary files. By default, these are written to a VSS Labels folder in C:\Documents and Settings\<user>\Local Settings\Temp on the Import Tool machine.

As soon as a label is imported, these files are deleted, but if you have huge labels (from labeling the root project in VSS, for instance), the temp files from just one label make take more space than you have available.

You may be able to change the location of your user's Temp directory (%Temp%) by using SET TEMP or by editing the environmental variable: Control Panel->System->Advanced->Environmental Variables->User Variables.
Linda Bauer
SourceGear
Technical Support Manager

James Jeffers
Posts: 95
Joined: Mon Aug 29, 2005 12:39 pm

Post by James Jeffers » Fri Sep 02, 2005 11:29 am

Linda,

It appears that EVERY temp file system and environment variable was set to %SYSTEM_DISK/Temp, or some variation of that. Some were also set to the user profile data directory. I reset them all.

However, I'm assuming that the Import tool is going to use the values provided when it was started. Is there any chance of importing the labels separately? At this point, I think we have the files - just not the labels for one "tree".

Many thanks!

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Fri Sep 02, 2005 3:19 pm

I sent you an email with info on a labels-only import.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply