From ef3b77780027bcd37cd02e13c260b3cd2699cf4c Mon Sep 17 00:00:00 2001 From: Tellsanguis Date: Tue, 18 Nov 2025 13:52:36 +0100 Subject: [PATCH] =?UTF-8?q?Version=202.0.1:=20Configuration=20Sanoid=20opt?= =?UTF-8?q?imis=C3=A9e=20pour=20snapshots=20fr=C3=A9quents?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changements: - Snapshots toutes les 15 minutes (conservés 12 heures) - Snapshots horaires: 48 (conservés 2 jours) - Snapshots quotidiens: 7 (conservés 1 semaine) - Snapshots mensuels/annuels désactivés Configuration Sanoid: - frequently = 48 (15 min × 48 = 12h) - frequent_period = 15 minutes - hourly = 48 (2 jours) - daily = 7 (1 semaine) - monthly = 0 - yearly = 0 --- zfs-nfs-replica.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/zfs-nfs-replica.sh b/zfs-nfs-replica.sh index 075208a..be9e589 100644 --- a/zfs-nfs-replica.sh +++ b/zfs-nfs-replica.sh @@ -14,13 +14,13 @@ # - Fichiers d'état séparés par pool # # Auteur : BENE Maël -# Version : 2.0.0 +# Version : 2.0.1 # set -euo pipefail # Configuration -SCRIPT_VERSION="2.0.0" +SCRIPT_VERSION="2.0.1" REPO_URL="https://forgejo.tellserv.fr/Tellsanguis/zfs-sync-nfs-ha" SCRIPT_URL="${REPO_URL}/raw/branch/main/zfs-nfs-replica.sh" SCRIPT_PATH="${BASH_SOURCE[0]}" @@ -254,10 +254,12 @@ EOF # Ajouter le template cat >> /etc/sanoid/sanoid.conf <