How to avoid storage of _sgbak in the working folder?
Moderator: SourceGear
How to avoid storage of _sgbak in the working folder?
Hi,
I am trying to use Vault for my website. The data is in a folder tree that gets traversed whenever a user requests something.
Now the problem is that each time I modify a file and check it in, Vault creates a folder called _sgbak in the working folder. This additional directory also gets traversed and subsequently the web site doesn't work properly.
Can I configure Vault in way that _sgbak doesn't get created or at least outside the working folder?
Thanks
Hans
I am trying to use Vault for my website. The data is in a folder tree that gets traversed whenever a user requests something.
Now the problem is that each time I modify a file and check it in, Vault creates a folder called _sgbak in the working folder. This additional directory also gets traversed and subsequently the web site doesn't work properly.
Can I configure Vault in way that _sgbak doesn't get created or at least outside the working folder?
Thanks
Hans
By default, Vault backs up files that are either edited or unknown before overwritting them, and it backs them up in the _sgbak folder. Unfortunately, you can't currently specify a different location for the backup folder, but you can turn it off so that it doesn't back the files up at all.
Go to Tools->Options->Local Files and uncheck "Save files in backup folder before overwriting"
Go to Tools->Options->Local Files and uncheck "Save files in backup folder before overwriting"
-
- Posts: 9
- Joined: Mon Feb 02, 2004 6:20 pm
- Location: Boston MA
- Contact:
specify a different location for the backup folder
Will there be an option for this in the future?
Michael D. Woffenden, Founder and President, Information Results Corporation
Me too
Add my vote for this as well. It's actually quite annoying having a gazillion little _sgbak folders everywhere. I understand the importance of the job they're doing, but surely this job could be done from one base folder instead? I just had to go through a project structure in Visual Studio without about 300 folders and manually exclude each _sgbak folder one-by-one from the project. Very very tedious. It's also annoying went you want to upload a web folder structure because you have to either put up with an irrelevant set of _sgbak folders in your production environment or somehow work out how to exclude them from the upload.
I am totally in favour of a single [ProjectRoot]\_sgbak\[EVERYTHING GOES HERE][/i]
I am totally in favour of a single [ProjectRoot]\_sgbak\[EVERYTHING GOES HERE][/i]
sgbak causing problems?
You shouldn't ever include sgbak folders into a websolution. so then if you deploy from the ide to another webserver sgbak folders are irrelevant.
I don't find sgbak folders problematic. They server a very good purpose.
I don't find sgbak folders problematic. They server a very good purpose.
Use Unleash It
There is a program called Unleash It which will FTP your files to your webserver and has easy to use filters that will filter out those _sgbak folders. you can find it at http://www.eworldui.net/UnleashIt/
Vault 3.1, due out later this spring will let you choose where to store the Vault client cache files and the _sgbak folder.
You'll also have the option NOT to save files in the backup folder. The state or baseline files (_sgvault) will need to be either in the working folder or the client cache folder.
You'll also have the option NOT to save files in the backup folder. The state or baseline files (_sgvault) will need to be either in the working folder or the client cache folder.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager