mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-10 15:14:09 +00:00
docs/vmbackup.md: added missing -storageDataPath argument in the command for creating daily backups
This commit is contained in:
parent
4ae1a8514a
commit
2213eef6b7
2 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ The command will upload only changed data to `gs://<bucket>/latest`.
|
|||
* Run the following command once a day:
|
||||
|
||||
```bash
|
||||
vmbackup -snapshot.createURL=http://localhost:8428/snapshot/create -dst=gs://<bucket>/<YYYYMMDD> -origin=gs://<bucket>/latest
|
||||
vmbackup -storageDataPath=</path/to/victoria-metrics-data> -snapshot.createURL=http://localhost:8428/snapshot/create -dst=gs://<bucket>/<YYYYMMDD> -origin=gs://<bucket>/latest
|
||||
```
|
||||
|
||||
Where `<daily-snapshot>` is the snapshot for the last day `<YYYYMMDD>`.
|
||||
|
|
|
@ -78,7 +78,7 @@ The command will upload only changed data to `gs://<bucket>/latest`.
|
|||
* Run the following command once a day:
|
||||
|
||||
```bash
|
||||
vmbackup -snapshot.createURL=http://localhost:8428/snapshot/create -dst=gs://<bucket>/<YYYYMMDD> -origin=gs://<bucket>/latest
|
||||
vmbackup -storageDataPath=</path/to/victoria-metrics-data> -snapshot.createURL=http://localhost:8428/snapshot/create -dst=gs://<bucket>/<YYYYMMDD> -origin=gs://<bucket>/latest
|
||||
```
|
||||
|
||||
Where `<daily-snapshot>` is the snapshot for the last day `<YYYYMMDD>`.
|
||||
|
|
Loading…
Reference in a new issue