]>
Commit | Line | Data |
---|---|---|
870fc32f RW |
1 | .\" |
2 | .\" CDDL HEADER START | |
3 | .\" | |
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. | |
7 | .\" | |
8 | .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE | |
9 | .\" or http://www.opensolaris.org/os/licensing. | |
10 | .\" See the License for the specific language governing permissions | |
11 | .\" and limitations under the License. | |
12 | .\" | |
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] | |
18 | .\" | |
19 | .\" CDDL HEADER END | |
20 | .\" | |
870fc32f RW |
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. | |
31 | .\" | |
f84fe3fc | 32 | .Dd May 27, 2021 |
870fc32f | 33 | .Dt ZFS-SNAPSHOT 8 |
6706552e | 34 | .Os |
f84fe3fc | 35 | . |
870fc32f | 36 | .Sh NAME |
1e36af8c | 37 | .Nm zfs-snapshot |
f84fe3fc | 38 | .Nd create snapshots of ZFS datasets |
870fc32f | 39 | .Sh SYNOPSIS |
1e36af8c | 40 | .Nm zfs |
870fc32f RW |
41 | .Cm snapshot |
42 | .Op Fl r | |
f84fe3fc AZ |
43 | .Oo Fl o Ar property Ns = Ns Ar value Oc Ns … |
44 | .Ar dataset Ns @ Ns Ar snapname Ns … | |
45 | . | |
870fc32f | 46 | .Sh DESCRIPTION |
870fc32f RW |
47 | All previous modifications by successful system calls to the file system are |
48 | part of the snapshots. | |
49 | Snapshots are taken atomically, so that all snapshots correspond to the same | |
50 | moment in time. | |
51 | .Nm zfs Cm snap | |
52 | can be used as an alias for | |
f84fe3fc | 53 | .Nm zfs Cm snapshot . |
870fc32f | 54 | See the |
f84fe3fc | 55 | .Sx Snapshots |
870fc32f | 56 | section of |
2badb345 | 57 | .Xr zfsconcepts 7 |
870fc32f RW |
58 | for details. |
59 | .Bl -tag -width "-o" | |
60 | .It Fl o Ar property Ns = Ns Ar value | |
f84fe3fc | 61 | Set the specified property; see |
870fc32f RW |
62 | .Nm zfs Cm create |
63 | for details. | |
64 | .It Fl r | |
65 | Recursively create snapshots of all descendent datasets | |
66 | .El | |
f84fe3fc | 67 | . |
870fc32f RW |
68 | .Sh SEE ALSO |
69 | .Xr zfs-bookmark 8 , | |
70 | .Xr zfs-clone 8 , | |
71 | .Xr zfs-destroy 8 , | |
72 | .Xr zfs-diff 8 , | |
73 | .Xr zfs-hold 8 , | |
74 | .Xr zfs-rename 8 , | |
75 | .Xr zfs-rollback 8 , | |
76 | .Xr zfs-send 8 |