The release of the nxs-backup 3.9.0 backup tool has been published, allowing the creation of backups, rotation, and storage on local or external storage. Besides file backup, it supports creating backups of various databases: MySQL, PostgreSQL, MongoDB, and Redis. The project code is distributed under the Apache 2.0 license.
Backups can be stored both locally and in remote storage (S3, FTP, SSH, SMB, NFS, WebDAV), using various libraries for interaction. Backups can be performed not only for the specified time period but also while maintaining a specific number of backups.
Thanks to integration with monitoring, it is possible to obtain metrics such as backup file size, backup collection correctness, backup collection time, etc., in a Prometheus-compatible format. An additional metric nxs_backup_creation_ts has been added, containing the Unix timestamp of the backup creation date. Each backup can be identified and configured with the corresponding alert, in addition (or instead) of existing alerts via hooks, allowing for more effective management of the backup states.
In the new version:
- The ability to limit the consumption of various resources has been added. For example, you can limit disk access speed, network transfer speed, and CPU resources using commands such as limits.disk_rate, limits.net_rate, rate_limit, and limits.cpu_max_count.
- The ability to disable nxs-backup backup rotation has been introduced, while sending backups will operate in normal mode.
- Various bugs related to incorrectly configured/unavailable storages, SCP/SFTP, servers and turning off metrics have been fixed.
Source: opennet.ru
