DEV Community

Talha Munir 🇵🇸
Talha Munir 🇵🇸

Posted on • Edited on

Faraway Replicas-part 2

In the second part of faraway replicas, we will discuss how you can delete and restore a faraway replica. You can view part 1 here

Delete a faraway Replica:

You can delete the replica by following below steps:

  1. Sign in to the BigAnimal portal.
  2. Go to the cluster page. You will see a list of all previously created clusters.
  3. Select the cluster with the replica you want to delete.
  4. Select the replica you want to delete.
  5. Select the delete icon to delete the replica.
  6. Confirm the checkbox that you want to permanently delete the replica. The replica will be deleted.

Restore a replica backup:

You can also restore a replica backup on a standalone cluster. A new standalone cluster is created and initialized with data from the replica backup. Following are the steps on restoring the backup of a replica.

  1. Select the cluster with the replica that you are willing to restore on the clusters page in the big animal portal.
  2. In the overview tab, You can see the cluster replicas under faraway replicas. Select the Replica.
  3. From quick actions click on Restore Replica.
  4. On the restore replica page.
    • Fill in the required fields.
    • Select now on the calendar to restore to the last possible recovery point.
    • review your selection and select restore to begin the restore process.
  5. The new standalone cluster is now available on the clusters page.

References:

  1. https://www.postgresql.org/docs/
  2. https://www.enterprisedb.com/docs/biganimal/latest/reference/cli/using_features/#faraway-replicas-cli-commands

Top comments (0)