1restic backup(1)                                              restic backup(1)
2
3
4

NAME

6       restic-snapshots - List all snapshots
7
8
9

SYNOPSIS

11       restic snapshots [flags] [snapshotID ...]
12
13
14

DESCRIPTION

16       The "snapshots" command lists all snapshots stored in the repository.
17
18
19

EXIT STATUS

21       Exit status is 0 if the command was successful, and non-zero if there
22       was any error.
23
24
25

OPTIONS

27       -c, --compact[=false]
28           use compact output format
29
30
31       -g, --group-by=""
32           string for grouping snapshots by host,paths,tags
33
34
35       -h, --help[=false]
36           help for snapshots
37
38
39       -H, --host=[]
40           only consider snapshots for this host (can be specified multiple
41       times)
42
43
44       --last[=false]
45           only show the last snapshot for each host and path
46
47
48       --path=[]
49           only consider snapshots for this path (can be specified multiple
50       times)
51
52
53       --tag=[]
54           only consider snapshots which include this taglist in the format
55       tag[,tag,...] (can be specified multiple times)
56
57
58

OPTIONS INHERITED FROM PARENT COMMANDS

60       --cacert=[]
61           file to load root certificates from (default: use system
62       certificates)
63
64
65       --cache-dir=""
66           set the cache directory. (default: use system default cache
67       directory)
68
69
70       --cleanup-cache[=false]
71           auto remove old cache directories
72
73
74       --json[=false]
75           set output mode to JSON for commands that support it
76
77
78       --key-hint=""
79           key ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
80
81
82       --limit-download=0
83           limits downloads to a maximum rate in KiB/s. (default: unlimited)
84
85
86       --limit-upload=0
87           limits uploads to a maximum rate in KiB/s. (default: unlimited)
88
89
90       --no-cache[=false]
91           do not use a local cache
92
93
94       --no-lock[=false]
95           do not lock the repository, this allows some operations on
96       read-only repositories
97
98
99       -o, --option=[]
100           set extended option (key=value, can be specified multiple times)
101
102
103       --password-command=""
104           shell command to obtain the repository password from (default:
105       $RESTIC_PASSWORD_COMMAND)
106
107
108       -p, --password-file=""
109           file to read the repository password from (default:
110       $RESTIC_PASSWORD_FILE)
111
112
113       -q, --quiet[=false]
114           do not output comprehensive progress report
115
116
117       -r, --repo=""
118           repository to backup to or restore from (default:
119       $RESTIC_REPOSITORY)
120
121
122       --repository-file=""
123           file to read the repository location from (default:
124       $RESTIC_REPOSITORY_FILE)
125
126
127       --tls-client-cert=""
128           path to a file containing PEM encoded TLS client certificate and
129       private key
130
131
132       -v, --verbose[=0]
133           be verbose (specify multiple times or a level using --verbose=n,
134       max level/times is 3)
135
136
137

SEE ALSO

139       restic(1)
140
141
142
143generated by `restic generate`     Jan 2017                   restic backup(1)
Impressum