Restore & DR for external database’s in Azure & AWS (IHC)
PLEASE NOTE: If on the old external database architecture (Helm Chart <4.13.0) please reach out to Immuta Support prior to making any changes to avoid potential issues.
Azure Scenario 1 - Azure managed restore
This scenario should be used when performing Azure infrastructure upgrades or other infra. related activities are causing issues with all resources in the Immuta cluster, or there is corruption/ total loss of the flexible PostgreSQL server.
If the Immuta installation is up and operational then please skip to step 2
Perform a Helm uninstall of your Immuta installation
Once the Helm uninstall is complete please ensure all PVCs are removed:
Within the Azure PostgreSQL page of your database, navigate to the “Backup and Restore” section in the left side navigation panel
Select the latest backup and click on “Fast Restore”
Leave the default values that are auto-populated as these are copied from your existing database; Then chose the latest restore point or select a PIT (point in time) recovery option if available
Name the flexible server instance something that is NOT the same as the already existing server. Then select “Create” at the bottom.
Once completed, navigate to the resource page of the newly created PostgreSQL flexible server and copy the host name generated in the upper right side.
Use this value to replace the old host value under the external database section and save
Perform a
Helm install
If you are only changing the database side and leaving the Immuta installation intact then perform a
Helm upgrade
instead.
Azure Scenario 2 - Immuta cluster restore
This scenario should be used when performing Azure infrastructure upgrades or other infra. related activities are causing issues with the Immuta installation and NOT the external flexible PostgreSQL server.
Perform a Helm uninstall of your Immuta installation
Once the Helm uninstall is complete please ensure all PVCs are removed:
Verify the values file is up to date and current with the proper external database host name
Perform your infrastructure changes/ updates in AKS
Once complete, perform a
Helm install
to reinstall Immuta and connect to the external database.
AWS Scenario 1 - RDS Snapshot Restore
This scenario should be used when performing AWS infrastructure upgrades or other infra. related activities are causing issues with all resources in the Immuta cluster, or there is corruption/ total loss of the RDS DB Instance.
If the Immuta installation is up and operational then please skip to step 2
Perform a Helm uninstall of your Immuta installation
Once the Helm uninstall is complete please ensure all PVCs are removed:
Navigate to your Immuta RDS instance in AWS and select the “Maintenance & Backups” tab
Scroll to the bottom where it will list all available snapshots and select the latest snapshot, or a specific PIT (point in time) snapshot that you wish to recover to and click on “Restore”:
Create the database name identifier; This needs to be unique and cannot match the currently running RDS instance
This will copy over the following configurations from the snapshot:
databases
passwords & users
extensions
PostgreSQL version
It does not copy over and must be re-configured:
storage & compute config
database ID name (unique)
VPC, Security Groups, Public Access
When you match the configuration to the previous RDS instance, click on “Restore DB Instance”
This will then create a new RDS instance with the new configurations set and the snapshot, when that is done being created navigate to the newly created RDS instance
Note down the new instance hostname
Replace the
externalDatabase.host
value in yourimmuta-values.yaml
file with this to point your Immuta installation at the newly restored external database.
AWS Scenario 2 - Immuta cluster restore
This scenario should be used when performing AWS infrastructure upgrades or other infra. related activities are causing issues with the Immuta installation and NOT the external RDS DB Instance.
Perform a Helm uninstall of your Immuta installation
Once the Helm uninstall is complete please ensure all PVCs are removed:
Verify the values file is up to date and current with the proper external database host name
Perform your infrastructure changes/ updates in AKS
Once complete, perform a
Helm install
to reinstall Immuta and connect to the external database.
Last updated