remove syncoid, switch to rsync #221

Merged
mg merged 132 commits from sanoid_weg into master 2024-10-31 12:01:46 +01:00
Showing only changes of commit a25e32ddae - Show all commits

View file

@ -50,7 +50,7 @@ zfs_datasets: # DatenPools werden hier nicht verwaltet
- dataset: rpool/ROOT/pbs-1 - dataset: rpool/ROOT/pbs-1
state: present state: present
refreservation: 10G refreservation: 10G
acltype: posix # https://docs.ansible.com/ansible-core/2.14/playbook_guide/playbooks_privilege_escalation.html#risks-of-becoming-an-unprivileged-user ; sonst kann die dotfiles-Rolle kein setfacl machen acltype: posix # https:/docs.ansible.com/ansible-core/2.14/playbook_guide/playbooks_privilege_escalation.html#risks-of-becoming-an-unprivileged-user ; sonst kann die dotfiles-Rolle kein setfacl machen
# backup-pool # backup-pool
- dataset: backup/pbs_data - dataset: backup/pbs_data
state: present state: present
@ -58,6 +58,45 @@ zfs_datasets: # DatenPools werden hier nicht verwaltet
- dataset: backup/pve5 - dataset: backup/pve5
state: present state: present
canmount: off # noqa yaml[truthy] canmount: off # noqa yaml[truthy]
state: present
compression: zstd
sync: disabled
xattr: sa
dnodesize: auto
atime: on # noqa yaml[truthy]
snapdir: hidden
reservation: 1G
acltype: posix # https://docs.ansible.com/ansible-core/2.14/playbook_guide/playbooks_privilege_escalation.html#risks-of-becoming-an-unprivileged-user ; sonst kann die dotfiles-Rolle kein setfacl machen
- dataset: backup/pve5/papa_backup
state: present
- dataset: backup/pve5/pve_backup
state: present
recordsize: 1M
- dataset: backup/pve5/videos
state: present
recordsize: 1M
- dataset: backup/pve5/music
state: present
recordsize: 1M
- dataset: backup/pve5/tmp
state: present
- dataset: backup/pve5/archiv
state: present
- dataset: backup/pve5/bilder
state: present
recordsize: 1M
- dataset: backup/pve5/scans
state: present
- dataset: backup/pve5/restic
state: present
- dataset: backup/pve5/backup
state: present
- dataset: backup/pve5/buecher
state: present
- dataset: backup/pve5/programme
state: present
- dataset: backup/pve5/vm
state: present
# Variablen für mgrote.zfs_health/trim/scrub/zed/arc_mem/ sind zusammengefasst unter zfs_extra_* # Variablen für mgrote.zfs_health/trim/scrub/zed/arc_mem/ sind zusammengefasst unter zfs_extra_*
zfs_extra_arc_max_size: "4294967296" # 4GB in Bytes zfs_extra_arc_max_size: "4294967296" # 4GB in Bytes
zfs_extra_zfs_pools: zfs_extra_zfs_pools:
@ -87,5 +126,55 @@ sanoid_datasets:
recursive: 'no' recursive: 'no'
snapshots: true snapshots: true
template: '3tage' template: '3tage'
- path: 'backup/pve5/videos'
## todo snap für dataset in backup aktivieren template: '14tage'
recursive: 'yes'
snapshots: true
- path: 'backup/pve5/music'
template: '14tage'
recursive: 'yes'
snapshots: true
- path: 'backup/pve5/papa_backup'
template: '14tage'
recursive: 'yes'
snapshots: true
- path: 'backup/pve5/tmp'
template: '14tage'
recursive: 'yes'
snapshots: true
- path: 'backup/pve5/pve_backup'
template: '14tage'
recursive: 'yes'
snapshots: true
- path: 'backup/pve5/archiv'
template: '14tage'
recursive: 'yes'
snapshots: true
- path: backup/pve5/bilder
recursive: 'no' # noqa yaml[truthy]
snapshots: true
template: '14tage'
- path: backup/pve5/scans
recursive: 'no' # noqa yaml[truthy]
snapshots: true
template: '14tage'
- path: backup/pve5/backup
recursive: 'no' # noqa yaml[truthy]
snapshots: true
template: '14tage'
- path: backup/pve5/restic
recursive: 'no' # noqa yaml[truthy]
snapshots: true
template: '14tage'
- path: backup/pve5/programme
recursive: 'no' # noqa yaml[truthy]
snapshots: true
template: '14tage'
- path: backup/pve5/buecher
recursive: 'no' # noqa yaml[truthy]
snapshots: true
template: '14tage'
- path: backup/pve5/vm
recursive: 'no' # noqa yaml[truthy]
snapshots: true
template: '14tage'