mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
docs/vmbackup.md: remove the unneeded -storageDataPath command-line from the example for making server-side copy of the backup
This commit is contained in:
parent
95222b2079
commit
b92c9a045d
1 changed files with 6 additions and 5 deletions
|
@ -93,13 +93,14 @@ when backing up large amounts of data.
|
|||
* Run the following command once a day:
|
||||
|
||||
```sh
|
||||
./vmbackup -storageDataPath=</path/to/victoria-metrics-data> -origin=gs://<bucket>/latest -dst=gs://<bucket>/<YYYYMMDD>
|
||||
./vmbackup -origin=gs://<bucket>/latest -dst=gs://<bucket>/<YYYYMMDD>
|
||||
```
|
||||
|
||||
This command creates server-side copy of the backup from `gs://<bucket>/latest` to `gs://<bucket>/<YYYYMMDD>`, were `<YYYYMMDD>` is the current
|
||||
date like `20240125`. Server-side copy of the backup should be fast on most object storage systems, since it just creates new names for already
|
||||
existing objects. The server-side copy can be slow on some object storage systems such as [S3 Glacier](https://aws.amazon.com/s3/storage-classes/glacier/),
|
||||
since they may perform full object copy instead of creating new names for already existing objects. This may be slow and expensive.
|
||||
This command makes [server-side copy](#server-side-copy-of-the-existing-backup) of the backup from `gs://<bucket>/latest` to `gs://<bucket>/<YYYYMMDD>`,
|
||||
were `<YYYYMMDD>` is the current date like `20240125`. Server-side copy of the backup should be fast on most object storage systems,
|
||||
since it just creates new names for already existing objects. The server-side copy can be slow on some object storage systems
|
||||
such as [S3 Glacier](https://aws.amazon.com/s3/storage-classes/glacier/), since they may perform full object copy instead of creating
|
||||
new names for already existing objects. This may be slow and expensive.
|
||||
|
||||
The `smart backups` approach described above saves network bandwidth costs on hourly backups (since they are incremental)
|
||||
and allows recovering data from either the last hour (the `latest` backup) or from any day (`YYYYMMDD` backups).
|
||||
|
|
Loading…
Reference in a new issue