From b1b1993ec1fdd6d6e3c8d9fea8ecbcadce5e2608 Mon Sep 17 00:00:00 2001 From: Dan MacDonald Date: Sun, 15 Oct 2023 12:55:02 +0100 Subject: [PATCH] Add notice about excluding datasets when using --strip-path --- Home.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Home.md b/Home.md index 6020a04..da47f80 100644 --- a/Home.md +++ b/Home.md @@ -202,6 +202,14 @@ If you want your source and target structure to look exactly the same, you have * Specify target-pool as target-path. In this case: `data` * You may need to use `--force` option the first time to overwrite the existing target pool. It is recommended you try with `--test` and without `--force` first (New in v3.1.2). +This configuration will attempt replicate the entire pool from the source to the target. If you wish to exclude specific datasets from being replicated from the source pool, make sure that you do so by running commands such as: + +```console +[root@pve01 ~]# zfs set autobackup:offsite1=false rpool/tmp +``` + +For each dataset you don't want to replicate BEFORE you run zfs-autobackup without `--test` for the first time. + ### Pull or push? Note that this is called a "pull" backup. The backup (target) machine pulls the backup from the source machine. This is usually the preferred way.