How to Move an entire repository

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

Moderator: SourceGear

Post Reply
btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

How to Move an entire repository

Post by btd » Thu Apr 28, 2011 8:41 am

Is it possible to "move" an entire repository from one REPO to another? If so, how can this be done as in my experience I can only "move" wihtin the same REPO.

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Re: How to Move an entire repository

Post by btd » Thu Apr 28, 2011 8:50 am

Note: I am on 5.0version of Vault.

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

Re: How to Move an entire repository

Post by lbauer » Thu Apr 28, 2011 10:43 am

You can export folders from one repository and import them into another with Vault Folder Export\Import. The Vault FolderExportImport tool is in the Vault GUI Client directory. Documentation is also in the Vault GUI client directory in a .chm file.

Note: this may not work if you have any obliterates in the repository. Obliterate permanently removes history, and since the Export\Import tool needs to recreate history, an obliterate can cause it to fail.
Linda Bauer
SourceGear
Technical Support Manager

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Re: How to Move an entire repository

Post by btd » Thu Apr 28, 2011 11:19 am

Thanks
Can you make it an enhancement to add this functionality to the Vault Client Move method?

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

Re: How to Move an entire repository

Post by lbauer » Thu Apr 28, 2011 3:54 pm

Do you want the history to move as well?
Linda Bauer
SourceGear
Technical Support Manager

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Re: How to Move an entire repository

Post by btd » Fri Apr 29, 2011 8:55 am

Yes.

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

Re: How to Move an entire repository

Post by lbauer » Fri Apr 29, 2011 4:32 pm

It's fairly complex to move all history, because items may have been shared, moved, branched, etc. I don't think there's a way to move with all history without going through history one version at a time, like the Folder Export does.

We are hoping to find ways to handle Obliterates so that Exports aren't stopped because of them.
Linda Bauer
SourceGear
Technical Support Manager

gogu
Posts: 1
Joined: Thu May 26, 2011 5:12 am

Re: How to Move an entire repository

Post by gogu » Thu May 26, 2011 5:16 am

I have noticed that if you export a folder that was shared and then branched, it looses the history before branching. Is it possible to have the history before branching, too, after exporting and importing to another repository? In the initial repository it still has it.

Post Reply