Add notice about excluding datasets when using --strip-path

Dan MacDonald
2023-10-15 12:55:02 +01:00
parent 06a1afb7e3
commit b1b1993ec1

@ -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` * 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). * 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? ### 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. 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.