Add backups for music
This commit is contained in:
parent
d155da3414
commit
dc59b9a37e
@ -98,6 +98,11 @@ music_user_data_directory: "{{ system_var_data_directory }}/{{ music_user_name }
|
|||||||
music_user_home_dataset: "rpool{{ music_user_home_directory }}"
|
music_user_home_dataset: "rpool{{ music_user_home_directory }}"
|
||||||
music_user_data_dataset: "rpool{{ music_user_data_directory }}"
|
music_user_data_dataset: "rpool{{ music_user_data_directory }}"
|
||||||
|
|
||||||
|
music_user_backups_snapshots_data_dataset: "\
|
||||||
|
{{ system_backups_snapshots_data_dataset }}/{{ music_user_name }}"
|
||||||
|
music_user_backups_snapshots_recursive: true
|
||||||
|
music_user_backups_snapshots_skip_parent: true
|
||||||
|
|
||||||
# --------------------------------------------------------------------------------------------------
|
# --------------------------------------------------------------------------------------------------
|
||||||
# services
|
# services
|
||||||
# --------------------------------------------------------------------------------------------------
|
# --------------------------------------------------------------------------------------------------
|
||||||
|
@ -13,5 +13,27 @@
|
|||||||
{% else %}\
|
{% else %}\
|
||||||
~/.ssh/debian-virt.pub\
|
~/.ssh/debian-virt.pub\
|
||||||
{% endif %}"
|
{% endif %}"
|
||||||
|
- role: "backups/snapshots/user"
|
||||||
|
vars:
|
||||||
|
backups_snapshots_user_name: "{{ music_user_name }}"
|
||||||
|
backups_snapshots_user_data_dataset: "{{ music_user_data_dataset }}"
|
||||||
|
backups_snapshots_user_backup_dataset: "{{ music_user_backups_snapshots_data_dataset }}"
|
||||||
|
backups_snapshots_user_recursive: "{{ music_user_backups_snapshots_recursive }}"
|
||||||
|
backups_snapshots_user_skip_parent: "{{ music_user_backups_snapshots_skip_parent }}"
|
||||||
|
tags:
|
||||||
|
- "music:backups"
|
||||||
|
- "music:backups:snapshots"
|
||||||
|
- "music:backups:snapshots:user"
|
||||||
|
- role: "backups/restic/user"
|
||||||
|
vars:
|
||||||
|
backups_restic_user_name: "{{ music_user_name }}"
|
||||||
|
backups_restic_user_use_dataset: "{{ 'zfs' in group_names }}"
|
||||||
|
backups_restic_user_data_dataset: "{{ music_user_data_dataset }}"
|
||||||
|
backups_restic_user_data_directory: "{{ music_user_data_directory }}"
|
||||||
|
backups_restic_user_aws_bucket_prefix: "the-nine-worlds---{{ music_user_name }}"
|
||||||
|
tags:
|
||||||
|
- "music:backups"
|
||||||
|
- "music:backups:restic"
|
||||||
|
- "music:backups:restic:user"
|
||||||
# - role: "music/org"
|
# - role: "music/org"
|
||||||
# tags: "music:org"
|
# tags: "music:org"
|
||||||
|
Loading…
Reference in New Issue
Block a user