From a8210a6303bf70ea3debe8a1f4d80e3638cc6711 Mon Sep 17 00:00:00 2001 From: Alex Garel Date: Thu, 14 Mar 2024 19:40:46 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20off1=C2=A0distinct=20backups=20datasets?= =?UTF-8?q?=20for=20off=20and=20proxmox?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- confs/off1/sanoid/sanoid.conf | 17 ++++++++++------- confs/off1/sanoid/syncoid-args.conf | 6 +++--- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/confs/off1/sanoid/sanoid.conf b/confs/off1/sanoid/sanoid.conf index 8c014f17..96f7681e 100644 --- a/confs/off1/sanoid/sanoid.conf +++ b/confs/off1/sanoid/sanoid.conf @@ -1,6 +1,6 @@ # sanoid conf data - see https://github.com/jimsalterjrs/sanoid/wiki/Sanoid # -# no_sanoid_checks: zfs-hdd:zfs-hdd/backups:zfs-nvme +# no_sanoid_checks: zfs-hdd:zfs-nvme # backup of PVE containers data @@ -51,17 +51,20 @@ use_template=synced_data recursive=yes -[zfs-hdd/backups/off2-pve] - use_template=synced_sys +# proxmox backups +[zfs-hdd/backups] + use_template=local_sys recursive=yes -[zfs-hdd/backups/off2-pve-nvme] +[zfs-hdd/off-backups] + # for this parent dataset only, + # before recursive definition + use_template=local_sys +[zfs-hdd/off-backups] use_template=synced_sys recursive=yes + recursive=no -[zfs-hdd/backups/off2-rpool] - use_template=synced_sys - recursive=yes # Template for production data volume [template_local_data] diff --git a/confs/off1/sanoid/syncoid-args.conf b/confs/off1/sanoid/syncoid-args.conf index 21c7e795..ec894ac9 100644 --- a/confs/off1/sanoid/syncoid-args.conf +++ b/confs/off1/sanoid/syncoid-args.conf @@ -12,7 +12,7 @@ # opff --no-sync-snap --no-privilege-elevation --recursive off1operator@10.0.0.2:zfs-hdd/opff zfs-hdd/opff # off2 rpool backups ---no-sync-snap --no-privilege-elevation --recursive off1operator@10.0.0.2:rpool zfs-hdd/backups/off2-rpool +--no-sync-snap --no-privilege-elevation --recursive off1operator@10.0.0.2:rpool zfs-hdd/off-backups/off2-rpool # off2 pve backups ---no-sync-snap --no-privilege-elevation --recursive off1operator@10.0.0.2:zfs-hdd/pve zfs-hdd/backups/off2-pve ---no-sync-snap --no-privilege-elevation --recursive off1operator@10.0.0.2:zfs-nvme/pve zfs-hdd/backups/off2-pve-nvme +--no-sync-snap --no-privilege-elevation --recursive off1operator@10.0.0.2:zfs-hdd/pve zfs-hdd/off-backups/off2-pve +--no-sync-snap --no-privilege-elevation --recursive off1operator@10.0.0.2:zfs-nvme/pve zfs-hdd/off-backups/off2-pve-nvme