Move backup datasets
This commit is contained in:
parent
7fa7e2931d
commit
cad31db238
@ -50,9 +50,11 @@ system_var_containers_dataset: "rpool{{ system_var_containers_directory }}"
|
||||
# --------------------------------------------------------------------------------------------------
|
||||
system_backups_snapshots_dataset: "hpool/backup"
|
||||
system_backups_snapshots_root_dataset: "{{ system_var_root_dataset |
|
||||
replace('rpool/var/lib', 'hpool/backup') }}"
|
||||
replace('rpool/var/lib/yggdrasil',
|
||||
'hpool/backup/srv') }}"
|
||||
system_backups_snapshots_data_dataset: "{{ system_var_data_dataset |
|
||||
replace('rpool/var/lib', 'hpool/backup') }}"
|
||||
replace('rpool/var/lib/yggdrasil/data',
|
||||
'hpool/backup/srv/the-nine-worlds') }}"
|
||||
|
||||
# --------------------------------------------------------------------------------------------------
|
||||
# vpn
|
||||
|
@ -7,12 +7,12 @@
|
||||
canmount: "off"
|
||||
"com.sun:auto-snapshot": "false"
|
||||
|
||||
- name: "backups : create services backup dataset"
|
||||
- name: "backups : create backup dataset root"
|
||||
community.general.zfs:
|
||||
name: "{{ system_backups_snapshots_root_dataset }}"
|
||||
state: "present"
|
||||
|
||||
- name: "backups : create services data backup dataset"
|
||||
- name: "backups : create backup dataset for the-nine-worlds"
|
||||
community.general.zfs:
|
||||
name: "{{ system_backups_snapshots_data_dataset }}"
|
||||
state: "present"
|
||||
|
Loading…
Reference in New Issue
Block a user