mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
docs: sync with master branch
This commit is contained in:
parent
e309b5a83b
commit
cbf545f3af
1 changed files with 1 additions and 18 deletions
|
@ -171,23 +171,6 @@ See [this article](https://medium.com/@valyala/speeding-up-backups-for-big-time-
|
||||||
-customS3Endpoint=https://s3-fips.us-gov-west-1.amazonaws.com
|
-customS3Endpoint=https://s3-fips.us-gov-west-1.amazonaws.com
|
||||||
```
|
```
|
||||||
|
|
||||||
* Usage with official [docker-compose](https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/deployment/docker/docker-compose.yml) `vmsingle` instance:
|
|
||||||
```
|
|
||||||
vmbackup:
|
|
||||||
image: victoriametrics/vmbackup:v1.58.0
|
|
||||||
volumes:
|
|
||||||
- vmdata:/storage
|
|
||||||
- /data:/data
|
|
||||||
command:
|
|
||||||
- '--storageDataPath=/storage'
|
|
||||||
- '--snapshot.createURL=http://victoriametrics:8428/snapshot/create'
|
|
||||||
- '--snapshotName=your_snapshot_name_here'
|
|
||||||
- '--dst=fs:///data'
|
|
||||||
networks:
|
|
||||||
- vm_net
|
|
||||||
```
|
|
||||||
Note that you need to specify `--snapshot.createURL` to make a snapshot.
|
|
||||||
|
|
||||||
* Run `vmbackup -help` in order to see all the available options:
|
* Run `vmbackup -help` in order to see all the available options:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -239,7 +222,7 @@ Note that you need to specify `--snapshot.createURL` to make a snapshot.
|
||||||
-snapshot.createURL string
|
-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
|
VictoriaMetrics create snapshot url. When this is given a snapshot will automatically be created during backup. Example: http://victoriametrics:8428/snapshot/create
|
||||||
-snapshot.deleteURL string
|
-snapshot.deleteURL string
|
||||||
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
|
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
|
||||||
-snapshotName string
|
-snapshotName string
|
||||||
Name for the snapshot to backup. See https://docs.victoriametrics.com/Single-server-VictoriaMetrics.html#how-to-work-with-snapshots
|
Name for the snapshot to backup. See https://docs.victoriametrics.com/Single-server-VictoriaMetrics.html#how-to-work-with-snapshots
|
||||||
-storageDataPath string
|
-storageDataPath string
|
||||||
|
|
Loading…
Reference in a new issue