-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsnaputil.1
69 lines (69 loc) · 1.2 KB
/
snaputil.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
.\"-
.\" Copyright (c) 2021 Cameron Katri
.\" SPDX-License-Identifier: Apache-2.0
.\"
.Dd September 28, 2021
.Dt SNAPUTIL 1
.Os
.Sh NAME
.Nm snaputil
.Nd manipulate APFS snapshots
.Sh SYNOPSIS
.Nm
.Oo
.Fl c Ar name Ar volume |
.Fl d Ar name Ar volume |
.Fl l Ar volume |
.Fl n Ar name Ar newname Ar volume |
.Fl o |
.Fl r Ar name Ar volume |
.Fl s Ar name Ar volume Ar mnt
.Oc
.Sh DESCRIPTION
.Nm
perform the selected action on the specified APFS volume, then exits.
.Bl -tag -width -indent
.It Fl c Ar name Ar volume
Create a snapshot called
.Ar name
on
.Ar volume .
.It Fl d Ar name Ar volume
Delete the snapshot named
.Ar name
on
.Ar volume .
.It Fl l Ar volume
List the snapshots on
.Ar volume .
.It Fl n Ar name Ar newname Ar volume
Rename the snapshot in
.Ar volume
for
.Ar name
to
.Ar newname .
.It Fl o
Query the IORegistry to determine what the system apfs snapshot's name should be.
.It Fl r Ar name Ar volume
Revert
.Ar volume
to the snapshot
.Ar name .
.It Fl s Ar name Ar volume Ar mnt
Mount the snapshot
.Ar name
from
.Ar volume
at
.Ar mnt .
.El
.Sh HISTORY
The
.Nm
utility was written on Feburary 9, 2017, by
.An Adam H. Leventhal
then updated on Janurary 22, 2018 by
.An Blair Zajac
to use
.In sys/snapshot.h .