github.com/advanderveer/restic@v0.8.1-0.20171209104529-42a8c19aaea6/doc/man/restic-tag.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\-tag \- Modify tags on snapshots 9 10 11 .SH SYNOPSIS 12 .PP 13 \fBrestic tag [flags] [snapshot\-ID ...]\fP 14 15 16 .SH DESCRIPTION 17 .PP 18 The "tag" command allows you to modify tags on exiting snapshots. 19 20 .PP 21 You can either set/replace the entire set of tags on a snapshot, or 22 add tags to/remove tags from the existing set. 23 24 .PP 25 When no snapshot\-ID is given, all snapshots matching the host, tag and path filter criteria are modified. 26 27 28 .SH OPTIONS 29 .PP 30 \fB\-\-add\fP=[] 31 \fB\fCtag\fR which will be added to the existing tags (can be given multiple times) 32 33 .PP 34 \fB\-h\fP, \fB\-\-help\fP[=false] 35 help for tag 36 37 .PP 38 \fB\-H\fP, \fB\-\-host\fP="" 39 only consider snapshots for this \fB\fChost\fR, when no snapshot ID is given 40 41 .PP 42 \fB\-\-path\fP=[] 43 only consider snapshots which include this (absolute) \fB\fCpath\fR, when no snapshot\-ID is given 44 45 .PP 46 \fB\-\-remove\fP=[] 47 \fB\fCtag\fR which will be removed from the existing tags (can be given multiple times) 48 49 .PP 50 \fB\-\-set\fP=[] 51 \fB\fCtag\fR which will replace the existing tags (can be given multiple times) 52 53 .PP 54 \fB\-\-tag\fP=[] 55 only consider snapshots which include this \fB\fCtaglist\fR, when no snapshot\-ID is given 56 57 58 .SH OPTIONS INHERITED FROM PARENT COMMANDS 59 .PP 60 \fB\-\-cacert\fP=[] 61 path to load root certificates from (default: use system certificates) 62 63 .PP 64 \fB\-\-cache\-dir\fP="" 65 set the cache directory 66 67 .PP 68 \fB\-\-json\fP[=false] 69 set output mode to JSON for commands that support it 70 71 .PP 72 \fB\-\-limit\-download\fP=0 73 limits downloads to a maximum rate in KiB/s. (default: unlimited) 74 75 .PP 76 \fB\-\-limit\-upload\fP=0 77 limits uploads to a maximum rate in KiB/s. (default: unlimited) 78 79 .PP 80 \fB\-\-no\-cache\fP[=false] 81 do not use a local cache 82 83 .PP 84 \fB\-\-no\-lock\fP[=false] 85 do not lock the repo, this allows some operations on read\-only repos 86 87 .PP 88 \fB\-o\fP, \fB\-\-option\fP=[] 89 set extended option (\fB\fCkey=value\fR, can be specified multiple times) 90 91 .PP 92 \fB\-p\fP, \fB\-\-password\-file\fP="" 93 read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) 94 95 .PP 96 \fB\-q\fP, \fB\-\-quiet\fP[=false] 97 do not output comprehensive progress report 98 99 .PP 100 \fB\-r\fP, \fB\-\-repo\fP="" 101 repository to backup to or restore from (default: $RESTIC\_REPOSITORY) 102 103 104 .SH SEE ALSO 105 .PP 106 \fBrestic(1)\fP