Repository navigation
v0.1.1
First public release, under the GNU Affero General Public License v3.0 or later. Documentation:
https://certistack.dev/docs/.
Tested with more than 10,000 VM restore tests of 471 different VMs, Windows and Linux, on a 14-node Proxmox VE lab and
standalone hosts. The exact v0.1.1 binary passed the full release set: Active Directory forests, Windows Server 2022, SQL
Server, SMB, Ubuntu, 16 VMs started in dependency order, a batch of UEFI VMs, encrypted backups, PVE 8.4 and PBS 3.x, and
a recovery after a killed run (what was tested).
What it does
- Restores VMs from Proxmox Backup Server into an isolated sandbox on Proxmox VE, checks that their services answer,
removes everything and verifies that nothing is left. A run passes only when its probes passed and its cleanup was
verified. - Maps every backup read-only and boots the VM from copy-on-write overlays, on a sandbox network with no gateway and no
uplink. Your backups and your VMs are never written. - Runs from a controller: a Linux machine or the unprivileged controller image. A short-lived worker does the node-local
work and is removed after each run. A Packer template for a controller VM is included; it has not yet been built
against a live PVE. - Restores disks on every bus, UEFI VMs with their variable store and TPM state, and encrypted backups.
- Boots VMs in dependency order (tiers), reads and checksums every disk once, and holds a run while the node is short
of memory. - Keeps a journal on the node, so
certistack recovercan finish the cleanup of an interrupted run.
Commands
setup: connects the controller to a node and its PBS, asks before every change, and ends withcheck. Later
commands use the environment file it wrote, so they need no--env-file.init: writes a valid first plan from the VMs that have backups, and says what a run of it will read and reserve.
--inspectreads each Linux VM's backup and writes a probe for each service it finds.check,validate,plan,doctor: check the controller, a plan and a node before a run, changing nothing.run: runs a plan and writes the report.report show,verify-report: read a report, and judge whether it is acceptable evidence.schema,inspect,recover,telemetry,version.
Probes
tcp, http and HTTPS, dns, ldap, mssql (including TDS 8.0 strict encryption), smb, and qga commands run
through the QEMU guest agent. qmp and screendump record supporting evidence.
Reports
A report is JSON (schema 1.7) with the outcome, every probe, each disk's checksum, the recovery time, the exact backup
used and the proof of cleanup. The Community Edition writes it unsigned; the Enterprise Edition signs it.
verify-report judges a report against what you expected; a valid signature alone is never a pass.
Supported versions
Proxmox VE 9.x and 8.4, each with PBS 3.x or 4.x, on linux/amd64. Other PVE 8 releases and newer major releases run
with a warning; PVE 7 and PBS 2 are refused.
Privacy
Anonymous usage statistics are opt-in and off by default: five fields, shown by certistack telemetry show, sent at
most once a day after a completed run and never from the PVE node. Clusters are counted by their CA certificate.
DO_NOT_TRACK=1 turns them off outright.
Security
- SSH host keys are always verified, and a plan cannot turn off TLS verification.
- Credentials and PBS client output are kept out of logs, errors and reports.
- Releases are reproducible builds with a GPG-signed checksum list and build provenance.
Known limits
- The controller's SSH key is root on the node, and on every node of a cluster.
- On a cluster, each run reloads the network on all nodes at its start and end; a pre-provisioned sandbox network
avoids it. - The sandbox is one flat network, and probes run from the node's worker.
- One CertiStack operation runs on a node at a time, and the node's clock must be within 10 minutes of the
controller's.
The full list is in Compatibility.
Verify this release before using it: Verifying release integrity. The controller image to pin is the digest in CONTAINER-IMAGE.txt.