The release of the nxs-backup 3.7.0 backup tool has been published, allowing users to create backups, manage their rotation, and store them on local or external storage. In addition to file backups, it supports backing up various databases: MySQL, PostgreSQL, MongoDB, and Redis. The project's 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), utilizing various libraries for this purpose. Thanks to the mini-framework go-nxs-appctx, it is possible to use environment variables in the configuration. Backups can be scheduled not only for a specified period but also to maintain a specific number of backups. There is a self-updating function and the possibility to extend functionality with custom scripts.
In the new version:
- The project's code license has been changed to Apache 2.0 (previously GPLv3).
- Integration with monitoring has been added to obtain application metrics and job statuses. Previously, only log events could be sent through hooks with different levels of configuration, and information about errors or events of necessary levels could be received. The new version adds the following metrics:
- Backup file size
- Correctness of backup collection
- Backup collection time
- Correctness of backup delivery
- Backup delivery time
- New version availability
- To differentiate metrics, labels such as:
- project
- server
- job name
- job type
- source
- target
It is now possible to adequately identify each backup and configure corresponding alerts, in addition to (or instead of) the existing alerts using hooks.
Source: opennet.ru
