2020-08-18 11:57:53 +02:00
|
|
|
---
|
2023-10-25 22:26:17 +02:00
|
|
|
### when should sanoid be run (every 5 minutes)
|
|
|
|
sanoid_timer: '*-*-* *:00/5'
|
|
|
|
### when should syncoid be run
|
|
|
|
sanoid_syncoid_timer: '*-*-* *:00:00'
|
|
|
|
### where to download the package
|
2023-11-25 19:08:24 +01:00
|
|
|
sanoid_deb_url: http://docker10.mgrote.net:3344/sanoid_3.0.0.deb
|
2020-12-31 01:36:22 +01:00
|
|
|
|
2022-04-03 11:04:27 +02:00
|
|
|
# ### "Default" Datasets
|
|
|
|
# sanoid_datasets: # dictionary
|
2023-11-29 22:24:57 +01:00
|
|
|
# - path: 'hdd_data/data' # path to dataset; without leading /
|
2022-04-03 11:04:27 +02:00
|
|
|
# template: 'fiveminutes' # name
|
|
|
|
# recursive: 'no' # recursive snapshotting
|
|
|
|
# snapshots: true # (de)activate; can be used to disable snapshotting of subdatasets if recursive is set
|
2023-11-29 22:24:57 +01:00
|
|
|
# - path: 'hdd_data/test'
|
2022-04-03 11:04:27 +02:00
|
|
|
# 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'
|
2023-07-05 11:47:57 +02:00
|
|
|
|
2023-10-25 22:26:17 +02:00
|
|
|
### user and group for sanoid
|
|
|
|
sanoid_user: sanoid
|
|
|
|
sanoid_user_group: sanoid
|
2023-07-05 11:47:57 +02:00
|
|
|
|
|
|
|
|
2023-10-25 22:26:17 +02:00
|
|
|
### enable/disable features
|
|
|
|
## enable snapshotting
|
|
|
|
# sanoid_snaps_enable: true
|
|
|
|
## enable sending snaps
|
|
|
|
# sanoid_syncoid_source_host: true
|
|
|
|
## enable receiving snaps
|
|
|
|
# sanoid_syncoid_destination_host: true
|
2023-07-05 11:47:57 +02:00
|
|
|
|
2023-10-25 22:26:17 +02:00
|
|
|
# syncoid
|
2024-07-09 17:35:56 +02:00
|
|
|
#sanoid_syncoid_ssh_privkey: "{{ lookup('viczem.keepass.keepass', 'sanoid_syncoid_private_key', 'notes') }}"
|
|
|
|
#sanoid_syncoid_ssh_pubkey: "{{ lookup('viczem.keepass.keepass', 'sanoid_syncoid_public_key', 'notes') }}"
|
2023-07-05 11:47:57 +02:00
|
|
|
|
2023-11-29 21:15:50 +01:00
|
|
|
### mgrote_sanoid
|
2023-10-25 22:26:17 +02:00
|
|
|
#sanoid_syncoid_datasets_sync:
|
2023-11-25 19:08:24 +01:00
|
|
|
# - source_host: pve5.mgrote.net
|
2023-11-29 22:24:57 +01:00
|
|
|
# source_dataset: hdd_data/tmp
|
|
|
|
# destination_mount_check: hdd_data/tmp # zielpool
|
2023-10-25 22:26:17 +02:00
|
|
|
# destination_dataset: backup/pve5/tmp
|