From 9ed32d177d692330f0f15895468d4442c67fed0b Mon Sep 17 00:00:00 2001 From: Dan Langille Date: Mon, 15 Jan 2024 09:56:47 -0500 Subject: [PATCH 1/2] sanoid.conf: document two options for recursive zfs and yes are the options, one uses zfs, the other sanoid code --- sanoid.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sanoid.conf b/sanoid.conf index 6bd5c62..db380d1 100644 --- a/sanoid.conf +++ b/sanoid.conf @@ -17,7 +17,11 @@ # you can also handle datasets recursively. [zpoolname/parent] use_template = production - recursive = yes + # there are two options for recursive: zfs or yes + # * zfs - taken a zfs snapshot with the '-r' flag; zfs will recursively take a snapshot of the whole + # dataset tree which is consistent. + # * yes - the snapshots will be taken one-at-time through the sanoid code; not necessarily consistent. + recursive = zfs # if you want sanoid to manage the child datasets but leave this one alone, set process_children_only. process_children_only = yes From 6667f02d3576cb152f78efce99b6dd981df6126c Mon Sep 17 00:00:00 2001 From: Christoph Klaffl Date: Thu, 25 Jan 2024 21:13:00 +0100 Subject: [PATCH 2/2] Update sanoid.conf --- sanoid.conf | 2 -- 1 file changed, 2 deletions(-) diff --git a/sanoid.conf b/sanoid.conf index b5f57f3..0650c3d 100644 --- a/sanoid.conf +++ b/sanoid.conf @@ -36,8 +36,6 @@ # dataset tree which is consistent. # * yes - the snapshots will be taken one-at-time through the sanoid code; not necessarily consistent. recursive = zfs - # if you want sanoid to manage the child datasets but leave this one alone, set process_children_only. - process_children_only = yes