comparison docs/man/man8/fzfs-copy-tree.rst @ 421:a571a30bcf8a

Begin the implementation of "fzfs copy-tree"
author Franz Glasner <hg@dom66.de>
date Tue, 19 Sep 2023 19:35:29 +0200
parents bf0d63c8e682
children a200c18603c9
comparison
equal deleted inserted replaced
420:bf0d63c8e682 421:a571a30bcf8a
7 7
8 8
9 Synopsis 9 Synopsis
10 -------- 10 --------
11 11
12 **fzfs copy-tree** [**-A**] [**-M** `mountpoint`] [**-n**] [**-p**] [**-u**] `source-dataset` `dest-dataset` 12 **fzfs copy-tree** [**-A**] [**-M** `mountpoint`] [**-n**] [**-u**] `source-dataset` `dest-dataset`
13
13 14
14 Description 15 Description
15 ----------- 16 -----------
16 17
17 Copy the ZFS filesystem structure and contents that is rooted at 18 Copy the ZFS filesystem or snapshot that is rooted at `source-dataset`
18 `source-dataset` to the destination rooted at `dest-dataset`. 19 and all descendent datasets to the destination rooted at `dest-dataset`.
19 20
20 The content of the filesystems is copied also. 21 The structure and content of the filesystems is copied.
21 22
22 `dest-dataset` must not exist already. 23 `dest-dataset` must not exist already.
23 24
24 By default `canmount` is also copied. But this can be modified with 25 By default `canmount` is also copied. But this can be modified with
25 options :option:`-A` and :option:`-p`. 26 option :option:`-A`.
26 27
27 28
28 Options 29 Options
29 ------- 30 -------
30 31
42 .. option:: -n 43 .. option:: -n
43 44
44 Dry-run. Do not really create and copy datasets but show what would 45 Dry-run. Do not really create and copy datasets but show what would
45 be done. 46 be done.
46 47
47 .. option:: -p
48
49 Copy the `canmount` property only from the source to the root
50 destination dataset This will be overwritten by the option
51 :option:`-A`.
52
53 .. option:: -u 48 .. option:: -u
54 49
55 Do not mount the copied datasets. 50 Do not mount the copied datasets.
56 51
57 52