Technical Note: [Accelops KB] How to restore the CMDB if I have a backup
Description
Summary of Topic
This article will provide steps on how to restore the cmdb if you have a backup of it.
Steps
In case the database files get corrupt, restore as follows
- go to /data/archive/cmdb on AccelOps
- Copy the latest phoenixdb_<timestamp> file to a location (say "/tmp") on AccelOps
- Go to /opt/phoenix/deployment
- Run "db_restore.sh /tmp/phoenixdb_<timestamp>"
- service postgresql restart
Caveats/Limitations
n/a
Version Application
All