https://github.com/lyz-code/ansible-backupninja
https://github.com/lyz-code/ansible-backupninja
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lyz-code/ansible-backupninja
- Owner: lyz-code
- License: gpl-3.0
- Created: 2020-09-09T08:07:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-09T08:08:17.000Z (over 5 years ago)
- Last Synced: 2024-12-29T06:10:02.126Z (about 1 year ago)
- Language: Shell
- Size: 56.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: History.md
- License: LICENSE
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)