📚 Browse docs

Replication & recovery operations

The Guests page (in the sidebar) is the heart of Asternodis: enroll guests for protection, watch their recovery objective, and run every recovery operation. One list holds every guest this site protects and every guest it recovers for another site. Click a guest and it opens as a panel over the list, with its own tabs (Overview, Recovery points, Network, Health, Recovery profile and Activity), so the list keeps its search, filters and scroll position underneath. The old addresses still work: /replication opens the Guests page, and /replication/<id> opens that guest’s panel.

Find a guest

The search box above the guest list (Name, VMID or pair) filters the whole list: the guests this site protects and the guests it recovers for another site (see Recovery operations). Type any part of a guest’s name, its VMID, or its pair’s name; with several words, a guest must match every one (web 101). The checkbox in the table header and the batch actions act only on the guests the search shows. The Search or run
 box at the top of the sidebar (also ⌘K) finds a guest from any page.

Three more controls narrow the list. When this site both protects guests and recovers guests for another site, a Which guests switch offers All, Protected here and Recovered here. The filter chips show All, Needs attention, In progress, Failed over, In a DR test and Paused, each with a count. Group by can group the rows by Pair, Plan, Node or Recovery storage. The columns are Guest, Protection (the state, plus the most pressing flag, with a +N tag for the rest), Copy age (measured against the guest’s RPO), Recovers as (the addresses a failover would give it) and Last DR test.

The guest panel

Clicking a guest opens its panel over the list (Esc, a click outside it, or the close button returns to the list). The header shows its state (for example On target, Syncing, First copy running, RPO breached, Failed over, In a DR test, Paused, or Anomaly, paused), whether the copy can be recovered from, its VMID, type and pair, the operation buttons described under Recovery operations, and a More menu. The tabs are:

  • Overview: Can this be recovered right now?, a checklist with a verdict of its own; the notices that need a decision (a failed sync with Sync now and the fix that fits, an anomaly, a drift review, a stopped agent, a DR test running, a move prepared); the Replication block with Sync now, Pause or Resume, and a bar chart of the data sent by each of the last cycles; the settings RPO target, Recovery node and Recovery storage, and the Transport; and a Details fold with the replication status, live metrics, Recovery-point consistency, the Recovery replica, and About this guest. Details opens by itself when something in it is a live problem.
  • Recovery points: the retained points, described under Recovery points & point-in-time recovery.
  • Network: how this guest is addressed and networked in a failover and in a DR test: each NIC’s recovery address (the pair’s default or a rule of its own, with Detect addresses to fill them in), a VLAN per NIC, and Outbound block in a DR test (Off, Block ports or Block internet). The rules are the ones on the Networking page, applied to this one guest. Admins edit it.
  • Health: the guest’s recovered-copy checks. Each check has a type (tcp, http or agent), a target and a timeout in seconds; + Add check adds one and Run now probes a recovered or DR-test copy that is already up (it is held, with the reason, when there is none). A recovery plan’s readiness gate runs the checks between stages; a plain failover or DR test does not wait on them. http and tcp checks reach the guest only if its NIC is mapped to a network that can reach it, and the tab warns when a check’s target IP will not match the address the guest comes up on. Admins edit the checks; others see how many there are.
  • Recovery profile: how the guest comes up at an undersized recovery site: Recovery RAM (MiB), Recovery vCPU, Recovery priority (higher comes up first in a site failover) and Recovery VMID (with Find free VMID), for a hub whose sites reuse the same VMIDs. Blank or 0 means what the source has. Power on after recovery is chosen on each failover, not stored here. Admins edit it.
  • Activity: Operations (every operation on this guest at either site, each opening its live page), Run history (each sync cycle: when it started, its status, and the data it shipped, with a full seed tag on a whole-disk run and a capture sync tag on the short second sync of an application-consistent point) and Configuration changes (the audit-log entries for this guest, admins only).

The More menu holds Sync now, Pause replication or Resume replication, Open the other site’s console (when the other site has shared an address), Move to the other site, Reset config baseline, Re-seed the replica, Repair the guest’s filesystem and Fix guest agent (the last two only when the guest needs them), and Stop protecting. Each is disabled, with the reason, when it cannot run right now. The Guests page’s own More menu (top right) holds the page-level tools: Alerting, Anomaly detection, Preflight node (installs any missing Asternodis tooling on the recovery node), Hub capacity (sums the recovery requirements of every guest replicating to this site), Restore from a backup, Manage PBS sources, shortcuts to Networking and to retention and placement in Settings, and the two whole-site operations.

Settings you change here save on their own: a dropdown applies when you choose, a typed field when you leave it or press Enter, with a spinner and then a check beside it, and a floating Not saved bubble with Try again if a save fails. Changing the Recovery node or Recovery storage asks first, because the second re-seeds the replica. Everything that is an action (Sync now, Run now, Fix disk cache) stays a button.

Protect a guest

Protect guests, at the top right of the Guests page, opens a guided flow in three steps (Choose guests, How, Review). It is available to operators and admins, and it is held (with the reason in its tooltip) while there is no site pair or while the license is locked.

  1. Choose guests asks “What should be protected?” and lists the guests on the pair’s source site that have no replica yet. With more than one pair a Site pair picker comes first, because the pair decides which guests are listed. Search the list, tick guests, or use Select all (it reads Clear once everything is ticked). A guest that is protected already is greyed out and marked Protected. A guest with a kept replica (left behind when it was unprotected) says so on its row: protecting it again resumes on that replica and keeps its recovery points. If the list of kept replicas could not be read, or was read with gaps, a note says so. Continue is held until you have ticked at least one guest.
  2. How asks “How should they replicate?”. The fields are Site pair, RPO target, Recovery node (Auto, by capacity or a named node) and Where the replica lives (the pair’s default or a named storage). The choice applies to a guest’s first copy; a guest with a kept replica resumes where that replica already is. Each can be changed later on the guest. Choosing the node or the storage needs the Admin role; an operator protects to the defaults. The RPO target is how far behind the recovery copy is allowed to fall, from 1 minute up to 1 hour (15 minutes is the starting choice), and applies to every guest you ticked. Asternodis replicates continuously toward that target on any storage backend. This step also carries two notes when they apply: the pair’s network-check note, and the license protected-node warning below.
  3. Review says “Ready to start.” and lists the guests, the site pair and the RPO target. Its button reads Protect N guests. The guests keep running; the copy starts at once. For a guest with a kept replica the step repeats what protecting it again will do. The button waits until the kept-replica check has answered, so that note is on screen before you start.

Replication is storage-agnostic: whether your guests live on ZFS, Ceph, LVM (thin or thick), or a directory, the same protection model applies. Open a guest’s panel for its per-VM replication history, health, and settings. Tick several guests in the list and the bar at the bottom offers Sync now, DR test, Pause and Stop protecting for all of them at once rather than one at a time. A DR test on several guests asks first, with the count, and starts at most four at a time, each as its own operation. Anything a batch leaves out (a guest this site does not protect, one that is failed over or already paused, one with no recovery copy yet) is named with its reason, never counted away.

On a license with a protected-node allowance, protecting a guest on a node that has no protected guests yet is refused once the allowance is full; the How step warns about it up front. See Node allowance.

Where the replica lives

Each protected guest’s recovery copy (its shadow) can be placed on any storage at the recovery site: a directory, NFS or CIFS share, or a native ZFS, LVM-thin, or Ceph/RBD volume. Set a default for the whole pair (chosen when the pair is created or joined from the recovery site), or override it per guest: Where the replica lives in the Protect flow for a guest’s first copy, and the Recovery storage field on the guest’s Overview afterwards. Either way replicas land where you have capacity instead of on the node’s root filesystem. The picker checks what a candidate storage actually sits on rather than just its name, so a thin pool that shares the node’s boot disk (the case on a default Proxmox install, where local-lvm and local are the same volume group) is flagged too, not only local itself. On block pools (ZFS, LVM-thin, Ceph/RBD), recovery points are captured as native snapshots. Ceph/RBD also works as a source storage: a guest whose disks live on Ceph is protected the same way as one on any other backend. Thick LVM and iSCSI storages can’t hold a VM replica (the storage picker marks them cannot hold a VM’s replica), though a VM whose disks live on them can still be protected. A container replica can land on them: it is stored as an ext4 filesystem inside a qcow2 image on a thick logical volume.

See every replica across your sites, and reclaim orphaned ones, on the Storage page (under Set up in the sidebar).

Replication mode. By default Asternodis uses its universal storage-agnostic engine on every backend. For ZFS-to-ZFS pairs, an optional native ZFS send/receive mode is available as an experimental feature (enable it under Experimental in Settings).

One caveat: CIFS/SMB source disks need cache=writeback

This is about the disk your protected guest runs on, not where the replica lands.

Proxmox opens a CIFS/SMB-backed disk with its cache mode set to none (direct I/O) by default. Copying a running guest’s disk on that path is not coherent with what the guest is writing: the copy finishes and every layer reports success, but the replica’s filesystem journal comes back invalid and the recovered guest will not boot. Nothing downstream can detect it, because nothing downstream was told anything went wrong.

So Asternodis refuses to replicate that combination rather than hand you a replica that looks fine until the day you need it. The refusal names the guest and the exact disks, and the guest’s panel offers a one-click Fix disk cache button (in the Last sync failed notice on its Overview) that sets cache=writeback and leaves every other disk option alone.

Two details:

  • The guest is not rebooted for you. Proxmox stores a disk-option change on a running guest as pending, so it takes effect at the guest’s next stop/start. Choosing when to bounce a production VM is your call. Replication stays refused until then.
  • Stopping the guest is also a fix. A stopped guest is seeded offline, which is safe on any cache mode.

This affects VMs only. Containers on CIFS replicate by file sync rather than a block copy, so they are unaffected. Other file storage (a directory or NFS) is unaffected too: Proxmox does not default those to direct I/O.

Watch the initial sync

A guest’s first sync is a full seed and can take a while over the wire. The guest’s panel shows it live (under Replication) as a progress bar with percent, transfer rate, and ETA, sized to the guest’s actual allocated data, not its (often much larger) provisioned size. Every sync after that ships only changed blocks and is near-instant.

In the Guests list the guest reads First copy running, with the percentage in the Copy age column. The guest keeps running normally throughout: its console and Proxmox tooling stay reachable even during that first full seed, so replication never locks you out of a VM.

A seed can run for many hours. While bytes move, the source tells the recovery site every fifteen minutes that the transfer is still alive, so the guest keeps reading as Syncing and a failover is still refused mid-transfer. A transfer that has stopped reporting for six hours is treated as left over from a crash and stops counting. If either site is on an older version the reports do not arrive, and the six hours are measured from the start of the transfer.

Hardware and files tied to the source host

Some parts of a VM’s configuration name something on its own host: a PCI device passed through (hostpci), a USB device pinned to a host port, a hook script on the source’s storage (hookscript) and raw QEMU args. A failover copies these lines into the recovered guest unchanged, so the recovery host needs the same device or file, or the guest may not start there or may start without it. A disk passed through from the host (a /dev/... path) is not a volume, so it is not replicated and the recovered guest has no such disk. Asternodis changes none of this at failover; it tells you in advance. The guest’s row in the list, its panel and the confirm steps of the operations that boot a copy at the recovery site list each item, and the step log of a failover or test records which lines were copied and which disk was left out. Check them against the recovery site, or remove what the guest does not need.

Containers (LXC)

Asternodis protects LXC containers at full parity with VMs: replication, non-disruptive DR testing, failover with re-IP, failback, and retained recovery points. A few details are container-specific, and Asternodis handles them for you:

  • How they replicate. A container has no hypervisor block layer, so Asternodis replicates its root filesystem incrementally, on every backing: ZFS, LVM-thin, Ceph/RBD, or a directory, NFS or CIFS share. Either way the recovery copy lands on ZFS at the recovery site, so testing, failover, and failback behave exactly as they do for a VM. This is automatic: there’s nothing to choose, and the CIFS cache caveat above does not apply to containers.
  • Application-consistent without an agent. Containers are made application-consistent by briefly quiescing them on the host, with no in-guest software involved. Where a point can’t be quiesced, it is clearly marked crash-consistent, with the reason recorded on the point.
  • Re-IP on recovery. A recovered container is re-addressed by rewriting its network configuration directly, so re-IP and network mapping work without cloud-init or a guest agent.
  • Failback, including to another node. With no dirty-bitmap reverse lane, a container returns home by shipping the ZFS delta accumulated at the recovery site back to the source (a full reseed only if no common base exists). As with a VM, a container on ZFS can also be failed back to a different healthy node at the home site, where the failback flow offers it (its Where to step).

The boot-time fsck and bootloader self-heal described below is VM-specific; a container’s recovery point is application-consistent by default, and crash-consistent only where the container could not be paused.

Reset config baseline and Re-seed replica

Two actions in the More menu of a protected guest’s panel (and the guest’s row) look alike and do different things:

  • Reset config baseline records the guest’s current Proxmox configuration as the reference that drift detection compares against. It copies no data. Use it after you changed the guest on purpose (more memory, a new disk) and the drift flag (Drift N in the list, Configuration drift on the Overview) should stop pointing at it.
  • Re-seed replica (the menu entry reads Re-seed the replica) releases the guest’s replica on the recovery site and copies the whole disk again from scratch, right away. Every retained recovery point of that guest is destroyed with the old replica. Use it when the replica is known to be diverged or corrupt. The guest keeps running; the copy shows in the seed indicator like a first seed.

Changing a guest’s Recovery storage (on its Overview) does the same release and re-seed, onto the new storage, and starts it immediately from whichever site you changed it on. It asks first. Changing the Recovery node next to it asks first too, and copies no data.

Stop protecting a guest

Stop protecting, in a guest’s row menu or its panel’s More menu (or Stop protecting in the bar over several selected guests), ends its replication. The guest keeps running at its home site. The confirm asks what happens to the guest’s replica on the recovery site, and says how many recovery points it carries:

  • Also delete the DR replica (ticked by default) removes the replica and every recovery point with it, and waits for that count before it can be pressed. This cannot be undone: protecting the guest again seeds it from scratch.
  • Untick it to keep the replica. It stays on the recovery site as a kept replica, listed on Storage, and its recovery points stay tracked. While it is kept, no new points are taken and none are pruned.

When you stop protecting several selected guests at once, the question is a choice between Keep the DR replicas and Delete each DR replica plus its retained recovery points (the question names how many), with neither chosen for you: the button stays held until you pick one. A guest that is failed over is refused (the question names it): fail it back or abort the failover first, because stopping protection drops the recovery target that failback needs. Each guest runs as its own operation, and you can follow it from Operations.

Protecting the same guest again resumes on its kept replica and keeps those points. The Protect guests flow names a guest that has one, on its row and again on the Review step. A virtual machine is seeded over the kept replica in place. That needs room for the rewrite, up to about one more copy of the guest’s disk, and the extra space stays in use until retention prunes the older points or you delete them. A container is brought up to date file by file.

Deleting a kept replica on Storage destroys its recovery points too, and the confirm names them before you agree.

Recovery points & point-in-time recovery

Asternodis keeps multiple retained recovery points, not just the latest, so you can roll back to a known-good moment. Points are integrity-checked at capture and application-consistent by default: the guest is quiesced around each capture, and any guest that can’t be falls back to crash-consistent on its own, with the reason recorded. It is a site-wide switch under Settings with a per-guest opt-out (the Recovery-point consistency field under Details → Replication settings on the guest’s Overview: follow the site setting, always quiesce, or never quiesce this guest).

Older points are pruned automatically on a grandfather-father-son (GFS) schedule (keep the last N hourly, daily, and weekly points), so history stays bounded without manual housekeeping. Manually captured points are always kept. Tune the schedule, or turn auto-deletion off entirely, in Settings; the policy is instance-wide and synced across the pair.

Recovering to a point

There are two ways to put a guest back onto an earlier point, and they differ in where the guest ends up running:

  • Restore in place rolls the guest back on the primary, where it already runs. No failover, no site change, and no second operation afterwards to undo one.
  • Recovering to a point is a failover with that point chosen: the guest comes up at the recovery site from that moment rather than from the latest replicated state, and comes home later via failback.

Open the guest’s panel and choose its Recovery points tab (it shows how many points there are; ?modal=points on the guest’s address opens it directly). The head of the tab sums the list up (how many points, back to which day, how many application-consistent) and has + Take a point now, which captures a manual point on demand. Rows are grouped by day, and each row’s actions sit behind its 
 button (More for this point). Three of them are the actions the decision needs:

  • DR test boots that point in isolation, on a throwaway clone, with the guest and its replication untouched. Use it to confirm the point is the one you want (that the data predates the incident, and that it boots) before you commit to it.
  • Restore in place rewrites the guest’s own disks at the primary from that point. See Restore in place below.
  • Recover to this starts the real recovery. It opens the failover flow with that point already selected, so every guard the failover path has still applies: the capacity preflight, the split-brain check, force plus a recorded reason where one is needed, and a live step log. Nothing is promoted until you confirm there.

You can also pick a point on the first step of the failover flow, Choose a copy: the same list, chosen at the moment of failover instead of from the points tab. A DR test has the same step.

Points that failed their integrity check are quarantined and cannot be chosen by either route; the refusal names the newest verified point instead. A point whose underlying snapshot has since been pruned or deleted is refused too, rather than quietly falling back to the latest state.

Two consequences to decide on before you start, because both are about the source site’s disk:

  • Data written after the point is not recovered. That is the whole purpose, but it means the gap between the point and the incident is gone.
  • Once the guest is running from that point at the recovery site, Failback flushes that state home, overwriting the home disk. For ransomware or corruption recovery that is the intended ending. If you decide against it, Abort failover returns the guest to its untouched primary disk instead.

From the CLI, the same two operations take the point’s snapshot ID (read it from the Recovery points tab):

asternodis dr test --pair <PAIR_UUID> --vmid <N> --point <SNAP_ID>
asternodis dr failover --pair <PAIR_UUID> --vmid <N> --point <SNAP_ID> --reason "pre-incident restore"

Restore in place

Restore in place rolls a guest back to an earlier recovery point on the primary, the site it already runs at. Nothing fails over, nothing moves, and the guest’s identity, node, addresses and storage are all unchanged. It is one operation with one short outage (a stop and a boot), rather than a failover followed later by a failback.

Use it when the guest itself is the problem and the site is fine: ransomware or mass corruption, a bad upgrade, a destructive change you want to undo. Use a failover instead when the site or the host is the problem: restoring in place needs the primary to be healthy, because that is where the guest is going to run.

Start it from the guest’s Recovery points tab, on the row you want to land on. Asternodis runs a preflight first and refuses with a reason rather than starting something it cannot finish: there must be room for the restore, the guest must be in its normal at-home state (not failed over or mid-operation), and it is VM guests only for now, not containers. Every supported home storage is covered, including directory, NFS and CIFS.

What happens, in order: the guest is stopped, its disks are rewritten from the chosen point, and it is started again on the same node with its original boot order restored. The operation gets its own live page with ordered steps and a step log, the same as a failover (you can reopen it from Operations), and it is recorded in the audit log. You can stop a running restore up until the point where stopping would leave the disks worse than finishing. Past that the button refuses and says so.

Your recovery points are kept. After the swap the replica re-syncs in place (the whole-disk copy is written over the existing replica instead of recreating it), so the point you restored from and the points before it stay available to fail over to. The confirm step says so before you start: how many points are kept, and how much extra recovery-storage space the re-sync needs until retention prunes the points that share the old blocks. If the recovery storage can’t take the re-sync right now it pauses, with a critical resync_blocked alert, rather than destroy anything; and a replica that can’t be re-synced in place is flagged on the confirm step with the loss of its points named, so you can copy out what you need first. The guest’s other recovery sites, if it has any, are asked to keep their points too, and the operation’s log reports each answer. A guest replicated by the experimental ZFS send/receive mode can’t be restored in place, because that would destroy the history it is restoring from.

Two things to decide before you start, because both concern the guest’s current disk:

  • Data written after the point is gone. That is the purpose, but the window between the point and the incident goes with it.
  • The rollback happens on the production disks. If you want to check the point first, run a DR test from the same row: it boots that point in isolation and changes nothing.

Deleting points yourself

Retention handles the routine pruning, but you can also clear points by hand from a guest’s Recovery points tab: one at a time (Delete in a row’s menu), or by selecting many (or all) and choosing Delete N selected. Select N unrecoverable ticks every quarantined point at once. It is the quickest way to reclaim space after a burst of manual snapshots, or to clear out points a re-seed has already invalidated.

To keep a point safe from all of this, Pin it. A pinned point is never pruned by retention and cannot be deleted (singly or in a batch) until you Unpin it, which deletes nothing. It keeps using recovery storage while pinned, and the head of the list says how many points are pinned. A re-seed of the replica still destroys a pinned point, because every point is a snapshot of the replica.

Two things make a bulk delete safe to click. The request is re-checked against the server: every selected point must still belong to the guest and pair the list was showing, so a page left open while something else changed can never delete another guest’s history. Mismatches are reported back per point instead of being actioned. And the delete runs to completion even if you navigate away, so you are never left with half the snapshots gone and their entries still listed. Points already deleted count as success, and every batch is recorded in the audit log.

Continuous integrity scrubbing

A recovery point that passes at capture can still rot later (a flipped bit on disk, a bad block) and normally you’d only find out when you tried to recover to it. Asternodis guards against that by re-scrubbing points in the background over their whole retention life, and each kind of recovery storage is checked in the way it can be proven:

  • ZFS, Ceph/RBD and container points are chain-verified and capture-checked against the storage’s own checksums: a point’s new blocks are read back within minutes of capture, and every point’s full data is re-read on a rolling cycle (target: 24 hours).
  • Directory, NFS, CIFS and LVM-thin points have no storage checksum to read against, so they are measured by digest: Asternodis records a per-chunk digest when it first measures the point, then re-reads it and compares against what changed since. That is a weaker claim, worded as one: it detects change since the measurement, not damage that landed before it.

If the contents have drifted, the point is automatically quarantined (flagged in the points list, with an alert) and can no longer be chosen for a failover or DR test. The points tab shows what backs each point’s check and when it last ran, and Home’s Copies held here card shows whether each lane is keeping up (see Fleet coverage). The result: you fail over to a point whose data is known-good now, not one that was merely good once.

The scrub reads from its own isolated copy of the point, and its reads are rate-capped so they can’t crowd out failed-over guests on the same storage: replication keeps running at its normal RPO, and a DR test can start while a check is in progress. A digest comparison that can’t finish between two captures is held back rather than started. An admin sets the read rate under Settings → Replication limits, in Recovery-point integrity reads.

Verify, on a point’s row, re-runs the integrity check and the guest-filesystem check on demand. Repair now, on a point’s row, runs the same repairing filesystem check the recovery path runs before boot (on a disposable clone of the point, never the point or the live replica), so you can prove a standing filesystem warning is fixable, or learn a point can’t be repaired, without running an actual DR test or failover.

Every row also carries a consistency badge: app-consistent when the guest was quiesced while the point was taken (through the guest agent for a VM, a brief host-level pause for a container), or crash-consistent when it was not (no responsive agent, a container that could not be paused, or app-consistent capture switched off for the site or for that guest), so you can tell at a glance which points a database or mail server would recover from cleanly. The advice shown for a crash-consistent point names the actual reason: an unresponsive agent, a freeze that lapsed, or the site’s Application-consistent points switch or the guest’s own opt-out being off.

Getting told when something is wrong

Asternodis raises alerts for the conditions you would not otherwise notice until you needed the DR copy, among them an RPO breach, a guest that has never completed a first sync (so it has no replica at all), a guest whose agent has gone silent, a wedged QMP monitor, a recovery point that failed its integrity check or its filesystem scrub, a recovered guest that did not boot cleanly, a stalled reverse sync, and split brain. Alerts lists every kind, what it means and what clears it.

They always appear in the Inbox (in the sidebar), which holds the complete list of what is firing, the requests waiting for a second person’s approval, and your silences. There is no notification bell: the Inbox badge counts alerts firing plus requests waiting, and the Operations entry counts operations running. The top of the Guests page shows what is firing and not silenced as one line: the critical alerts are counted with an Open the Inbox button, and advisories are counted too (Details opens every notice in full). Every alert names the guest it is about, says in plain language what the condition means, and links to the page where you act on it, so an alert is the start of a fix rather than a line to go and interpret.

Two actions keep that list meaningful:

  • Silence an alert you have judged and do not want to keep seeing. Silences are listed separately, under the Inbox’s Silenced tab, so a muted condition stays visible as a decision you made, not as a gap.
  • Dismiss one that needs no action.

Both are on an alert’s detail in the Inbox (Silence
 and Dismiss). You can also tick several alerts and press Silence or Dismiss for all of them at once, which is worth having when one root cause lights up a dozen guests and you have already dealt with it. The ones that cannot be dismissed or silenced from there (an anomaly, an audit finding) are named and left alone, because those need a review.

Alerts that resolve themselves need none of this; the actions are for the ones that want a human. To have alerts leave the UI, turn on delivery: Delivery in the Inbox header (or More → Alerting on the Guests page), then set a webhook URL. It is off by default, so nothing is delivered until you configure it. Send test in that dialog makes one real POST of a sample alert (status: "test") to the URL as entered. Prove the channel before the first breach does; the outcome is shown in the dialog and recorded in the audit log. The test is a single attempt, so an endpoint that only answers on a retry shows up as a failed test; real deliveries retry, as below.

  • One webhook, any receiver. The payload is a fixed JSON document (event, status, kind, vmid, name, detail, timestamp), so ntfy or a script of your own can take it directly; Slack, Teams and PagerDuty each expect their own format, so put a small relay in front of those. There is no built-in email. Point the webhook at whatever already pages you.
  • Real deliveries retry: up to three attempts, with a short backoff between them. If all three fail, the failure is written to the audit log as alert_delivery_failed and the alert is tried again later, after one minute, then two, four, eight and sixteen, and every thirty minutes after that, for up to a day. The retry state is stored, so a restart does not reset it, and an outage longer than half an hour still gets its alerts through once the webhook is back. After a day of failures the alert is given up on, with a last alert_delivery_failed line that says so. That line is worth a periodic look because a webhook that started 404ing after an endpoint change otherwise looks exactly like a quiet week.
  • Alerts resolve themselves when the condition ends, and any that need a human judgement can be dismissed from the Inbox.

Check it end to end. Point the webhook at your receiver, then breach an RPO on a test guest (pause its replication and wait until its last sync is more than twice its RPO old: that is the breach threshold) and confirm the message arrives. An alerting path nobody has ever seen fire is not an alerting path.

Ransomware & corruption guard

Asternodis watches each guest’s replication for the signature of mass encryption or corruption. If a guest suddenly looks mass-encrypted or corrupted, Asternodis pauses replication to preserve a clean pre-attack recovery point instead of overwriting it with the damaged data. Sensitivity, and whether a trip pauses or only alerts, is tuned per site with Anomaly detection: under More on the Guests page, or as the Anomaly detection section of Settings (its Other policies section points to it). Each guest also carries an Anomaly check line under Details → Replication status on its Overview and a flag in the list, saying how fully the detector is watching it.

The baseline rule. The detector judges cycles only after the baseline number of ordinary cycles (at most 29) are among the guest’s last 30 successful runs. It never arms on fewer. Frozen capture halves and seeds take a row and do not count, so a guest whose window holds too few ordinary cycles stays unarmed, and the page says so: the guest’s anomaly check reads Anomaly check: not evaluating and explains that the detector is still learning the guest’s normal change rate, with how many ordinary cycles it has against how many it needs. In the guest’s Run history, a seed is tagged full seed and a frozen capture half capture sync, so you can see which rows count.

One trip shape is handled differently under the default policy. A change that is equally consistent with a routine retrim (Windows Optimize Drives, or fstrim, on a guest whose disks have discard enabled, shipping no more than the free space could explain) cannot be told apart from an in-place rewrite by its size alone, so it is downgraded to alert-only: the anomaly and its alert are still recorded, the capture hold below still applies and the points from before the detection stay protected, but replication keeps running. On such a guest the review button reads Mark reviewed, not Resume replication, because nothing was paused. The guest’s state reads Anomaly, alert only instead of Anomaly, paused. A trip that discard cannot explain, or that is larger than the free space could account for, still pauses.

Pausing the source is only half of it, because the recovery site keeps its own schedule. While an anomaly is under review, that site holds its retention work too:

  • No new recovery point is captured for the guest, so the suspect state is never recorded as though it were a recovery option.
  • Nothing older than the detection is pruned. Your last clean points cannot age out of the grandfather-father-son schedule while you are still deciding what to do.

Both resume automatically the moment you acknowledge the anomaly.

Reviewing one (the Review anomaly tag in the guest’s panel header, or the button in the red notice at the top of its Overview, which also has See the clean points) shows the evidence behind the flag and the detection time, and offers the three ways out. Restore in place is usually the one you want: pick a point from before the detection time and the guest rolls back where it already runs, with no site change. Fail over to a pre-detection point instead if you also need to move off the primary. Or acknowledge and resume (Resume replication) if you have decided the burst was legitimate. A guest with a known, recurring benign pattern can be exempted individually (Detect but don’t pause, for this guest), with a required reason, instead of only being able to loosen detection for the whole site.

Dismiss and Silence refuse an anomaly alert and point you at Review anomaly: resuming a paused guest’s replication is a decision, never a side effect of clearing a notification. To resume protection, review the anomaly and choose restore in place, fail over, or acknowledge and resume above.

Catch a frozen guest

Replication health is not the same as guest health. If a guest’s OS freezes or crashes, its VM process keeps running and its disk stops changing, so replication keeps succeeding on a static image and the guest’s RPO stays green. None of the usual signals go red, and a dead guest can hide behind a healthy-looking dashboard for days.

Asternodis closes that blind spot. It watches each running guest’s QEMU guest agent and, when the agent has been unreachable for more than a few minutes (with a debounce so an ordinary reboot doesn’t trip it), raises an agent-unreachable alert, independent of RPO. The alert clears on its own the moment the agent answers again.

When it fires, a one-click Fix agent button appears on the guest (in the Guest agent stopped answering notice on its Overview, and as Fix guest agent under More). It works in two steps and stops as soon as the agent answers:

  1. Re-plug the agent channel, no reboot. It ejects and re-inserts the guest’s virtio-serial agent port (a QEMU device_del then device_add on the running VM) and waits for the agent. A guest whose agent service was only missing its channel starts the service itself. Nothing is rebooted, the guest keeps running, and replication stays incremental.
  2. Reboot, only if the re-plug did not work. It tries a QMP reset first, which keeps replication incremental, and falls back to a full power-cycle only if the monitor can’t be reached, then waits for the agent to respond.

Under an unreviewed anomaly, Fix agent never reboots. A reboot throws away the running state an investigation needs. For a guest held by the ransomware and corruption guard, it re-plugs the channel and stops there, unless you tick the acknowledgement that allows the reboot. Like failover and failback, Fix agent stays available even under an expired license.

Automatic re-plug. You do not always have to press the button. If a guest’s agent had been answering and then has been silent for 5 minutes, the controller runs step 1 by itself, once per outage (a new outage, or a controller restart during one, can trigger it again). It skips a guest that has a replication cycle or an operation running, and it also covers guests whose replication is paused. What it does to a running VM is hot-unplug and re-plug the agent’s serial port, and nothing else: no reboot, no stop, no disk change. It never reboots; step 2 is only ever taken by Fix agent. It does not touch the guest’s agent service either: giving a Windows guest’s agent service a recovery policy, so it restarts itself, is done only by Fix agent. Each attempt is recorded in the audit log as agent_auto_replug, with whether the agent came back. There is currently no setting to turn it off.

Recover from backups too

Beyond live replication, Asternodis can recover from Proxmox Backup Server and other backup-capable storages (directory, NFS, CIFS): a fallback path when you need to restore from a backup rather than a replicated point. On the Guests page it is Restore from a backup (under More, and as a card lower on the page) and Manage PBS sources (admins) to register a datastore by name, though storages are detected on their own; a registered source also gets a Browse and restore button. The restore is a two-step flow, Backup then Where: pick the backup storage, optionally filter by VMID, List backups, choose one, then give the Target VMID, an optional Target storage, and for a VM optionally a pair’s network map. Overwrite if the VMID exists and Start after restore are switches; the guest is restored stopped unless you ask for it to start. These entries appear only when this site recovers guests for another site or a PBS source exists. The same restore is also on the Restore from a backup tab under Recover (see Recovery plans).

Boot-time filesystem self-heal

A guest without the QEMU guest agent is captured crash-consistent (the equivalent of pulling the power), so its filesystem can need a journal replay or minor repair before it will boot cleanly. Asternodis can do that repair for you: on failover (the Auto-repair filesystem & bootloader before boot option, on by default) and automatically for every DR test, it runs an offline fsck and, if the bootloader is missing, an offline GRUB reinstall before the guest starts.

This is safe because it always runs on a throwaway clone of the recovery point, never the point or the live replica: a bad repair is discarded with the clone and your protected data is never touched. It turns a crash-consistent capture that would otherwise drop to a repair or GRUB-rescue shell into a guest that just comes up. (Encrypted volumes, ReFS and ZFS members are skipped with the reason shown, never failed. Beyond ext4 and XFS, a recovery also checks FAT, NTFS, btrfs and the filesystems inside a guest’s own LVM volumes, and repairs what has a safe offline repair; a Windows NTFS volume is replayed and marked so Windows runs its own chkdsk at first boot, and btrfs is checked but never repaired offline. The extended repairs are on by default, with a per-site switch under Settings.) The health scrub also flags a guest whose filesystem looks dirty ahead of time, so you know before you need to recover. Pre-boot self-heal runs for a guest whose recovery replica is on directory, NFS or CIFS storage as well as on a native volume.

Automatic guest-agent install

A missing or unresponsive guest agent is the most common reason a point comes back crash-consistent instead of application-consistent (the others are the site’s Application-consistent points switch and the guest’s own opt-out, above). Asternodis closes that gap itself: a recovered Linux or Windows copy with no working agent gets one installed before boot, on the same throwaway clone the filesystem self-heal uses (on by default, for every DR test and failover, with nothing for you to do). Failback carries the installed agent home with the rest of the disk. There’s an off-switch in Settings for anyone who wants recovered copies left exactly as captured.

Separately, Install agent beside Guest agent:, under the settings on a guest’s Overview (it opens the Install guest agent operation) installs the agent into the live guest at its home site, not a recovered copy: either a brief restart (the guest’s disks are edited offline the same way, then a full re-copy runs since the restart resets change tracking) or a live install over SSH with no downtime.

Recovery operations

The Guests list includes the guests this site recovers for another site (the Recovered here rows), for every pair that uses this site as its recovery site, including on a site that is the primary of another pair. A guest this site protects is not repeated: it is one row, and you run its operations from its panel. The buttons in a guest’s panel header depend on its state: DR test and Fail over
 normally; Stop test and Fail over
 while a DR test copy is up; Fail back and Abort failover once it is failed over; Commit move and Roll back while a move is prepared. A button reads View progress while its operation is already running, and never starts a second copy. They are disabled, with the reason in the tooltip, for a viewer, and until the guest has a recovery target (it appears once the first seed lands a replica at the recovery site). A recovered row also carries its main action on the row itself. Each operation opens as a guided, full-screen flow of its own, one decision to a step, and the last step is the one that starts it:

  • Fail over (one guest): Choose a copy, Check it fits, Confirm. A single-guest failover does not ask you to type anything to confirm.
  • DR test: Choose a copy, Network, Confirm.
  • Fail back (one guest): Where to, Is it safe, Confirm.
  • Abort failover, a planned move (Move to the other site, Commit move, Roll back) and Stop protecting: Check, then Confirm.
  • A whole site, Fail over entire site and Fail back entire site: Which site (only when there is more than one pair), Review, Confirm. Whole-site failover asks you to type FAIL OVER exactly (upper case) before the button works, unless two-person approval is on, in which case the button files a request and nothing runs until a different operator approves. Whole-site failback asks you to type the site’s name (case does not matter). A recovery plan’s failover asks you to type to confirm too (see Recovery plans).

From the guest’s panel, the list and the sidebar you drive, per guest or pair:

  • Failover: bring guests up at the recovery site. Before it starts, a go/no-go preflight checks, per guest, that the recovery node can host it (memory, vCPU, storage, machine type) and that every NIC lands on a network bridge that exists on the node that will run it. A target bridge that doesn’t exist there, Linux or Open vSwitch, is a definite failure, not an unverified maybe, and a check that couldn’t get an answer is reported as unverified, never as a pass. A preflight that fails, or couldn’t run, never blocks a recovery, but you acknowledge it first (Fail over anyway?) on every route: one guest, a recovery plan, a whole site, a planned move (on the Check it fits step the box reads Fail over anyway); warnings alone need no acknowledgement. asternodis dr failover prints the same verdict. If a VM’s EFI firmware or TPM state can’t be restored, the step log names which step failed and why. The same is true of a DR test and of failback to a chosen node. If the guest’s destination VMID already holds a VM, the flow says so (on Check it fits) before you start. A stopped DR copy of this very guest from an earlier failover or abort is offered with a tick to destroy it (disks included) and rebuild over it; DR copies are never deleted for you, so the tick starts off. Asternodis only destroys a VM it can show is that guest’s own failover copy (it carries the failover marker and the guest’s own tag, and the same pair’s tag when it has one). A stopped Asternodis VM that is not shown to be that, such as a DR-test copy, a restore scratch, another guest’s copy or a copy with no guest tag, is reported with no tick and is refused whatever you choose, as is a running DR copy or a VM with no Asternodis tag. For those, remove the VM in Proxmox once you have confirmed what it is, or give the guest a different recovery VMID on its Recovery profile tab. A planned move’s commit follows the same rule.

  • DR test: boot replicated guests in an isolated network to prove recovery without touching production or pausing replication. Its first step lets you pick which copy to boot (the newest, or any recovery point). The test copy keeps running until you press Stop test, so clean up test VMs when done; a failover is never held up by a running test. A guest’s Overview says A DR test copy is running as VMID N and whether its outbound block is in place. Select several guests and use DR test in the bottom bar to test them in one go.

  • Recovery points / health: inspect points on the guest’s Recovery points tab and run readiness checks from its Health tab (see below).

  • Planned migration (Move): a graceful, near-zero-downtime cutover to the other site. Start it from More → Move to the other site in the guest’s panel (or its row menu): it stops the guest at its source and ships a final delta (Move prepared), then Commit move brings it up at the recovery site, or Roll back restarts the source and resumes replication. It is a VM operation: it is shown disabled for a container, with the reason, and it is not offered while a test is running, a move is already prepared or the guest is failed over.

  • Failback: after a failover, return the guest to its home site. While it runs at the recovery site, Asternodis reverse-replicates changes back to the primary continuously, so failback applies only a small delta and is near-instant. Forward protection then resumes on its own once the guest is home. That speed depends on the copy running: a live guest is what lets Asternodis track its changed blocks. Fail over with Power on unchecked, or stop the DR copy afterwards, and there is nothing tracking changes: the copy is safe and nothing is lost, but proving the two disks match means reading and comparing the whole disk, so that failback takes as long as a whole-disk read rather than seconds. If the original home node is overloaded, full, or gone, you can fail a guest back to a different healthy node in the same source cluster instead, where the failback flow offers it (its Where to step). Which route a guest gets depends on where its disks are, and Asternodis reads that from the source before anything is touched, so the node picker says up front what is open and why not. A guest whose disks all sit on storage only its home node can read (a non-shared ZFS pool, node-local LVM-thin, or a local directory) gets fresh disks on the node you pick. That is not the small-delta route described above: for a VM it copies the whole disk and destroys that guest’s retained recovery points when the recovery shadow is rebuilt against the new disks, however caught up the reverse sync was. The failback flow says so before you commit; export or recover anything you need first. A VM whose disks all sit on storage both nodes can see (shared storage such as Ceph/RBD or NFS) is moved instead: nothing is copied, the reverse sync brings the disk up to date and the guest’s configuration moves to the node you pick, so it costs no more than an in-place failback and keeps its points. Containers can use the route only on ZFS, and keep their points: their DR dataset is promoted into the shadow, so the history survives and forward protection resumes incrementally. Some guests can’t use it at all: one managed by Proxmox HA, a cluster that has lost quorum or has a single node, disks spread across several storages (or across shared and local storage), thick LVM or iSCSI. For those the flow says so: fail back to the original home node, or use Abort failover. For a VM failing back to its original node, the points survive only when forward protection can resume incrementally, which needs a reverse baseline that was proven fast at failover (the planned-failover quiesce described under Settings). The recovery copy’s form does not matter: a copy stored as a qcow2 file (directory, NFS or CephFS recovery storage) gets the same differential resync as a native volume (ZFS, LVM-thin or Ceph/RBD): the failback ships only the failover delta into the file, with the file’s receiver proven stopped first, and verifies it. A failover whose baseline was not proven (an unplanned, down-primary failover, a point-in-time failover, or a check that was declined), or a fast baseline that was withdrawn afterwards (a failback verify that found the primary’s disk diverged and armed a full rebuild, a forced reverse re-seed, a rollback-home), fails back normally but the first forward cycle afterwards copies the whole disk, which rebuilds the shadow and destroys that guest’s retained recovery points. The failback flow shows a red banner naming which of these applies (and, for a withdrawn baseline, what withdrew it), and the operation log says so again at failback time (“Forward replication will re-seed this guest’s whole disk after the failback (
)”), so there is never a silent loss. A failback that is interrupted after the guest has booted at home (a controller restart, a stalled database) is completed by clicking Fail back again: Asternodis asks the primary whether the guest is already running there and, if so, only finishes the bookkeeping: nothing is copied. If the interruption came earlier, while changes were still being merged into the home disk, the retry says so and asks you to stop the guest first: that merge cannot be applied to a running guest. A guest that was forced live from a replica that had not finished seeding carries that fact until it comes home, and its in-place failback is refused until you acknowledge it separately on the failback flow: that failback would copy a possibly partial image over the primary’s home disk, which is still the last intact copy of the guest. Abort failover returns it to that untouched disk; where the failback flow offers a fresh-disk copy to another node, that leaves it alone too.

  • Which guests fail back in place: a VM comes home by shipping only what changed at the recovery site when its home disks are on ZFS, LVM-thin, Ceph/RBD, a directory, NFS or CIFS file storage, or thick LVM in a volume group that belongs to one node, including LVM on an iSCSI LUN. The last four sit behind In-place failback for non-ZFS home disks in Settings, which is on by default. One shape is refused, and the failover flow says so, on Check it fits, before you fail over rather than after: a thick volume group shared across the cluster (shared 1: a SAN or FC/iSCSI LUN every node sees), because a snapshot there rewrites volume-group metadata every node shares. That guest comes home via Abort failover. (Ceph/RBD with krbd or an RBD namespace was refused here too until recently; it is supported now, for both VMs and containers, by addressing the image in its own namespace and self-mapping a krbd home.)

  • Fail over / Fail back entire site: the two site-wide operations. Fail over a site
, the red button at the bottom of the sidebar (shown to operators and admins), opens the whole-site failover flow from any page. On the Guests page the same two are under More (Fail over entire site when this site recovers for any pair, Fail back entire site while any guest is failed over), and while guests are failed over a line at the top of the page, naming how many guests of which pair, has a Fail back entire site button. Fail over entire site brings up every protected guest of a pair, in recovery-priority waves. Fail back entire site appears while any guest of a pair is failed over and brings them all home, highest recovery priority first, one guest at a time: each failback’s reverse copy works the recovery storage hard, and two at once only slow each other down. Each guest goes through the same steps and checks as its own Failback, with no overrides. A guest that needs one (a promote from an incomplete replica, a home the source cannot fail back in place) or that another operation holds is listed before you confirm, with the reason, and left for you to fail back from its own panel. Stop after current guest lets the guest in progress finish and starts no other. A pair is never failed over and failed back at the same time.

    Before you confirm, Fail over entire site reads the recovery cluster and names every guest whose destination VMID already holds a VM. A stopped DR copy that an earlier failover or abort of that same guest left there is listed under Leftover DR copies, with a choice that starts unticked: Replace the leftover DR copies destroys each of those stopped copies (disks included) and rebuilds the guest over it. DR copies are never deleted for you, and a leftover can hold writes made at the recovery site that exist nowhere else, so check the Storage page first if that matters. With the choice unticked, a guest that has a leftover is refused when its turn comes and shows as failed in the run. Anything else found at a destination VMID (a running DR copy, a VM with no Asternodis tag, or a stopped Asternodis VM that is not shown to be a DR copy of that guest) is listed as well and is refused whatever you choose. The confirm button counts only the guests that will start, so a site with three refused guests reads Fail over 21 guests rather than 24. When the recovery cluster could not be read, the flow says the leftover check did not run (it never reads that as “none”), the button reads up to N guests, and the failover is not blocked. Guests the pair protects that have no completed copy at the recovery site yet are named under Not included; guests already failed over or caught mid-migration are named as skipped, so every protected guest is accounted for. If the primary site cannot be reached to list the not-included ones, the flow says so. A recovery plan’s failover confirm has the same disclosure and choice for the plan’s own guests (see Recovery plans).

  • Abort failover (the guest’s header button once it is failed over): undo a failover that shouldn’t have happened. As long as no reverse changes have been written to the primary’s disk, Asternodis stops the recovery copy and brings the original guest back up on its untouched disk: no flush, no reseed. Once the DR copy has changes worth keeping, use Failback instead. If the guest turns out to be already running at home (an interrupted failback that returned it without recording it), the abort says so and only records it home; it never claims the disk was untouched.

  • Rebuild DR copy: the recovery path when a reverse lane stalls or diverges. One click (or asternodis dr reseed) re-seeds the DR copy from scratch so the next failback has a clean baseline. It replaces the old have-to-edit-the-database workaround. It appears in the reverse-sync panel on the Overview of a guest that is failed over and has a reverse lane, so a VM on any home storage the reverse lane supports, not a container: containers have no continuous reverse lane (their failback ships a dataset differential on demand), and their pages say so instead.

Higher-risk operations can require dual-control (two-person approval) if you’ve enabled it in Settings. The last step then files a request instead of starting the operation (its button reads Requesting
 while it files). The request waits in the Inbox, and on the Guests page a line at the top counts the failover approvals awaiting sign-off, each with Approve and run and Reject. A request must be approved by a different operator than the one who submitted it.

Every operation runs on the server and gets its own live progress page (ordered steps beside the live log, bytes transferred, timing, and any error), reachable from Operations (or a guest’s Activity tab) or directly by URL. You can leave the page or close the browser; the operation keeps going, and it recovers on its own if the controller restarts mid-run. The page offers what to do next (Stop test, Fail back, Commit move, Roll back), Retry after a failure and Done when it finishes.

You can start any of these from either site: Asternodis routes each to the controller that owns it, runs it exactly once, and the progress log names which controller ran it. Even with the primary completely down, the recovery site drives failover on its own. See Driving DR from either site.

Next: group guests into runbooks with Recovery Plans.