The role which installs backup-functions and backup scripts. Make sure to install pushgateway-functions for metrics export. For cronjobs you need to use cron role.
roles:
- role: backup-functions
backup_functions_version: 2-latest
Where 1-latest is backup-functions version 3.x.x and 2-latest is version 4.x.x.
Param | Default | Description |
---|---|---|
backup_functions_version |
2-latest |
Version to install. You need to select a release the tag, not the library version itself. For example, 1.1.3 here will result in library v3.26.1 installlation. |
backup_dir |
/backup |
Directory for backup saving |
create_backup_dir |
true |
Create backup directory |
add_template |
false |
Download custom.backup template |
install_pbzip2 |
true |
Install pbzip2 |
install_backup_scripts |
true |
Copy scripts from scr_script_location |
src_script_location |
files/backup/ |
Directory with your backup scripts |
None
- Official documentation
- Ansible role for cron configuration
- Ansible role for pushgateway-functions installation
None, so far.
GPL3
OSSHelp Team, see https://oss.help