Datamart can be run in same instance or in a separate instance.
-
Do a dump of the PostgreSQL datamart.
-
su - postgres -c 'pg_dumpall -p <datamart-port>
<dump-location>/<datamart-name>.sql
-
Stop the services.
-
/etc/init.d/collabnet stop all
-
Configure datamart.
Note: Configuration differs based on the mode of installation. Boostrapping is
not required.
-
Restore the reporting database.
-
su - postgres -c dropdb <datamart-name> -p
<datamart-port>
-
su - postgres -c 'createdb -E UTF8 -O
<datamart-user> <datamart-name> -p
<datamart-port>
-
su - postgres -c psql -p <datamart-port>
<dump-location>/<datamart-name>.sql'
-
Start the services.
-
Check if the existing data is appearing in charts.