Restore data from Centreon MAP server¶
Restore process is divided in several steps:
Extracting backup
Restoring configuration files
Restoring database
Note
We assume that you have followed the Centreon MAP server installation procedure to get a fresh install.
Extracting backup¶
Get the last centreon-map-server-yyyy-mm-dd.tar.gz backup and extract it into /tmp directory:
# cd /tmp
# tar xzf centreon-map-server-yyyy-mm-dd.tar.gz
Restoring configuration files¶
To restore configuration files, run the following command:
# \cp -R etc/centreon-studio/* /etc/centreon-studio/
Restoring database¶
To restore centreon_studio database, run the following command:
# systemctl stop tomcat
# mysql -h <db_host> -u <db_user> -p<db_password> <db_name> < centreon-map-server.dump
# systemctl start tomcat