Professional Documents
Culture Documents
1) Create a fresh docbase using Server Configuration Utility. Ensure that you create the fresh
docbase with same repository name, repository ID, database name, repository owner name
and password as in the production repository.
All the above details can be obtained from the server.ini file of the production repository.
Eg: Repository name = prod_docbase
Repository ID = 39351
Repository owner name = dmadmin
Password = PASSWORD
Obtain the docbase owner and password from the Content Server Administrator of the
production repository.
2) As a consequence of the above step, we will have a file store created on the Content Server
host (\data\ prod_docbase) and table space (prod_docbase) created on the database server
(MSSQL 2000).
3) Connect to the Enterprise Manager on the SQL server machine and open the Databases folder.
4) Right Click the database (prod_docbase) corresponding to the repository created in the step 1.
Choose the option All Tasks and then click Restore Database.
5) A Restoration menu will pop up. Choose the appropriate .BAK file (prod_docbase_db) to be
restored. Choose Force Restoration while restoring the database. Also choose appropriate path
for .mdf and .ldf file, which are created during restoration. Generally these files are created under
the folder Drive: \Program Files\My SQL server\MSSQL\Data or LOG.
6) Once the restoration is complete, you will find that the original tablespace (created in Step 2)
has been replaced by the tablespace corresponding to Backup database (prod_docbase_db).
7) Open Query Analyzer with the user account of sa and connect to the docbase
(prod_docbase) created in above steps. Change the docbase owner to dmadmin by executing the
following query:
EXEC sp_changedbowner dmadmin
Disconnect with prod_docbase.
8. Reconnect to prod_Docbase in Query Analyzer with the user account of docbase owner
dmadmin( i.e user id : dmadmin and pwd : PASSWORD) and execute the following sql
scripts:
Update dm_server_config_r
set projection_targets = newhost where projection_targets = oldhost \\