This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Vault Configure to New Database.

Hrishikesh - Wednesday, June 8, 2011 4:30 PM:

Hi All,

         I Have Vault Folder which has the Images files. The data and Vault path is stored in Database.

When i backup the Database (E.g. data12.bak ) file. And i restore to the New Database and also copy the Vault folder to new Aras Innovator Installed ( ootb ).

I Configure the New Database to New Aras Installed Innovator and Vault folder But when i login to New Aras Innovator and Check the data the Images are not displayed.

What should do to configure the Vault to a new Database.

Please guide me as early as possible.

Thank You,

Hrishikesh



aknourenko - Friday, June 17, 2011 2:28 PM:

Hi,

First of all I'm not sure I understand what you mean by "The data and Vault path is stored in Database". What do you mean by "data"? Also, Innovator does not stores "path" to vaults but rather URL to VaultServer.aspx  which handles requests like "get file", "delete file", etc.(in general, vault server might reside on a very different server to which Innovator server has no access to). How to find the location of the physical file based on the file ID and database name is known only to the VaultServer.aspx. 

In general, it should be possible to take existing vault content (i.e. physical directory tree) and move it to another Innovator. I would recommend to check several things:

- It's not enough to just restore a backup file; certain stored procedures must be ran to give proper permissions to Innovator related SQL users. Please check Innovator documentation on the subject.

- You have to import (i.e. backup estore) the DB from the source Innovator (which you do). After the import you have to check that the corresponding item of type "Vault" (you can find them under TOCAdminVaults) that reference the new vault contains the correct URL to the new VaultServer.aspx

- Vault content for a particular DB is stored in a directory tree which root is named after the database name (in other words, root physical directory where vault keeps physical files referenced from the database named, let's say, "SolutionsDB" is named "SolutionsDB"). If DB name in your source and target Innovator do not match then the name of the root directory has to be changed.

- Vault configuration file (VaultServerConfig.xml) contains URL of the Innovator server as each vault also communicates with the Innovator server by sending it requests in certain situations. Make sure that after you moved the vault the VaultServerConfig.xml still contains the correct URL referencing the new Innovator.