Ansible role to deploy my backupninja-flow
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lyz 805ab80413
Merge branch 'fix/correct_crontab_invocation'
9 months ago
defaults Add support for external backup steps 10 months ago
meta Corrected meta/main 1 year ago
molecule Update history 9 months ago
tasks Correct crontab invocation 9 months ago
templates Edit the system wide crontab 9 months ago
vars First iteration 1 year ago
.gitignore Added gitignore 1 year ago
.yamllint First iteration 1 year ago
History.md Update history 9 months ago
LICENSE First iteration 1 year ago
README.md Add support for external backup steps 10 months ago

README.md

Backupninja

The intended use of this role is the installation backupninja and do a backup test based in La Brecha Digital needs.

Requirements

  • Debian based hosts

Role Variables

  • ninja: Dictionary with the options of the role.
    • backup_name: Backup name, will define the directory of configuration on /etc/backupninja/ (Default: main).
    • email_to_report: Email to send status of the logs.
    • backup_retention_period: Period of retention of backups (Default: 60D).
    • backup_method: Select the backup method to use (Choices: [none, rdiff], Default: rdiff).
    • include: List of directories to be included in the backup.
    • exclude: List of directories to be excluded from the backup.
    • temp_backup_dir: The directory where the temporal files for the backup are going to be stored.
    • backup_dir: The directory where the backup is going to be stored.
    • execute_hourly: Set to True if you want to run backupninja hourly (Default: False).
    • include_backup_steps: List of filenames (of files under files) to add to the backup.d directory (Default: []).
    • include_sys_checks: Set to true if you want to include the system checks on your backup (Default: true).

Dependencies

None.

Example Playbook

---
- hosts: all
  roles:
    - backupninja

License

GPLv2

Author Information

Lyz (lyz at riseup net)