victoriametrics/vmbackupmanager

Verified Publisher

By Victoria Metrics Inc

Updated 2 days ago

A simple daemon to schedule backups and manage retention for VictoriaMetrics instances.

Image
Monitoring & observability
2

100K+

victoriametrics/vmbackupmanager repository overview

VictoriaMetrics logo

VictoriaMetrics vmbackupmanager

Join our SLACK Community File a Bug on GitHub Source Code


What is vmbackupmanager?

vmbackupmanager is a small daemon designed to run alongside your VictoriaMetrics instance (as a sidecar or separate container) to automate the backup process. Instead of manually running vmbackup, you can deploy vmbackupmanager to periodically create backups on a defined schedule and automatically clean up old ones.

It provides a "set it and forget it" solution for disaster recovery, creating snapshots and sending them to local or cloud storage destinations like S3, GCS, or Azure Blob Storage.

How to Use This Image

docker run -d --name vmbackupmanager \
  -v /path/to/backups:/backups \
  victoriametrics/vmbackupmanager:latest \
  -storageDataPath=http://<victoriametrics-addr>:8428/api/v1/snapshot/create \
  -dst="fs:///backups" \
  -backup-interval="24h"

This example will create a new backup in the /backups directory on the host every 24 hours.

Configuration

  • -storageDataPath: (Required) The snapshot creation API endpoint of the source VictoriaMetrics instance.

  • -dst: (Required) The destination for the backup (e.g., fs:///path, s3://bucket/path, gcs://bucket/path).

  • -backup-interval: The interval between new backups (e.g., 1h for one hour, 24h for daily). Default: 1h.

  • -max-backups: The maximum number of backups to keep. Older backups will be automatically deleted. Default: 0 (keep all backups).

Source Code

The source code for victoria-metrics is available on GitHub: https://github.com/VictoriaMetrics/VictoriaMetrics See https://docs.victoriametrics.com/victoriametrics/vmbackupmanager/

Docker Pull Command

docker pull victoriametrics/vmbackupmanager:{TAG}

Releases and pre-built binaries.

Tag summary

Content type

Image

Digest

sha256:b9b50eb12

Size

29.7 MB

Last updated

2 days ago

docker pull victoriametrics/vmbackupmanager:heads-enterprise-single-node-cpc-0-g6306758ad5

This week's pulls

Pulls:

1,144

Sep 4 to Sep 10