|
NAMEzelta clone - Perform a recursive clone operation. SYNOPSISzelta clone [-d depth] [initiator] source/dataset target/dataset DESCRIPTIONzelta clone performs a recursive zfs clone operation on a local or indicated host. By default, it wil clone the most recent dataset and all of its descendents. The target dataset must not exist. By default, the topmost dataset property readonly=off will be set. Note that ZFS cloning will reset (inherit) mountpoints. Clones must be created on the same pool as the source dataset. When cloning, the source can be readonly and not mounted, making cloning excellent for backup inspection as well as recovery of a dataset from a specific snapshot. If using zelta clone for recovery, consider using zelta backup –rotate to replicate the cloned dataset state to its backup replicas. OPTIONSA source and target dataset parameter are required.
–snapshot Snapshot before cloning. See zelta.env.example to adjust the naming scheme.
-q Reduce verbosity. -v Increase verbosity.
EXAMPLESThe target clones can be destroyed without affecting their source. After cloning a dataset with a remote replica, zelta backup –rotate Clone a dataset tree for inspection:
Recover a dataset tree, in place, to a previous snapshot’s state:
Dry Run: Display the zfs clone commands without executing them.
SEE ALSOssh(1), zelta(8), zelta-backup(8), zelta-match(8), zelta-policy(8), zfs(8), zfs-clone(8), zfs-promote(8) AUTHORSDaniel J. Bell bellta@belltower.it WWWhttps://zelta.space
|