github.com/advanderveer/restic@v0.8.1-0.20171209104529-42a8c19aaea6/doc/man/restic-snapshots.1 (about) 1 .TH "restic backup" "1" "Jan 2017" "generated by `restic generate`" "" 2 .nh 3 .ad l 4 5 6 .SH NAME 7 .PP 8 restic\-snapshots \- List all snapshots 9 10 11 .SH SYNOPSIS 12 .PP 13 \fBrestic snapshots [snapshotID ...] [flags]\fP 14 15 16 .SH DESCRIPTION 17 .PP 18 The "snapshots" command lists all snapshots stored in the repository. 19 20 21 .SH OPTIONS 22 .PP 23 \fB\-c\fP, \fB\-\-compact\fP[=false] 24 use compact format 25 26 .PP 27 \fB\-h\fP, \fB\-\-help\fP[=false] 28 help for snapshots 29 30 .PP 31 \fB\-H\fP, \fB\-\-host\fP="" 32 only consider snapshots for this \fB\fChost\fR 33 34 .PP 35 \fB\-\-last\fP[=false] 36 only show the last snapshot for each host and path 37 38 .PP 39 \fB\-\-path\fP=[] 40 only consider snapshots for this \fB\fCpath\fR (can be specified multiple times) 41 42 .PP 43 \fB\-\-tag\fP=[] 44 only consider snapshots which include this \fB\fCtaglist\fR (can be specified multiple times) 45 46 47 .SH OPTIONS INHERITED FROM PARENT COMMANDS 48 .PP 49 \fB\-\-cacert\fP=[] 50 path to load root certificates from (default: use system certificates) 51 52 .PP 53 \fB\-\-cache\-dir\fP="" 54 set the cache directory 55 56 .PP 57 \fB\-\-json\fP[=false] 58 set output mode to JSON for commands that support it 59 60 .PP 61 \fB\-\-limit\-download\fP=0 62 limits downloads to a maximum rate in KiB/s. (default: unlimited) 63 64 .PP 65 \fB\-\-limit\-upload\fP=0 66 limits uploads to a maximum rate in KiB/s. (default: unlimited) 67 68 .PP 69 \fB\-\-no\-cache\fP[=false] 70 do not use a local cache 71 72 .PP 73 \fB\-\-no\-lock\fP[=false] 74 do not lock the repo, this allows some operations on read\-only repos 75 76 .PP 77 \fB\-o\fP, \fB\-\-option\fP=[] 78 set extended option (\fB\fCkey=value\fR, can be specified multiple times) 79 80 .PP 81 \fB\-p\fP, \fB\-\-password\-file\fP="" 82 read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) 83 84 .PP 85 \fB\-q\fP, \fB\-\-quiet\fP[=false] 86 do not output comprehensive progress report 87 88 .PP 89 \fB\-r\fP, \fB\-\-repo\fP="" 90 repository to backup to or restore from (default: $RESTIC\_REPOSITORY) 91 92 93 .SH SEE ALSO 94 .PP 95 \fBrestic(1)\fP