https://github.com/finkregh/ansible-role-restic-backup
https://github.com/finkregh/ansible-role-restic-backup
backup restic
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/finkregh/ansible-role-restic-backup
- Owner: Finkregh
- Created: 2017-12-23T20:44:02.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:21:54.000Z (almost 2 years ago)
- Last Synced: 2025-03-24T04:40:30.458Z (7 months ago)
- Topics: backup, restic
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
restic-backup
=========Install and configure https://github.com/binarybucks/restic-tools to do backups with restic
Requirements
------------- systemd
Role Variables
--------------You can configure all backends that resitc supports (https://restic.readthedocs.io/en/latest/030_preparing_a_new_repo.html), just set the variables in the following list.
You can also have multiple `backup_destinations`.```yaml
backup_destinations:
- name: b2-example #
RESTIC_REPOSITORY: 'b2:something:something/'
B2_ACCOUNT_ID: 'account-id'
B2_ACCOUNT_KEY: 'account-key'
RESTIC_PASSWORD: 'generated'
```Some more settings from https://github.com/binarybucks/restic-tools, the `local.config` part
```yaml
restic_local_config:
BACKUP_HOSTNAME: '{{ inventory_hostname }}'
BACKUP_DIR: '/'
HEALTHCHECK_URL: ''
```Dependencies
-------------/-
Example Playbook
----------------FIXME
License
-------BSD
Author Information
------------------Oluf Lorenzen, https://mafia-server.net