No description
This repository has been archived on 2025-07-22. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2018-03-02 09:31:39 +01:00
defaults version bump 2018-03-02 09:31:28 +01:00
files switch to no-wrapper 2018-03-02 08:53:12 +01:00
handlers blah 2017-12-21 21:28:23 +01:00
tasks M: deploy all systemd units 2018-03-02 09:31:39 +01:00
templates/etc/restic version bump 2018-03-02 09:31:28 +01:00
vars blah 2017-12-21 21:28:23 +01:00
README.md fix req/dep 2017-12-23 22:03:54 +01:00

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.

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

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