An open API service indexing awesome lists of open source software.

https://github.com/lyz-code/ansible-backupninja


https://github.com/lyz-code/ansible-backupninja

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

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
----------------

```yaml
---
- hosts: all
roles:
- backupninja
```

License
-------

GPLv2

Author Information
------------------

Lyz (lyz at riseup net)