From 3339ea41e74e798a9d4630a6b904f4f44bb141e9 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Tue, 18 May 2021 01:12:34 +0300 Subject: [PATCH] docs/vmbackup.md: typo fix: snaphosts -> snapshots Thanks to @jelmd - see https://github.com/VictoriaMetrics/VictoriaMetrics/commit/1ab27582a3d033e18aa2fc721ed83fa3567404ca#r50884395 --- app/vmbackup/README.md | 2 +- app/vmbackup/main.go | 2 +- docs/vmbackup.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/vmbackup/README.md b/app/vmbackup/README.md index f37954d53..ab6209175 100644 --- a/app/vmbackup/README.md +++ b/app/vmbackup/README.md @@ -218,7 +218,7 @@ See [this article](https://medium.com/@valyala/speeding-up-backups-for-big-time- -snapshot.createURL string VictoriaMetrics create snapshot url. When this is given a snapshot will automatically be created during backup. Example: http://victoriametrics:8428/snapshot/create . There is no need in setting -snapshotName if -snapshot.createURL is set -snapshot.deleteURL string - VictoriaMetrics delete snapshot url. Optional. Will be generated from -snapshot.createURL if not provided. All created snaphosts will be automatically deleted. Example: http://victoriametrics:8428/snapshot/delete + VictoriaMetrics delete snapshot url. Optional. Will be generated from -snapshot.createURL if not provided. All created snapshots will be automatically deleted. Example: http://victoriametrics:8428/snapshot/delete -snapshotName string Name for the snapshot to backup. See https://docs.victoriametrics.com/Single-server-VictoriaMetrics.html#how-to-work-with-snapshots. There is no need in setting -snapshotName if -snapshot.createURL is set -storageDataPath string diff --git a/app/vmbackup/main.go b/app/vmbackup/main.go index b745a4e17..e7421d9c3 100644 --- a/app/vmbackup/main.go +++ b/app/vmbackup/main.go @@ -23,7 +23,7 @@ var ( snapshotCreateURL = flag.String("snapshot.createURL", "", "VictoriaMetrics create snapshot url. When this is given a snapshot will automatically be created during backup. "+ "Example: http://victoriametrics:8428/snapshot/create . There is no need in setting -snapshotName if -snapshot.createURL is set") snapshotDeleteURL = flag.String("snapshot.deleteURL", "", "VictoriaMetrics delete snapshot url. Optional. Will be generated from -snapshot.createURL if not provided. "+ - "All created snaphosts will be automatically deleted. Example: http://victoriametrics:8428/snapshot/delete") + "All created snapshots will be automatically deleted. Example: http://victoriametrics:8428/snapshot/delete") dst = flag.String("dst", "", "Where to put the backup on the remote storage. "+ "Example: gcs://bucket/path/to/backup/dir, s3://bucket/path/to/backup/dir or fs:///path/to/local/backup/dir\n"+ "-dst can point to the previous backup. In this case incremental backup is performed, i.e. only changed data is uploaded") diff --git a/docs/vmbackup.md b/docs/vmbackup.md index d9df5482c..106f88f35 100644 --- a/docs/vmbackup.md +++ b/docs/vmbackup.md @@ -222,7 +222,7 @@ See [this article](https://medium.com/@valyala/speeding-up-backups-for-big-time- -snapshot.createURL string VictoriaMetrics create snapshot url. When this is given a snapshot will automatically be created during backup. Example: http://victoriametrics:8428/snapshot/create . There is no need in setting -snapshotName if -snapshot.createURL is set -snapshot.deleteURL string - VictoriaMetrics delete snapshot url. Optional. Will be generated from -snapshot.createURL if not provided. All created snaphosts will be automatically deleted. Example: http://victoriametrics:8428/snapshot/delete + VictoriaMetrics delete snapshot url. Optional. Will be generated from -snapshot.createURL if not provided. All created snapshots will be automatically deleted. Example: http://victoriametrics:8428/snapshot/delete -snapshotName string Name for the snapshot to backup. See https://docs.victoriametrics.com/Single-server-VictoriaMetrics.html#how-to-work-with-snapshots. There is no need in setting -snapshotName if -snapshot.createURL is set -storageDataPath string