added borgbackup script

This commit is contained in:
Jonas Forsberg 2020-08-10 12:07:50 +02:00
parent 8614c621c8
commit b400ded2b7
No known key found for this signature in database
GPG Key ID: A80FD4B8CAA77A05

View File

@ -0,0 +1,7 @@
Add borgbackup bash wrapper:
file.managed:
- name: {{ salt['user.info']( pillar['username'] ).home }}/bin/borg.sh
- source: salt://files/borg.sh
- user: {{ pillar['username'] }}
- group: users
- mode: "0755"