This commit is contained in:
Michael Grote 2022-04-01 18:54:34 +02:00
parent c8633c8b1e
commit c1f0c00ecd
1 changed files with 43 additions and 42 deletions

View File

@ -2,45 +2,46 @@
### when should the script be run ### when should the script be run
sanoid_timer: '*-*-* *:00/5' sanoid_timer: '*-*-* *:00/5'
### "Default" Datasets # ### "Default" Datasets
sanoid_datasets: # dictionary # sanoid_datasets: # dictionary
- path: 'hdd_data_raidz/data' # path to dataset; without leading / # - path: 'hdd_data_raidz/data' # path to dataset; without leading /
template: 'fiveminutes' # name # template: 'fiveminutes' # name
recursive: 'no' # recursive snapshotting # recursive: 'no' # recursive snapshotting
snapshots: true # (de)activate; can be used to disable snapshotting of subdatasets if recursive is set # snapshots: true # (de)activate; can be used to disable snapshotting of subdatasets if recursive is set
- path: 'hdd_data_raidz/videos' # - path: 'hdd_data_raidz/videos'
template: 'hourly' # template: 'hourly'
recursive: 'yes' # recursive: 'yes'
snapshots: true # snapshots: true
- path: 'hdd_data_raidz/test' # - path: 'hdd_data_raidz/test'
snapshots: false # deaktiviert sanoid für das dataset # snapshots: false # deaktiviert sanoid für das dataset
#
### Templates # ### Templates
sanoid_templates: # sanoid_templates:
- name: 'fiveminutes' # - name: 'fiveminutes'
keep_hourly: '24' # Aufheben (Stunde) # keep_hourly: '24' # Aufheben (Stunde)
keep_daily: '31' # Aufheben (Tage) # keep_daily: '31' # Aufheben (Tage)
keep_monthly: '6' # Aufheben (Monate) # keep_monthly: '6' # Aufheben (Monate)
keep_yearly: '0' # Aufheben (Jahre) # keep_yearly: '0' # Aufheben (Jahre)
frequently: '36' # Aufheben (Minuten) # frequently: '36' # Aufheben (Minuten)
frequent_period: '5' # Intervall (alle 5 Minuten) # frequent_period: '5' # Intervall (alle 5 Minuten)
autosnap: 'yes' # Automatisches erstellen von Snapshots # autosnap: 'yes' # Automatisches erstellen von Snapshots
autoprune: 'yes' # autoprune: 'yes'
- name: 'hourly' # - name: 'hourly'
keep_hourly: '24' # keep_hourly: '24'
keep_daily: '31' # keep_daily: '31'
keep_monthly: '6' # keep_monthly: '6'
keep_yearly: '1' # keep_yearly: '1'
frequently: '0' # frequently: '0'
frequent_period: '0' # frequent_period: '0'
autosnap: 'yes' # autosnap: 'yes'
autoprune: 'yes' # autoprune: 'yes'
- name: 'daily' # - name: 'daily'
keep_hourly: '0' # keep_hourly: '0'
keep_daily: '31' # keep_daily: '31'
keep_monthly: '6' # keep_monthly: '6'
keep_yearly: '1' # keep_yearly: '1'
frequently: '0' # frequently: '0'
frequent_period: '0' # frequent_period: '0'
autosnap: 'yes' # autosnap: 'yes'
autoprune: 'yes' # autoprune: 'yes'
#