Skip to main content

Backups

We use AWS RDS Backup and Restore to automatically back up production databases across our products.

Amazon RDS Automated backups

Product Type of backup Retention
DHCP/DNS Admin Portal RDS (MySQL) 30 Days
DHCP KEA RDS (MySQL) 30 Days
IMA RDS (Postgres) 7 Days
NACS Admin RDS (MySQL) 30 Days

Backup configuration

The backup retention is defined as code in the following locations.

Product variable database setting
DHCP/DNS Admin Portal https://github.com/ministryofjustice/staff-device-dns-dhcp-infrastructure/blob/main/variables.tf#L52) https://github.com/ministryofjustice/staff-device-dns-dhcp-infrastructure/blob/main/modules/admin/db.tf#L18
DHCP KEA https://github.com/ministryofjustice/staff-device-dns-dhcp-infrastructure/blob/main/variables.tf https://github.com/ministryofjustice/staff-device-dns-dhcp-infrastructure/blob/main/modules/dhcp/mysql.tf#L10
NACS Admin https://github.com/ministryofjustice/network-access-control-infrastructure/blob/main/variables.tf#L48 https://github.com/ministryofjustice/network-access-control-infrastructure/blob/main/modules/admin/db.tf#L15
This page was last reviewed on 15 April 2024. It needs to be reviewed again on 15 October 2024 by the page owner #nvvs-devops .
This page was set to be reviewed before 15 October 2024 by the page owner #nvvs-devops. This might mean the content is out of date.