Vesta Backup

Vesta agents

The Go agent integrates Vesta with libvirt or KubeVirt. Build commands run from this directory. Use the Go toolchain selected by go.mod and access to the public Go module proxy or a locally prepared module cache.

libvirt build

Use a Linux host with a C compiler, pkg-config, and libvirt development headers installed. The Alpine build uses build-base, ca-certificates, libvirt-dev and pkgconf.

mkdir -p bin
CGO_ENABLED=1 go build -trimpath -buildvcs=false -tags libvirt \
  -o bin/vnbui-agent-libvirt ./cmd/vnbui-agent
CGO_ENABLED=1 go test -tags libvirt ./...

A real libvirt backup needs the native backup interfaces and compatible QEMU and libvirt versions, verified TLS and credentials, plus local service permissions, durable state and storage.

KubeVirt build

make build-kubevirt
go test -tags kubevirt ./...

A real KubeVirt backup needs compatible backup and export APIs, restricted cluster access, adequate scratch and backup storage, and a tested restore path for the particular cluster. The provider build and tests run without a live cluster. Their success does not establish an OpenShift or KubeVirt support matrix.

The local quickstart exercises the web console and API without connecting an agent. Test backup and recovery separately against the provider and storage versions in your environment.