mg
1fc7975323
Aufräumen In GroupVars eingebaut Templates als Vars Doku aktualisiert Typo neues Dictionary-Format Vars: zfs_pool --> zfs_pools Co-authored-by: Michael Grote <38253905+quotengrote@users.noreply.github.com> Reviewed-on: mg/ansible#19 Co-Authored-By: mg <michael.grote@posteo.de> Co-Committed-By: mg <michael.grote@posteo.de>
43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
---
|
|
# Wann soll das sanoid-script mit cron ausgeführt werden?
|
|
sanoid_cron_hours: '*'
|
|
sanoid_cron_minutes: '*'
|
|
|
|
### "Default" Datasets
|
|
sanoid_datasets:
|
|
- path: 'hdd_data_raidz/data'
|
|
template: 'fiveminutes'
|
|
recursive: ' no'
|
|
- path: 'hdd_data_raidz/videos'
|
|
template: 'hourly'
|
|
recursive: ' yes'
|
|
|
|
### 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'
|