Restore

This article describes how to restore a PostgreSQL Cluster using the Instaclustr Console. It assumes that you have already provisioned a PostgreSQL cluster in accordance with the steps in Creating a PostgreSQL Cluster and generated a backup following the steps in Backups.

To get started, after signing into the console, click on the dropdown button with the name of the PostgreSQL cluster you want to restore from. This will reveal a list of different tasks that can be conducted on the cluster.

You should already have a PostgreSQL cluster running in the Instaclustr Console

To restore the cluster, simply click on the Backups & Snapshots button that appears in the sidebar. This will take you to a page with a history of backup events on the cluster.

Press the Backups & Snapshots button for your cluster in the sidebar

From the Backups & Snapshots page, click on the Restore tab to bring up the restore options.

Choose the Restore tab

The restore page has a date and time selection field. The restore process will create a new cluster based on the most recent backup prior to the specified time. To specify the time, you need to click on the calendar icon next to the text field.

Press the little calendar icon on the right hand side of the Local Time date field

This will bring up a selection box. Adjust the date and time and then click on the tick to confirm your selection.

Choose the appropriate date and time in the date picker

The selected time cannot be in the future, and must be more than the last 6 minutes. The timestamp must also be after the earliest available backup completion time. If these criteria are not met, an error will be returned when you attempt to start the restore process.

If you select an invalid time, a red box with an error will appear

For AWS and GCP: there are 3 VPC options to restore into each Data Centre:

  • New VPC: To restore a cluster into the New VPC. 
  • Same VPC: To restore a cluster into the same VPC. Network CIDR will be calculated automatically. 
  • Custom VPC: To restore a cluster into the custom VPC (could be the same or a different VPC rather the existing source cluster). A Network CIDR is required.

Please visit New MRR Clusters with Private Network and Custom VPC for the steps to accept the peering request and add a route in your VPC via AWS console.

Use the radio buttons to choose between the VPC options for your restored cluster

For other cloud providers, the VPC option will not be available and the cluster will always restore to a new VNet/VPC.

If you are using a cloud provider that does offer VPC options, then the VPC options section will not appear

To start the restore, click on the Start Restore button. This will bring up a message box confirming that the restore request has been submitted, and providing a link to the new cluster that the backup is being restored to.

Press the Start Restore button to start a restore. This will create a new cluster, which can be accessed from the Clusters sidebar

The new cluster will also appear in the sidebar. Its name will be the same as the original cluster appended with “-restored-” and the restore date.

To track the progress of the restore process, click the new cluster link in the green message box. This will take you to the details page for the new cluster.

The cluster will complete the restore once the Provisioning Status is Running. You can see cluster information in the Details tab

 

Initially, the status of the new cluster will be PROVISIONING. When the restore process has completed, this will change to RUNNING. Once the cluster has reached the running state all data available at the restore target time will be present for searching on the restored cluster.

Please note that restore functionality is also available via the Instaclustr API.

By Instaclustr Support
Need Support?
Experiencing difficulties on the website or console?
Already have an account?
Need help with your cluster?
Contact Support
Why sign up?
To experience the ease of creating and managing clusters via the Instaclustr Console
Spin up a cluster in minutes