summaryrefslogtreecommitdiff
path: root/usr/src/man/man1m/zfs-program.1m
diff options
context:
space:
mode:
authorBrad Lewis <brad.lewis@delphix.com>2017-01-06 16:14:08 -0700
committerPrakash Surya <prakash.surya@delphix.com>2017-09-21 11:09:58 -0700
commit000cce6b6fad4a8b0eecef6e1251f6aca1719c55 (patch)
treecfcec74f24457eb78fb8cc79c41a0ce09ddc2baa /usr/src/man/man1m/zfs-program.1m
parent1c18e8fbd8db41a9fb39bd3ef7a18ee71ece20da (diff)
downloadillumos-joyent-000cce6b6fad4a8b0eecef6e1251f6aca1719c55.tar.gz
8592 ZFS channel programs - rollback
Reviewed by: Chris Williamson <chris.williamson@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/man/man1m/zfs-program.1m')
-rw-r--r--usr/src/man/man1m/zfs-program.1m14
1 files changed, 13 insertions, 1 deletions
diff --git a/usr/src/man/man1m/zfs-program.1m b/usr/src/man/man1m/zfs-program.1m
index d8acd4972a..2564df4d47 100644
--- a/usr/src/man/man1m/zfs-program.1m
+++ b/usr/src/man/man1m/zfs-program.1m
@@ -8,7 +8,7 @@
.\" http://www.illumos.org/license/CDDL.
.\"
.\"
-.\" Copyright (c) 2016 by Delphix. All Rights Reserved.
+.\" Copyright (c) 2016, 2017 by Delphix. All rights reserved.
.\"
.Dd January 21, 2016
.Dt ZFS-PROGRAM 1M
@@ -361,6 +361,17 @@ dataset (string)
.Bd -ragged -compact -offset "xxxx"
Clone to be promoted.
.Ed
+.It Em zfs.sync.rollback(filesystem)
+Rollback to the previous snapshot for a dataset.
+Returns 0 on successful rollback, or a nonzero error code otherwise.
+Rollbacks can be performed on filesystems or zvols, but not on snapshots
+or mounted datasets.
+EBUSY is returned in the case where the filesystem is mounted.
+.Pp
+filesystem (string)
+.Bd -ragged -compact -offset "xxxx"
+Filesystem to rollback.
+.Ed
.El
.It Sy zfs.check submodule
For each function in the zfs.sync submodule, there is a corresponding zfs.check
@@ -380,6 +391,7 @@ The available zfs.check functions are:
.Bl -tag -width "xx"
.It Em zfs.check.destroy(dataset, [defer=true|false])
.It Em zfs.check.promote(dataset)
+.It Em zfs.check.rollback(filesystem)
.El
.It Sy zfs.list submodule
The zfs.list submodule provides functions for iterating over datasets and