Make a consistent backup of VM storage

Take a snapshot, then send it to S3 with vmbackup for a consistent copy. Restore with vmrestore

curl -s http://vm:8428/snapshot/create | jq -r .snapshot | xargs -I{} vmbackup -storageDataPath=/vmdata -snapshotName={} -dst=s3://bucket/vm

tool
victoriametrics2 commands
tags
victoriametricsdiskcloudobservability

More victoriametrics commands

  • curl -s 'http://vm:8428/api/v1/status/tsdb?topN=10' | jq '.data.seriesCountByMetricName'

    Top metrics by series count in VictoriaMetrics. Quickly finds a label explosion

all 2 victoriametrics commands