diff docs/man/man8/fzfs-copy-tree.rst @ 429:bbdb1ab0ea00

Implement "-k" option for "fzfs copy-tree" to keep received snapshots
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 22 Sep 2023 09:22:25 +0200
parents 3ebaa936b2b2
children 7694275f2df1
line wrap: on
line diff
--- a/docs/man/man8/fzfs-copy-tree.rst	Thu Sep 21 18:42:41 2023 +0200
+++ b/docs/man/man8/fzfs-copy-tree.rst	Fri Sep 22 09:22:25 2023 +0200
@@ -9,7 +9,7 @@
 Synopsis
 --------
 
-**fzfs copy-tree** [**-A**] [**-M** `mountpoint`] [**-n**] [**-u**] `source-dataset` `dest-dataset`
+**fzfs copy-tree** [**-A**] [**-M** `mountpoint`] [**-k**] [**-n**] [**-u**] `source-dataset` `dest-dataset`
 
 
 Description
@@ -43,6 +43,12 @@
    Set the `mountpoint` property for the root `dest-dataset` to `mountpoint`.
    All children will be set to inherit it.
 
+.. option:: -k
+
+   When copying from a snapshot source a corresponding snapshot will be
+   copied to the target dataset. By default this snapshot will be
+   deleted. With this option this snapshot is kept.
+
 .. option:: -n
 
    Dry-run. Do not really create and copy datasets but show what would