VictoriaMetrics/app/vmbackup
Roman Khavronenko ff73b66182
app/vmbackup: introduce new flag type URL (#6152)
The new flag type is supposed to be used for specifying URL values which
could contain sensitive information such as auth tokens in GET params or
HTTP basic authentication.

The URL flag also allows loading its value from files if `file://`
prefix is specified. As example, the new flag type was used in
app/vmbackup as it requires specifying `authKey` param for making the
snapshot.

See related issue
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5973

Thanks to @wasim-nihal for initial implementation
https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6060

---------

Signed-off-by: hagen1778 <roman@victoriametrics.com>
(cherry picked from commit 029060af60)
2024-04-24 17:08:24 +02:00
..
deployment Rootless docker images by default (#358) 2020-03-27 21:18:32 +02:00
multiarch all: run apk update && apk upgrade in base Alpine Docker image in order to get all the recent security fixes 2023-02-09 14:03:02 -08:00
main.go app/vmbackup: introduce new flag type URL (#6152) 2024-04-24 17:08:24 +02:00
main_test.go vmbackup: correctly check if specified -dst belongs to specified -storageDataPath (#4841) 2023-08-16 14:56:52 +02:00
Makefile app/{vmbackup,vmrestore}: publish vmbackup and vmrestore binaries for Windows 2023-03-25 15:09:41 -07:00
README.md all: replace old https://docs.victoriametrics.com/vmbackup.html url with the new one - https://docs.victoriametrics.com/vmbackup/ 2024-04-18 01:58:00 +02:00

See vmbackup docs here.

vmbackup docs can be edited at docs/vmbackup.md.