Whatever your usual provisioning workflow is. SSH in, sudo available.
Step 2 — Install the agent (don't enroll it yet; we restore the old identity in step 3)#
BASH
curl -fsSL https://gritiva.com/install-gritiva.sh | sudo bash# (don't run `gritiva-agent setup` — the restored state carries the old VM's identity)sudo systemctl stop gritiva-agent
# Get your last backupscp old-backup-host:/root/backups/gritiva-2026-05-14.tgz .sudo tar xzf gritiva-2026-05-14.tgz -C /sudo systemctl restart gritiva-agent
Within ~60 seconds, the panel should show the VM back online. Scope contents (your application data inside) need to be restored separately — they're in your application backups.
If gritiva.com is down, your existing scopes keep running on each VM (they're independent processes). What's NOT available:
Creating new scopes
Adding domains
Mesh peer changes
Telemetry/dashboards
There is no offline lifecycle CLI: scope create/start/stop go through the panel or the REST API, so they have to wait for the control plane. What you can still do locally on each VM is inspect and hold state:
BASH
sudo /opt/gritiva/gritiva-agent scope-status # local view of every scope on this VMsudo /opt/gritiva/gritiva-agent health # agent's own health checksudo systemctl restart gritiva-agent # last resort if the agent itself is wedged
When the control plane comes back, the agent re-syncs and any drift between local state and desired state gets reconciled.
Rare. Indicates a major bug or a network partition.
BASH
# On each VM:sudo systemctl restart gritiva-agent
On restart the agent re-fetches the entire peer roster from the control plane and re-installs WireGuard configs from scratch. Expect ~2 minutes of full mesh outage during this. Confirm recovery from the panel under Mesh -> your network -> Topology, or: