The Mirantis Cloud Platform (MCP) uses the PostgreSQL database to store all state information for the MAAS server provisioning tool of MCP. Mirantis recommends backing up your MAAS PostgreSQL databases daily to ensure the integrity of your data. You may also need to create a database backup for testing purposes.
MCP uses the Backupninja utility to back up and restore the MAAS PostgreSQL database. You can also use Backupninja to copy the MAAS PostgreSQL databases.
Backupninja installs automatically with your cloud environment using a SaltStack formula and includes the following components:
Backupninja collects and backs up all the MAAS PostgreSQL database data to successfully restore the system from scratch.
This section describes how to create and restore your MAAS PostgreSQL databases using Backupninja.