4 .\" The contents of this file are subject to the terms of the
5 .\" Common Development and Distribution License (the "License").
6 .\" You may not use this file except in compliance with the License.
8 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 .\" or https://opensource.org/licenses/CDDL-1.0.
10 .\" See the License for the specific language governing permissions
11 .\" and limitations under the License.
13 .\" When distributing Covered Code, include this CDDL HEADER in each
14 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 .\" If applicable, add the following below this CDDL HEADER, with the
16 .\" fields enclosed by brackets "[]" replaced with your own identifying
17 .\" information: Portions Copyright [yyyy] [name of copyright owner]
21 .\" Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved.
22 .\" Copyright 2011 Joshua M. Clulow <josh@sysmgr.org>
23 .\" Copyright (c) 2011, 2019 by Delphix. All rights reserved.
24 .\" Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
25 .\" Copyright (c) 2014, Joyent, Inc. All rights reserved.
26 .\" Copyright (c) 2014 by Adam Stevko. All rights reserved.
27 .\" Copyright (c) 2014 Integros [integros.com]
28 .\" Copyright 2019 Richard Laager. All rights reserved.
29 .\" Copyright 2018 Nexenta Systems, Inc.
30 .\" Copyright 2019 Joyent, Inc.
38 .Nd hold ZFS snapshots to prevent their removal
43 .Ar tag Ar snapshot Ns …
51 .Ar tag Ar snapshot Ns …
59 .Ar tag Ar snapshot Ns …
61 Adds a single reference, named with the
63 argument, to the specified snapshots.
64 Each snapshot has its own tag namespace, and tags must be unique within that
67 If a hold exists on a snapshot, attempts to destroy that snapshot by using the
73 Specifies that a hold with the given tag is applied recursively to the snapshots
74 of all descendent file systems.
82 Lists all existing user references for the given snapshot or snapshots.
85 Lists the holds that are set on the named descendent snapshots, in addition to
86 listing the holds on the named snapshot.
88 Do not print headers, use tab-delimited output.
90 Prints holds timestamps as unix epoch timestamps.
96 .Ar tag Ar snapshot Ns …
98 Removes a single reference, named with the
100 argument, from the specified snapshot or snapshots.
101 The tag must already exist for each snapshot.
102 If a hold exists on a snapshot, attempts to destroy that snapshot by using the
108 Recursively releases a hold with the given tag on the snapshots of all
109 descendent file systems.