CRS - Database Restore

About

This page describes how to restore CRS databases from the existing database backup. The description is related to Microsoft SQL Server 2008, the steps on another version of MS SQL server are very similar. Please see documentation of your MS SQL server for more details.

images/s/-3eliqb/8502/404359a7d2ab19c9c7c58d12013124a386b28257/_/images/icons/emoticons/warning.svg This page is only an extension of the existing documentation and it is not intended as a standalone recovery scenario for the CRS failure. If your CRS is corrupted, please follow instructions from CRS - Restore after server failure article to restore it.

Database restore procedure

1

Open SQL Server Management Console and connect to the database engine.

images/download/attachments/21955766/1.PNG

2

Make sure that databases you want to restore does not exist. In case the database already exists, delete it.
 

3

Right-click the Databases folder and select "Restore Database" option.

images/download/attachments/21955766/2.PNG

4

Enter the database name in "To database" field (use one of the following names: yBoxDB or yBoxDBCDC).

Select "'From device" option and select the path to the database backup.

Tick the Restore checbox for the selected database.

images/download/attachments/21955766/3.PNG

5

Optionally change the location where the restored database files shall be kept.

images/download/attachments/21955766/5.png

6

Click OK button to start the database restoration process.

Close the Restore Database window once the database has been restored properly.

images/download/attachments/21955766/4.PNG

7

Repeat the step 1-6 for the restoration of remaining databases.