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

NAME

6       restic-tag - Modify tags on snapshots
7
8
9

SYNOPSIS

11       restic tag [flags] [snapshot-ID ...]
12
13
14

DESCRIPTION

16       The "tag" command allows you to modify tags on exiting snapshots.
17
18
19       You can either set/replace the entire set of tags on a snapshot, or add
20       tags to/remove tags from the existing set.
21
22
23       When no snapshot-ID is given, all snapshots matching the host, tag and
24       path filter criteria are modified.
25
26
27

OPTIONS

29       --add=[]
30           tag which will be added to the existing tags (can be given multiple
31       times)
32
33
34       -h, --help[=false]
35           help for tag
36
37
38       -H, --host=""
39           only consider snapshots for this host, when no snapshot ID is given
40
41
42       --path=[]
43           only consider snapshots which include this (absolute) path, when no
44       snapshot-ID is given
45
46
47       --remove=[]
48           tag which will be removed from the existing tags (can be given
49       multiple times)
50
51
52       --set=[]
53           tag which will replace the existing tags (can be given multiple
54       times)
55
56
57       --tag=[]
58           only consider snapshots which include this taglist, when no
59       snapshot-ID is given
60
61
62

OPTIONS INHERITED FROM PARENT COMMANDS

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

SEE ALSO

137       restic(1)
138
139
140
141generated by `restic generate`     Jan 2017                   restic backup(1)
Impressum