1restic backup(1) restic backup(1)
2
3
4
6 restic-snapshots - List all snapshots
7
8
9
11 restic snapshots [flags] [snapshotID ...]
12
13
14
16 The "snapshots" command lists all snapshots stored in the repository.
17
18
19
21 Exit status is 0 if the command was successful, and non-zero if there
22 was any error.
23
24
25
27 -c, --compact[=false] use compact output format
28
29
30 -g, --group-by="" string for grouping snapshots by host,paths,tags
31
32
33 -h, --help[=false] help for snapshots
34
35
36 -H, --host=[] only consider snapshots for this host (can be speci‐
37 fied multiple times)
38
39
40 --latest=0 only show the last n snapshots for each host and path
41
42
43 --path=[] only consider snapshots for this path (can be specified
44 multiple times)
45
46
47 --tag=[] only consider snapshots which include this taglist in the
48 format tag[,tag,...] (can be specified multiple times)
49
50
51
53 --cacert=[] file to load root certificates from (default: use sys‐
54 tem certificates)
55
56
57 --cache-dir="" set the cache directory. (default: use system de‐
58 fault cache directory)
59
60
61 --cleanup-cache[=false] auto remove old cache directories
62
63
64 --json[=false] set output mode to JSON for commands that support
65 it
66
67
68 --key-hint="" key ID of key to try decrypting first (default:
69 $RESTIC_KEY_HINT)
70
71
72 --limit-download=0 limits downloads to a maximum rate in KiB/s.
73 (default: unlimited)
74
75
76 --limit-upload=0 limits uploads to a maximum rate in KiB/s. (de‐
77 fault: unlimited)
78
79
80 --no-cache[=false] do not use a local cache
81
82
83 --no-lock[=false] do not lock the repository, this allows some op‐
84 erations on read-only repositories
85
86
87 -o, --option=[] set extended option (key=value, can be specified
88 multiple times)
89
90
91 --password-command="" shell command to obtain the repository pass‐
92 word from (default: $RESTIC_PASSWORD_COMMAND)
93
94
95 -p, --password-file="" file to read the repository password from
96 (default: $RESTIC_PASSWORD_FILE)
97
98
99 -q, --quiet[=false] do not output comprehensive progress report
100
101
102 -r, --repo="" repository to backup to or restore from (default:
103 $RESTIC_REPOSITORY)
104
105
106 --repository-file="" file to read the repository location from
107 (default: $RESTIC_REPOSITORY_FILE)
108
109
110 --tls-client-cert="" path to a file containing PEM encoded TLS
111 client certificate and private key
112
113
114 -v, --verbose[=0] be verbose (specify multiple times or a level
115 using --verbose=n, max level/times is 3)
116
117
118
120 restic(1)
121
122
123
124generated by restic generate Jan 2017 restic backup(1)