This commit is contained in:
root
2020-05-15 00:48:10 -04:00
parent 318b98e75e
commit 59b6388b13
3 changed files with 26 additions and 1 deletions

View File

@@ -5,3 +5,14 @@
- name: 'wget {{url}} -O - | bzip2 -cd > /bin/restic ; chmod +x /bin/restic'
- unless: stat /bin/restic
/opt/restic_backups.sh:
file.managed:
- source: 'salt://restic/files/restic_backup.sh.jinja'
- template: jinja
- user: root
- group: root
- mode: 0700
cron.present:
- minute: 20
- hour: 4
- dayweek: 0