Temp\SGShadowFolder

If you are having a problem using Vault, post a message here.
Post Reply
squser
Posts: 1
Joined: Fri Aug 14, 2015 1:33 pm

Temp\SGShadowFolder

Post by squser » Fri Aug 14, 2015 1:36 pm

Hi,

Our SGShadowFolder\cache is getting bigger; and we were hoping to move it to another drive other than the C:.

• Is it possible to move the C:Windows\Temp\SGShadowFolder to another drive?
• How can we configure or do the settings to point to new drive?
• Or, how can we limit the size of the cache folder on the C: drive.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Temp\SGShadowFolder

Post by Beth » Fri Aug 14, 2015 3:18 pm

The Shadow Folder cache path is saved in the web.config file found under the VaultShadowFolder folder. If the defaults were chosen during install, you would find that at C:\inetpub\wwwroot\vaultservice\vaultshadowfolder\web.config. There are web.config files in other areas as well, so it is important to select the correct one.

Just open the web.config in notepad and look for the line
<add key="shadowfolder_cachepath" value="%SystemRoot%\Temp\SGShadowFolder\cache" />

You can change that path. Please note that the application pool will have to be recycled after this, so it would be best if users aren't checking in changes while you do this.

After the change, save the file, and then either recycle IIS entirely or you can just recycle the VaultShadowFolderAppPool. Then check to see if the cache is building. If it's added even just one thing, then allow it to work until populated. Then have a user check in a file and test the results. One you are sure it's working, you can delete the old shadow folder cache location.
Beth Kieler
SourceGear Technical Support

Post Reply