diff --git a/host_vars/pve2.grote.lan.yml b/host_vars/pve2.grote.lan.yml index da7d0d95..b7892265 100644 --- a/host_vars/pve2.grote.lan.yml +++ b/host_vars/pve2.grote.lan.yml @@ -64,6 +64,14 @@ dnodesize: auto atime: on 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 state: present compression: lz4 @@ -97,40 +105,44 @@ ### mgrote.zfs_sanoid sanoid_datasets: - path: 'hdd_data_raidz/data_crypt' - template: 'fiveminutes' + template: '31tage' recursive: 'no' snapshots: true - path: 'hdd_data_raidz/videos' - template: 'daily' + template: '14tage' + recursive: 'yes' + snapshots: true + - path: 'hdd_data_raidz/music' + template: '14tage_und_stuendlich' recursive: 'yes' snapshots: true - path: 'hdd_data_raidz/papa_backup' - template: 'papa' + template: '14tage' recursive: 'yes' snapshots: true - path: 'hdd_data_raidz/pve_backup' snapshots: false # deaktiviert sanoid für das dataset sanoid_templates: - - name: 'fiveminutes' + - name: '31tage' keep_hourly: '24' # Aufheben (Stunde) keep_daily: '31' # Aufheben (Tage) keep_monthly: '3' # Aufheben (Monate) keep_yearly: '0' # Aufheben (Jahre) - frequently: '36' # Aufheben (Minuten) - frequent_period: '5' # Intervall (alle 5 Minuten) + frequently: '16' # Aufheben (Minuten) + frequent_period: '15' # Intervall (alle 5 Minuten) autosnap: 'yes' # Automatisches erstellen von Snapshots autoprune: 'yes' - - name: 'daily' + - name: '14tage' keep_hourly: '0' - keep_daily: '31' - keep_monthly: '3' + keep_daily: '14' + keep_monthly: '0' keep_yearly: '0' frequently: '0' frequent_period: '0' autosnap: 'yes' autoprune: 'yes' - - name: 'papa' - keep_hourly: '0' + - name: '14tage_und_stuendlich' + keep_hourly: '24' keep_daily: '14' keep_monthly: '0' keep_yearly: '0'