Skip to content

donat-b/ansible-restic-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restic rest-server

Lint Code Base

Deploy rest-server for restic. The intended usage pattern is that rest-server instances are behind an edge proxy, which would handle authorization and SSL itself, if necessary.

All servers can be started via systemctl start rest-server.target

Requirements

None

Role Variables

restic_rest_v: '0.12.1'
restic_rest_repos:
  - path: '/user/home/backup'
    listen: ':8000'
    restic_htaccess_user: admin
    restic_htaccess_password: Chang3Me
  - path: '/user/home/backup_something_else'
    listen: ':8001'
    # custom arguments
    args: '--no-auth --append-only --prometheus'
restic_rest_target: 'rest-server.target default.target'
restic_rest_target_enable: true
restic_rest_target_start: false

License

BSD License