CML - Database restore
This chapter describes how to restore databases on CML server.
This article is not intended as the standalone recovery procedure. Kindly use this article only in case that you are pointed to it from another article (such as CML - Recovery procedure for master node). The articles pointing to this one are explicitly saying which databases shall be restored and where they shall be taken from.
Document is divided into several parts depending on the used database engine:
Database restore on PGSQL database
Chapter describes the way how to restore PG-SQL databases.
Please check that current backup files are available before you start with restore procedures.
1 | Open the Services window (e.g. Start => Run => services.msc) and stop all YSoft SafeQ services:
|
2 | Using the program pgAdmin III connect to the SQDB5 database:
|
3 | Delete current databases (SQDB5 and SQDB5_SQDW) in case they exist |
4 | Create a new Databases
|
5 | Restore database from existing backup file SQDB5.
Restoration must end with Error code 0
|
6 | Restore database from existing backup file SQDB5_SQDW.
Restoration must end with Error code 0 |
7 | Check step: Once databases are restored, check that they contain all tables Go to the Databases => SQDB5 => Schemas => Public => Tables and check that tables are created
|
8 | Open the Services window (e.g. Start => Run => services.msc) and start all YSoft SafeQ services:
|
Database restore on MS-SQL database
Chapter describes the way how to restore MS-SQL databases.
Please check that current backup files are available before you start with restore procedures.
1 | Open the Services window (e.g. Start => Run => services.msc) and stop all YSoft SafeQ services:
|
2 | Using the SQL server management studio connect to the SQDB5 database:
|
3 | Delete current databases (SQDB5 and SQDB5_SQDW) in case they exist
|
4 | Restore databases:
|
5 | Check step: Once databases are restored, check that they contain all tables. Go to the Databases => SQDB5 => Schemas => Public => Tables and check that tables are created
|
6 | Open the Services window (e.g. Start => Run => services.msc) and start all YSoft SafeQ services:
|



