can't use profiles with folder import/export tool

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

Moderator: SourceGear

Post Reply
jmagaram
Posts: 25
Joined: Wed May 21, 2008 11:17 am

can't use profiles with folder import/export tool

Post by jmagaram » Tue Nov 10, 2009 12:52 pm

i have successfully set up profiles for the Vault Client and used them to log on. but the UI for profiles in the Folder Import/Export tool is disabled. am i supposed to be able to use profiles with the Folder Import/Export tool?

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

Re: can't use profiles with folder import/export tool

Post by Beth » Tue Nov 10, 2009 4:55 pm

That currently isn't an option. I can take a feature request if you would like.

Generally, Folder Export/Import isn't something one would use on a daily basis. If you are using yours on a daily basis, then I'd be interested in learning how you work and why you chose that route.
Beth Kieler
SourceGear Technical Support

jmagaram
Posts: 25
Joined: Wed May 21, 2008 11:17 am

Re: can't use profiles with folder import/export tool

Post by jmagaram » Tue Nov 10, 2009 6:38 pm

i agree it isn't an important feature for the import/export. but it looked like something was broken because i was used to the profile UI being enabled. i recommended hiding these profile controls in the import/export dialog, or adding a piece of text "can't use profiles here", or adding a similar message to the help.

i am using import/export as my backup plan. i export to a file in my microsoft live mesh so it gets backed up to a server. there is no simple way to back up to a different media - that is what is missing. if i use the "backup" button it puts the backup in some hidden directory. and if i remove it from that hidden directory and manually copy it to a server, then i can't use the sourcegear "restore" function, which assumes the file is in a particular location. what is the best way to back up my data to a server or to a specific folder on my hard disk?

i suppose most people put vault on a server which probably gets backed up and has a sql management plan. so backup and restore isn't a big deal. i have an unusual configuration - just a single user on a laptop with sql express, so backing up is more of a hassle.

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

Re: can't use profiles with folder import/export tool

Post by Beth » Wed Nov 11, 2009 11:30 am

The Vault backup is limited, so for more options, using your SQL Server Management Studio Express or just a script will be much nicer. A very basic backup query that you can schedule to run is something like:

Code: Select all

BACKUP DATABASE sgmaster 
TO DISK = 'E:\Backups\sgmaster.BAK'
BACKUP DATABASE sgvault 
TO DISK = 'E:\Backups\sgvault.BAK'
You can certainly continue with the Export/Import as you are, but you might find that if you need to recover, restoring a SQL database will probably be faster. I think a SQL backup might be faster also than the Export.

If you prefer the Export/Import, you might consider just having a SQL Backup once in a while still.

There's some freebie tools that you can find on the Internet that backup SQL databases if you're not comfortable with the SQL tools. I haven't tried them myself, but I know they're out there.
Beth Kieler
SourceGear Technical Support

Post Reply