Switching SQL Server databases
Moderator: SourceGear
Switching SQL Server databases
Do you have a document on doing this?
I want to move my Vault database from one server to the other and leave the web server as is.
I'm thinking that all I need to do is back it up from one server and restore it to the other and then change the Vault configuration files.
Is this about right?
I want to move my Vault database from one server to the other and leave the web server as is.
I'm thinking that all I need to do is back it up from one server and restore it to the other and then change the Vault configuration files.
Is this about right?
Pretty close. You also need to delete and recreate the database user and login that Vault uses to connect to MS SQL Server. See this KB article on moving the Vault database.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Cannot switch
I followed the steps and when a client tries to login, they get the error 'specified cast is invalid'. I pressed the more information link and was sent to this site:
http://kb.sourcegear.com/VaultHelp/mess ... +not+valid.
But the first page does not speak to this error. I couldn't view the second page because of a web site error about a division by zero in the .PHP files.
http://kb.sourcegear.com/VaultHelp/mess ... +not+valid.
But the first page does not speak to this error. I couldn't view the second page because of a web site error about a division by zero in the .PHP files.
Sometime this error message means SQL server is running out of space. Check the Vault server log file to see if there's more information.
Meanwhile we'll check our KB forum and fix that error message.
Meanwhile we'll check our KB forum and fix that error message.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
SQL Server space is fine
The sgvault database is stored on a volume with 98GB of available space.
I looked at the Vault log and did not see anything.
I looked at the Vault log and did not see anything.
I sent the file
I sent the file
I did not try all users
I just tried one. When I got the error, I 'undid' what I had done to move the database.