aboutsummaryrefslogtreecommitdiffstats
path: root/man/man8
diff options
context:
space:
mode:
authorChristian Schwarz <[email protected]>2020-01-16 02:15:05 +0100
committerBrian Behlendorf <[email protected]>2020-02-11 13:19:17 -0800
commit948f0c44196d2fa254399ec0d716c2ba0bb9ffad (patch)
tree87307e1d30a2f0601f64bb75603aedeb70f73b54 /man/man8
parenta73f361fdb2c0a7778e70b482e316054fc2d8630 (diff)
zcp: add zfs.sync.bookmark
Add support for bookmark creation and cloning. Reviewed-by: Matt Ahrens <[email protected]> Reviewed-by: Paul Dagnelie <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Christian Schwarz <[email protected]> Closes #9571
Diffstat (limited to 'man/man8')
-rw-r--r--man/man8/zfs-program.816
1 files changed, 16 insertions, 0 deletions
diff --git a/man/man8/zfs-program.8 b/man/man8/zfs-program.8
index f953cf18f..c754fcf99 100644
--- a/man/man8/zfs-program.8
+++ b/man/man8/zfs-program.8
@@ -9,6 +9,7 @@
.\"
.\"
.\" Copyright (c) 2016, 2019 by Delphix. All Rights Reserved.
+.\" Copyright (c) 2019, 2020 by Christian Schwarz. All Rights Reserved.
.\" Copyright 2020 Joyent, Inc.
.\"
.Dd January 15, 2020
@@ -419,6 +420,21 @@ dataset (string)
.Bd -ragged -compact -offset "xxxx"
Name of snapshot to create.
.Ed
+.It Em zfs.sync.bookmark(source, newbookmark)
+Create a bookmark of an existing source snapshot or bookmark.
+Returns 0 if the new bookmark was successfully created,
+and a nonzero error code otherwise.
+.Pp
+Note: Bookmarking requires the corresponding pool feature to be enabled.
+.Pp
+source (string)
+.Bd -ragged -compact -offset "xxxx"
+Full name of the existing snapshot or bookmark.
+.Ed
+.Pp
+newbookmark (string)
+.Bd -ragged -compact -offset "xxxx"
+Full name of the new bookmark.
.El
.It Sy zfs.check submodule
For each function in the zfs.sync submodule, there is a corresponding zfs.check