diff options
author | LOLi <[email protected]> | 2017-09-09 00:24:31 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-09-08 15:24:31 -0700 |
commit | 835db58592d7d947e5818eb7281882e2a46073e0 (patch) | |
tree | 5f99c47d3fa3ab2d18aeafb4b7be90975984f747 /man/man8/zfs.8 | |
parent | 57858fb5ca4b1d0f28b054cb5e15aaf3bc54c99e (diff) |
Add -vnP support to 'zfs send' for bookmarks
This leverages the functionality introduced in cf7684b to expose
verbose, dry-run and parsable 'zfs send' options for bookmarks.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: loli10K <[email protected]>
Closes #3666
Closes #6601
Diffstat (limited to 'man/man8/zfs.8')
-rw-r--r-- | man/man8/zfs.8 | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/man/man8/zfs.8 b/man/man8/zfs.8 index 89541eed9..eb5b6ffb9 100644 --- a/man/man8/zfs.8 +++ b/man/man8/zfs.8 @@ -171,7 +171,7 @@ .Ar snapshot .Nm .Cm send -.Op Fl Lcew +.Op Fl LPcenvw .Op Fl i Ar snapshot Ns | Ns Ar bookmark .Ar filesystem Ns | Ns Ar volume Ns | Ns Ar snapshot .Nm @@ -3253,14 +3253,14 @@ The receiving system must also support this feature. .It Fl v, -verbose Print verbose information about the stream package generated. This information includes a per-second report of how much data has been sent. -.El .Pp The format of the stream is committed. You will be able to receive your streams on future versions of ZFS. +.El .It Xo .Nm .Cm send -.Op Fl Lce +.Op Fl LPcenvw .Op Fl i Ar snapshot Ns | Ns Ar bookmark .Ar filesystem Ns | Ns Ar volume Ns | Ns Ar snapshot .Xc @@ -3287,6 +3287,8 @@ See for details on ZFS feature flags and the .Sy large_blocks feature. +.It Fl P, -parsable +Print machine-parsable verbose information about the stream package generated. .It Fl c, -compressed Generate a more compact stream by using compressed WRITE records for blocks which are compressed on disk and in memory @@ -3360,6 +3362,23 @@ character and following If the incremental target is a clone, the incremental source can be the origin snapshot, or an earlier snapshot in the origin's filesystem, or the origin's origin, etc. +.It Fl n, -dryrun +Do a dry-run +.Pq Qq No-op +send. +Do not generate any actual send data. +This is useful in conjunction with the +.Fl v +or +.Fl P +flags to determine what data will be sent. +In this case, the verbose output will be written to standard output +.Po contrast with a non-dry-run, where the stream is written to standard output +and the verbose output goes to standard error +.Pc . +.It Fl v, -verbose +Print verbose information about the stream package generated. +This information includes a per-second report of how much data has been sent. .El .It Xo .Nm |