Perform Backup and Restore in a High-Availability Cluster
This topic describes the process of creating a backup of a database and restoring it on a server that is highly available.
About this task
Procedure
Create a Backup:
-
On the Node1 server, launch Windows Failover Cluster Manager.
Ensure that:
- Node1 is Active
- Node2 is Paused
-
Update the
pg_ident.conf
file in all three database folders. -
In Windows Failover Cluster Manager, right-click on each service (listed below) and
select Take Offline.
Operations Hub IQP Tomcat Web Server
Operations Hub WebHMI Tomcat Web Server
Operations Hub WebHMI Data Distributor
Operations Hub IQP EndApp
Operations Hub OPC UA Browse Service
- Run the backup script.
-
To bring the services online, right-click on each service (listed below) and select
Bring Online.
Operations Hub IQP Tomcat Web Server
Operations Hub WebHMI Tomcat Web Server
Operations Hub WebHMI Data Distributor
Operations Hub IQP EndApp
Operations Hub OPC UA Browse Service
Restore a Database:
- On the server you want to restore the Operations Hub database, repeat steps 1-3.
- Run the restore script.
- Repeat step 5 to bring services online.