When working with the Distributed DDNS Adaptive Application, you can perform database backups of the Distributed DDNS Data Nodes. Database backups can be performed manually or automatically.
To perform a backup automatically, you must enable backups from the Configuration tab of the Distributed DDNS Application Node UI. For more details, see Database Settings in the Application Node's Configuration Information.
If automatic backups are enabled, you can also set how often a Data Node reads the backup configuration details from the Application Node. For more details, see Configuring the Auto Backup service.
All backup files (manual or automatic) are stored in the following directories:
-
The BDDS host machine: /var/lib/docker/volumes/mariadb-backup/_data
-
The MariaDB Docker container: /opt/backup
Full backup files are located within the /full file path of the backup directories.
To perform a manual database backup:
-
Log in to the console of the BDDS of a data node in the cluster.
-
Run the following command to start the database backup:
docker exec -it <node_name> manual_backup
Optionally, you can specify the
--remote
option to backup the information to a remote server. When you specify this option, you are prompted to enter additional credentials to authenticate with the remote server.