Backups
How do backups work in MariaDB v2?
IONOS CLOUD DBaaS for MariaDB v2 uses configurable backups instead of fixed daily backups. You can set:
Location: The Object Storage region where backups are stored, using the
backup.locationproperty. For added data safety, use a location different from the cluster's own region.Retention days: The number of days backups are retained before being automatically deleted, from 1 to 365 days (default: 7), using the
backup.retentionDaysproperty.
MariaDB v2 continuously archives binary logs and performs periodic full backups, enabling Point-in-Time Recovery (PITR). Backups can be used to restore an existing cluster to a previous point in time, or to initialize a new cluster with data from an existing backup during creation. For more information, see Restore a MariaDB Cluster.
How do backups work in MariaDB v1?
IONOS CLOUD DBaaS for MariaDB v1 supports automatic backups. Automatic backups are created in either of the following instances:
During the creation of a cluster.
Upon upgrading the current version of MariaDB to a higher version.
When a Point-in-Time Recovery operation is conducted.
IONOS CLOUD performs automatic full backups that run regularly at a specific hour based on the value set in the DBaaS component. IONOS CLOUD maintains backups for the last seven days so that you can recover them for up to a week. You can restore a MariaDB v1 cluster from a backup using either the DCD or the API.
Manual backup
IONOS CLOUD facilitates the "logical" backup option using mariadb-dump. Alternatively, you can also use the mariadb-dump client to back up data to a different location. For more information, refer to the MariaDB Documentation.
Restore benefits
Restoring from a backup, whether through the DCD or the API, offers the following benefits:
Point-in-Time Recovery: You can restore your MariaDB clusters to a specific point in time. For example, you can roll back the cluster to a state before data corruption or accidental deletions.
Automated process: The automated process significantly streamlines and reduces the time and effort required to restore a MariaDB cluster.
Data consistency: It ensures that the restored MariaDB cluster is consistent and matches the data state at the specified point in time, helping maintain data integrity across applications interacting with the cluster.
User control: You have complete control over the restoration process, allowing you to select a specific point in time for the restoration and monitor its progress.
Last updated
Was this helpful?