Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/n1k0r/ansible-role-backup

Backup role for Ansible
https://github.com/n1k0r/ansible-role-backup

administration ansible ansible-role backup deployment linux rclone server

Last synced: 3 days ago
JSON representation

Backup role for Ansible

Awesome Lists containing this project

README

        

# Backup role for Ansible

## Variables

```yaml
backup:
schedule:
minute: "0"
hour: "5"
day: "*"
weekday: "*"
month: "*"

target:
type: b2
prefix: bucketname/
args:
b2-account: 123account0id12345678
b2-key: anI3eu8yJRJzOVCf2fzOVhDwn0cXPtL
b2-hard-delete: "true"

dirs:
- src: "{{ services_path }}/app/data/"
exclude: [ backups, "*.log" ]
dest: app
max_age: 10d

- src: "{{ services_path }}/service/db/"
dest: service
max_age: 3d
compress: yes
```