Restore a PostgreSQL Cluster
Last updated
Last updated
With IONOS DBaaS, you may roll back your PostgreSQL clusters to a previous point in time or use it to create a new cluster. This reliable function prevents data loss and downtime in unexpected situations.
For example, consider that certain values were accidentally deleted from your cluster around 11 hours today. The easiest way to recover missing data is to restore a backup before 11 hours.
Note: You can restore only one backup at a time, and you must wait for the restoration process to finish before restoring another backup.
Prerequisites:
The backup must belong to the PostgreSQL cluster to be restored.
The cluster must be in the AVAILABLE state.
To restore a cluster, follow these steps:
Log in to the DCD with your username and password.
Go to Menu > Databases > PostgreSQL.
Select a cluster from the list by clicking on its name. Alternatively, click Details in the OPTIONS column.
The Cluster details tab displays the necessary information of the chosen cluster. For more information, see View PostgreSQL Cluster Details.
Select Backups to view the list of backups. Point In Time Recovery displays the earliest backup available for restoration. Select Restore backup for backup restoration.
a. In the Restore backup pop-up window, click within the text box to open the Calendar.
b. Backups are available only for those dates that are available for selection. Select a date and click Ok.
c. Select the Clock icon to set a time for restoring the appropriate backup from the chosen day. Click Ok to confirm your selection.
d. Select Restore to proceed with the restoration.
e. Select Restore to confirm the restoration.
Result: You will receive a confirmation that the cluster will be restored, and the respective cluster's STATE is set to Busy.