Export / Import Single Repository

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

Moderator: SourceGear

Post Reply
AndrewBurns
Posts: 2
Joined: Fri Mar 09, 2007 11:56 am

Export / Import Single Repository

Post by AndrewBurns » Fri Mar 09, 2007 12:03 pm

I use vault for my personal projects. I have come across a situation where I might sell one of the projects that I have stored in a vault repository. The company I might be selling to also uses vault. Is there a way to export just that repository from my database and import it into theirs so they get the full history of the project?

The only thing I could remotely think of is backing up my database then using vault admin to delete all other repositories giving them THAT database and then restoring my backup. However this does not really work as they would still need to merge into their existing database.

Please advise.

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

Post by Beth » Fri Mar 09, 2007 7:49 pm

Starting with Vault 3.5.x, we offer an export/import tool that automatically installs with the Admin tool. Both you and the other company that is importing would need to be up to at least version 3.5.

If you are on an older version, you will want to find out if they are on an older version of Vault than you. It is not possible to downgrade a database to an earlier version. If they are at the same or later, then I would suggest you make a backup of your database, restore it to a different SQL server, install Vault over top of it, use the Admin tool to delete the repositories you don't need there, then delete and obliterate the folders or files you don't need (delete keeps the history of those files, but obliterate doesn't), and then send the person the final result.

A third option I can think of is if the other company is on Vault 3.5.x and you are on an older version, then you would do with your database as stated in paragraph two so that you are working from a copy and not your production database, then install the same newer version of Vault (just the single user or demo version) and perform the export with the export/import tool.

Post Reply