view docs/man/man8/fzfs-clone-tree.rst @ 784:b5b19c62da24

fports: FIX: man page: Synopsis should document the "deptree" subcommand
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 26 Oct 2024 22:42:01 +0200
parents b74c65ceab96
children
line wrap: on
line source

.. -*- coding: utf-8; indent-tabs-mode: nil; -*-

fzfs-clone-tree
===============

.. program:: fzfs clone-tree


Synopsis
--------

**fzfs clone-tree** [**-k**] [**-n**] `source-dataset` `dest-dataset`


Description
-----------

Clone the ZFS snapshot that is rooted at `source-dataset` and all
descendent snapshots into the destination dataset rooted at
`dest-dataset`.

`source-dataset` must be a snapshot. All of its children must have a
snapshot with the very same snapshot.

`dest-dataset` must not exist already.

All properties that are of type ``local`` or ``received`` are copied to the
destination. This is also true for `canmount` and `mountpoint`.

The cloned datasets will are *not* mounted automatically.

If something fails it is tried to delete the intermediately created
datasets.


Options
-------

.. option:: -k

   Do not try to destroy intermediately cloned datasets on errors but
   keep them.

.. option:: -n

   Dry-run. Do not really clone datasets but show what would be done.


Environment
-----------

All environment variables that affect :command:`zfs` are effective also.


See Also
--------

:manpage:`fzfs(8)`