Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/n1k0r/ansible-role-backup
- Owner: n1k0r
- Created: 2024-04-01T10:13:31.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-04-01T10:14:20.000Z (8 months ago)
- Last Synced: 2024-04-03T22:27:48.240Z (8 months ago)
- Topics: administration, ansible, ansible-role, backup, deployment, linux, rclone, server
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```