Backup for Disaster Recovery
Regular backups for Devtron PostgreSQL and ArgoCD are crucial components of a disaster recovery plan, as they protect against potential data loss due to unforeseen circumstances. This documentation provides instructions on how to take backups of Devtron and store them either on AWS S3 or Azure containers.
- 1.Go to the devtron chart store and search for
- 2.Select the
Configure & Deploy.
- 3.Now follow either of the options described below according to your Cloud provider.
To store Devtron backups on AWS S3, please follow these steps:
- 1.Create an S3 bucket to store the Devtron backup, you can configure the bucket to delete all the objects older than 15/30 days.
- 2.Create a user with sufficient permissions to push to the S3 bucket created in step 1.
- 3.Obtain the access key and secret access key for the created user.
- 4.Configure the
devtron-backupschart for AWS S3 by selecting the appropriate options:
AWS Backup Configuration
- 5.Deploy the chart, and the Devtron backup will be automatically uploaded to the AWS S3 bucket at the scheduled intervals.
To store Devtron backups on Azure Containers, please follow these steps:
- 1.Create a storage account in Azure.
- 2.Within the storage account, create two containers for the Devtron backup.
- 3.Navigate to Security + Networking > Access Key section in Azure and copy the Access Key:
Azure Storage Account Key
- 4.Configure the
devtron-backupschart for Azure Containers by providing the Access Key:
Azure Backup Configuration
- 5.Before deploying the backup chart, ensure that
AWS.enabledis set to
false. This will ensure that Devtron backup will be automatically uploaded to the configured Azure containers on the scheduled intervals.
By following these steps, you can ensure that your Devtron data is securely backed up and protected against any potential data loss, enabling you to recover quickly in case of emergencies.