From b737875dd01122aa4433cccd90f8cb89af7af8ab Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 5 Aug 2024 15:23:02 +0200 Subject: [PATCH] pve: set minimum snapshot retention time to 14 days --- host_vars/pve5-test.mgrote.net.yml | 18 +++++++++--------- host_vars/pve5.mgrote.net.yml | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/host_vars/pve5-test.mgrote.net.yml b/host_vars/pve5-test.mgrote.net.yml index 41bfedd2..1346ad28 100644 --- a/host_vars/pve5-test.mgrote.net.yml +++ b/host_vars/pve5-test.mgrote.net.yml @@ -89,7 +89,7 @@ zfs_extra_zfs_pools: ### mgrote_zfs_sanoid sanoid_datasets: - path: 'hdd_data/videos' - template: '3tage' + template: '14tage' recursive: 'yes' snapshots: true - path: 'hdd_data/music' @@ -101,11 +101,11 @@ sanoid_datasets: recursive: 'yes' snapshots: true - path: 'hdd_data/tmp' - template: '3tage' + template: '14tage' recursive: 'yes' snapshots: true - path: 'hdd_data/pve_backup' - template: '3tage' + template: '14tage' recursive: 'yes' snapshots: true - path: 'hdd_data/archiv' @@ -119,7 +119,7 @@ sanoid_datasets: - path: hdd_data/scans recursive: 'no' # noqa yaml[truthy] snapshots: true - template: '3tage' + template: '14tage' - path: hdd_data/backup recursive: 'no' # noqa yaml[truthy] snapshots: true @@ -127,7 +127,7 @@ sanoid_datasets: - path: hdd_data/restic recursive: 'no' # noqa yaml[truthy] snapshots: true - template: '3tage' + template: '14tage' - path: hdd_data/programme recursive: 'no' # noqa yaml[truthy] snapshots: true @@ -139,19 +139,19 @@ sanoid_datasets: - path: hdd_data/vm recursive: 'no' # noqa yaml[truthy] snapshots: true - template: 'pve3tage' + template: 'pve14tage' - path: rpool recursive: 'no' # noqa yaml[truthy] snapshots: true - template: 'pve3tage' + template: 'pve14tage' - path: rpool/ROOT recursive: 'no' # noqa yaml[truthy] snapshots: true - template: 'pve3tage' + template: 'pve14tage' - path: rpool/ROOT/pve-1 recursive: 'no' # noqa yaml[truthy] snapshots: true - template: '3tage' + template: '14tage' ### mgrote_proxmox_bind_mounts pve_bind_mounts: diff --git a/host_vars/pve5.mgrote.net.yml b/host_vars/pve5.mgrote.net.yml index 5aee43e3..c6ca2e03 100644 --- a/host_vars/pve5.mgrote.net.yml +++ b/host_vars/pve5.mgrote.net.yml @@ -105,7 +105,7 @@ sanoid_syncoid_ssh_pubkey: "{{ lookup('viczem.keepass.keepass', 'sanoid_syncoid_ sanoid_datasets: ### hdd_data - path: 'hdd_data/videos' - template: '3tage' + template: '14tage' recursive: 'yes' snapshots: true - path: 'hdd_data/music' @@ -117,11 +117,11 @@ sanoid_datasets: recursive: 'yes' snapshots: true - path: 'hdd_data/tmp' - template: '3tage' + template: '14tage' recursive: 'yes' snapshots: true - path: 'hdd_data/pve_backup' - template: '3tage' + template: '14tage' recursive: 'yes' snapshots: true - path: 'hdd_data/archiv' @@ -135,7 +135,7 @@ sanoid_datasets: - path: hdd_data/scans recursive: 'no' # noqa yaml[truthy] snapshots: true - template: '3tage' + template: '14tage' - path: hdd_data/backup recursive: 'no' # noqa yaml[truthy] snapshots: true @@ -143,7 +143,7 @@ sanoid_datasets: - path: hdd_data/restic recursive: 'no' # noqa yaml[truthy] snapshots: true - template: '3tage' + template: '14tage' - path: hdd_data/programme recursive: 'no' # noqa yaml[truthy] snapshots: true @@ -155,20 +155,20 @@ sanoid_datasets: - path: hdd_data/vm recursive: 'no' # noqa yaml[truthy] snapshots: true - template: '3tage' + template: '14tage' ### rpool - path: rpool recursive: 'no' # noqa yaml[truthy] snapshots: true - template: 'pve3tage' + template: 'pve14tage' - path: rpool/ROOT recursive: 'no' # noqa yaml[truthy] snapshots: true - template: 'pve3tage' + template: 'pve14tage' - path: rpool/ROOT/pve-1 recursive: 'no' # noqa yaml[truthy] snapshots: true - template: 'pve3tage' + template: 'pve14tage' ### mgrote_proxmox_bind_mounts pve_bind_mounts: