add support to create a remote sftp user

This commit is contained in:
nd 2021-06-12 19:04:29 +02:00
parent 90f6b0a360
commit de9e0004f6
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
3 changed files with 86 additions and 2 deletions

View file

@ -26,6 +26,15 @@ backups:
years: 3
export:
destinations: []
remote_sftp_user:
name: backup
host: ~
chroot_basepath: "/var/chroots/{{ inventory_hostname }}"
storage_path: "/srv/backups/{{ inventory_hostname }}"
groups: []
group: nogroup
enabled: False
create_storage_folder: True
exclude_files:
'/tmp': true
'/var/tmp': true