Dataset Music (#83)
datasets in sanoid angepasst templates angepasst dataset music erstellt Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#83 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
parent
201e2be4ff
commit
16cb021ff5
1 changed files with 23 additions and 11 deletions
|
@ -64,6 +64,14 @@
|
||||||
dnodesize: auto
|
dnodesize: auto
|
||||||
atime: on
|
atime: on
|
||||||
snapdir: hidden
|
snapdir: hidden
|
||||||
|
- dataset: hdd_data_raidz/music
|
||||||
|
state: present
|
||||||
|
compression: lz4
|
||||||
|
sync: disabled
|
||||||
|
xattr: sa
|
||||||
|
dnodesize: auto
|
||||||
|
atime: on
|
||||||
|
snapdir: hidden
|
||||||
- dataset: hdd_data_raidz/data_crypt
|
- dataset: hdd_data_raidz/data_crypt
|
||||||
state: present
|
state: present
|
||||||
compression: lz4
|
compression: lz4
|
||||||
|
@ -97,40 +105,44 @@
|
||||||
### mgrote.zfs_sanoid
|
### mgrote.zfs_sanoid
|
||||||
sanoid_datasets:
|
sanoid_datasets:
|
||||||
- path: 'hdd_data_raidz/data_crypt'
|
- path: 'hdd_data_raidz/data_crypt'
|
||||||
template: 'fiveminutes'
|
template: '31tage'
|
||||||
recursive: 'no'
|
recursive: 'no'
|
||||||
snapshots: true
|
snapshots: true
|
||||||
- path: 'hdd_data_raidz/videos'
|
- path: 'hdd_data_raidz/videos'
|
||||||
template: 'daily'
|
template: '14tage'
|
||||||
|
recursive: 'yes'
|
||||||
|
snapshots: true
|
||||||
|
- path: 'hdd_data_raidz/music'
|
||||||
|
template: '14tage_und_stuendlich'
|
||||||
recursive: 'yes'
|
recursive: 'yes'
|
||||||
snapshots: true
|
snapshots: true
|
||||||
- path: 'hdd_data_raidz/papa_backup'
|
- path: 'hdd_data_raidz/papa_backup'
|
||||||
template: 'papa'
|
template: '14tage'
|
||||||
recursive: 'yes'
|
recursive: 'yes'
|
||||||
snapshots: true
|
snapshots: true
|
||||||
- path: 'hdd_data_raidz/pve_backup'
|
- path: 'hdd_data_raidz/pve_backup'
|
||||||
snapshots: false # deaktiviert sanoid für das dataset
|
snapshots: false # deaktiviert sanoid für das dataset
|
||||||
sanoid_templates:
|
sanoid_templates:
|
||||||
- name: 'fiveminutes'
|
- name: '31tage'
|
||||||
keep_hourly: '24' # Aufheben (Stunde)
|
keep_hourly: '24' # Aufheben (Stunde)
|
||||||
keep_daily: '31' # Aufheben (Tage)
|
keep_daily: '31' # Aufheben (Tage)
|
||||||
keep_monthly: '3' # Aufheben (Monate)
|
keep_monthly: '3' # Aufheben (Monate)
|
||||||
keep_yearly: '0' # Aufheben (Jahre)
|
keep_yearly: '0' # Aufheben (Jahre)
|
||||||
frequently: '36' # Aufheben (Minuten)
|
frequently: '16' # Aufheben (Minuten)
|
||||||
frequent_period: '5' # Intervall (alle 5 Minuten)
|
frequent_period: '15' # Intervall (alle 5 Minuten)
|
||||||
autosnap: 'yes' # Automatisches erstellen von Snapshots
|
autosnap: 'yes' # Automatisches erstellen von Snapshots
|
||||||
autoprune: 'yes'
|
autoprune: 'yes'
|
||||||
- name: 'daily'
|
- name: '14tage'
|
||||||
keep_hourly: '0'
|
keep_hourly: '0'
|
||||||
keep_daily: '31'
|
keep_daily: '14'
|
||||||
keep_monthly: '3'
|
keep_monthly: '0'
|
||||||
keep_yearly: '0'
|
keep_yearly: '0'
|
||||||
frequently: '0'
|
frequently: '0'
|
||||||
frequent_period: '0'
|
frequent_period: '0'
|
||||||
autosnap: 'yes'
|
autosnap: 'yes'
|
||||||
autoprune: 'yes'
|
autoprune: 'yes'
|
||||||
- name: 'papa'
|
- name: '14tage_und_stuendlich'
|
||||||
keep_hourly: '0'
|
keep_hourly: '24'
|
||||||
keep_daily: '14'
|
keep_daily: '14'
|
||||||
keep_monthly: '0'
|
keep_monthly: '0'
|
||||||
keep_yearly: '0'
|
keep_yearly: '0'
|
||||||
|
|
Loading…
Reference in a new issue