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.
Automatic backups can be configured from the Configuration tab of the Distributed DDNS Application Node UI. For more information on configuring automatic backups, refer to Configuration information.
You can configure the data nodes to read the backup configuration information.
- Click the Settings icon under the MariaDB column.
- In the configuration window, enter the following
--- READ_BACKUP_INTERVALS: 60Where the parameter represents the following:
- READ_BACKUP_INTERVALS: The interval at which the data node reads the backup configuration (in seconds). By default, the service reads the backup configuration every 60 seconds.
- Click Start to enable the Distributed DDNS service.
- Click Save to save the Distributed DDNS service configuration and add the service to the Distributed DDNS Data Node.
Manual backups can be performed from any of the Distributed DDNS Data Nodes.
- Log in to the console of the BDDS of a node in the cluster.
- Run the following command to start the database
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.
Once you have entered the command, a database backup of the node is performed. The backup files are stored under the /var/lib/docker/volumes/mariadb-backup/_data directory of the BDDS and the /opt/backup directory of the Docker container.
Full backup files are located within the /full file path of the backup directories and incremental backup files are located within the /incr file path of the backup directories.