Can I move a repo between v4.1.2 and 5.1.2?
Moderator: SourceGear
Can I move a repo between v4.1.2 and 5.1.2?
I currently have a repo for a client hosted in one of my servers, which has Vault 4.1.2
Now i'm going to hand over the repo to this client, who'll buy his own licenses for Vault, and it'd be ideal if he can use the latest version.
I was planning on moving the repo using the "VaultFolderExportImport.exe".
Would that work between versions? (in other words, export from 4.1.2 and import into 5.1.2)
If not, how could I do this?
Thanks!
Daniel
Now i'm going to hand over the repo to this client, who'll buy his own licenses for Vault, and it'd be ideal if he can use the latest version.
I was planning on moving the repo using the "VaultFolderExportImport.exe".
Would that work between versions? (in other words, export from 4.1.2 and import into 5.1.2)
If not, how could I do this?
Thanks!
Daniel
Re: Can I move a repo between v4.1.2 and 5.1.2?
In most cases you can export from one version of Vault and import into another. I haven't had any fail yet due to differences in the versions.
If the user doesn't have his/her own database yet, the other options are:
If the user doesn't have his/her own database yet, the other options are:
- The other user could install Vault 4.1.4, import your repository, and then upgrade to Vault 5.1.2. That user would not need to do anything license keys until users are created to work with the code.
You could send the user a backup of your sgvault and sgmaster databases, and have the user delete the repositories that aren't needed after a restore is performed.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Can I move a repo between v4.1.2 and 5.1.2?
Thank you very much! I'll post here if there's any problem.
Re: Can I move a repo between v4.1.2 and 5.1.2?
You're welcome.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Can I move a repo between v4.1.2 and 5.1.2?
I tried to run the import, it went well for quite a while, but I ended up getting this error:
http://dl.dropbox.com/u/1715552/import_error.jpg
Any idea what could be the problem?
Thank you!
Daniel
http://dl.dropbox.com/u/1715552/import_error.jpg
Any idea what could be the problem?
Thank you!
Daniel
Re: Can I move a repo between v4.1.2 and 5.1.2?
The error InvalidSessionToken could mean that IIS recycled in the middle interrupting the process or that there was a session timeout. One way to check would be to look in the Vault server log found at %windir%\temp\sgvault\sgvault.log for what the first error at the time you saw the error on the screen. What do you see there?
If you see System Started in the log around the same time, then IIS recycled. If you have IIS set to automatically recycle, then change those settings so that it won't recycle during the improt.
If you see System Started in the log around the same time, then IIS recycled. If you have IIS set to automatically recycle, then change those settings so that it won't recycle during the improt.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Can I move a repo between v4.1.2 and 5.1.2?
Thank you, I checked the AppPool settings and it's all set to no recycling.
Tried again and it worked the second time. I'm not sure what could've made it recycle the first time, but it's worked perfectly.
Thank you very much for the very quick help!
Daniel
Tried again and it worked the second time. I'm not sure what could've made it recycle the first time, but it's worked perfectly.
Thank you very much for the very quick help!
Daniel
Re: Can I move a repo between v4.1.2 and 5.1.2?
Thank you for the update. I'm happy to hear you're working now.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support