MythicSalt/states/backup/init.sls

19 lines
314 B
Plaintext
Raw Normal View History

backup2l:
pkg.installed: []
backup_directory:
file.directory:
- name: /var/local/backup
- mode: 0755
backup2l_directory:
file.directory:
- name: /var/local/backup/backup2l
- mode: 0700
backup_server_key:
ssh_auth.present:
- user: root
- source: salt://backup/backups_id_rsa.pub