From c1f0c00ecd55c7deca3428f0c7a1afaa503c9e35 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 1 Apr 2022 18:54:34 +0200 Subject: [PATCH] "#y --- roles/mgrote.zfs_sanoid/defaults/main.yml | 85 ++++++++++++----------- 1 file changed, 43 insertions(+), 42 deletions(-) diff --git a/roles/mgrote.zfs_sanoid/defaults/main.yml b/roles/mgrote.zfs_sanoid/defaults/main.yml index 7ba39b49..fe12c332 100644 --- a/roles/mgrote.zfs_sanoid/defaults/main.yml +++ b/roles/mgrote.zfs_sanoid/defaults/main.yml @@ -2,45 +2,46 @@ ### when should the script be run sanoid_timer: '*-*-* *:00/5' - ### "Default" Datasets - sanoid_datasets: # dictionary - - path: 'hdd_data_raidz/data' # path to dataset; without leading / - template: 'fiveminutes' # name - recursive: 'no' # recursive snapshotting - snapshots: true # (de)activate; can be used to disable snapshotting of subdatasets if recursive is set - - path: 'hdd_data_raidz/videos' - template: 'hourly' - recursive: 'yes' - snapshots: true - - path: 'hdd_data_raidz/test' - snapshots: false # deaktiviert sanoid für das dataset - - ### Templates - sanoid_templates: - - name: 'fiveminutes' - keep_hourly: '24' # Aufheben (Stunde) - keep_daily: '31' # Aufheben (Tage) - keep_monthly: '6' # Aufheben (Monate) - keep_yearly: '0' # Aufheben (Jahre) - frequently: '36' # Aufheben (Minuten) - frequent_period: '5' # Intervall (alle 5 Minuten) - autosnap: 'yes' # Automatisches erstellen von Snapshots - autoprune: 'yes' - - name: 'hourly' - keep_hourly: '24' - keep_daily: '31' - keep_monthly: '6' - keep_yearly: '1' - frequently: '0' - frequent_period: '0' - autosnap: 'yes' - autoprune: 'yes' - - name: 'daily' - keep_hourly: '0' - keep_daily: '31' - keep_monthly: '6' - keep_yearly: '1' - frequently: '0' - frequent_period: '0' - autosnap: 'yes' - autoprune: 'yes' +# ### "Default" Datasets +# sanoid_datasets: # dictionary +# - path: 'hdd_data_raidz/data' # path to dataset; without leading / +# template: 'fiveminutes' # name +# recursive: 'no' # recursive snapshotting +# snapshots: true # (de)activate; can be used to disable snapshotting of subdatasets if recursive is set +# - path: 'hdd_data_raidz/videos' +# template: 'hourly' +# recursive: 'yes' +# snapshots: true +# - path: 'hdd_data_raidz/test' +# snapshots: false # deaktiviert sanoid für das dataset +# +# ### Templates +# sanoid_templates: +# - name: 'fiveminutes' +# keep_hourly: '24' # Aufheben (Stunde) +# keep_daily: '31' # Aufheben (Tage) +# keep_monthly: '6' # Aufheben (Monate) +# keep_yearly: '0' # Aufheben (Jahre) +# frequently: '36' # Aufheben (Minuten) +# frequent_period: '5' # Intervall (alle 5 Minuten) +# autosnap: 'yes' # Automatisches erstellen von Snapshots +# autoprune: 'yes' +# - name: 'hourly' +# keep_hourly: '24' +# keep_daily: '31' +# keep_monthly: '6' +# keep_yearly: '1' +# frequently: '0' +# frequent_period: '0' +# autosnap: 'yes' +# autoprune: 'yes' +# - name: 'daily' +# keep_hourly: '0' +# keep_daily: '31' +# keep_monthly: '6' +# keep_yearly: '1' +# frequently: '0' +# frequent_period: '0' +# autosnap: 'yes' +# autoprune: 'yes' +#