Trusted by thousands of businesses worldwide

PBS Recovery

PBS Recovery rebuilds a Proxmox Backup Server datastore that was deleted, formatted over, or lost with the pool it lived on, and writes it back out as a clean datastore directory that PBS can verify. It reads the source directly and read-only: one disk or disk image that held the datastore, or the member disks of the ZFS RAID-Z pool that held it, with as many members missing as the parity allows. Every chunk, index, and manifest is proven by the checksums PBS wrote into it before it is placed, so the result contains no guessed data.

$1,200per license, one-time. Card, or cryptocurrency at 10% off. Free trial on request.

Buy now Request a free trial All software

Version 2 · 4.6 MB · Windows · Digitally signed by Datarecovery.com, Inc.

SHA-256: 044091dccc7b9ecd9f4e898f94734ade53f3891817cb1b95093c8a3b9520db13

Not ready to buy? A free trial is available on request: give us your name, company or agency, phone and email, and we send the trial by email. The download starts right after payment, and the link stays in your receipt with your license key. Licensed as is, without warranty. Email support included at no extra cost: help@datarecovery.com, Monday to Friday, 9 am to 4 pm Central. Sales tax is added where required.

PBS Recovery title card: Your backups aren't gone, they're still on the platters. A result panel shows a ZFS raidz2 pool of five members with two rebuilt from parity, 100 percent chunk coverage, five of five chunks present, and a digest-verified snapshot vm/400
PBS Recovery rebuilds a lost Proxmox Backup Server datastore straight from the raw disks, and rebuilds dead ZFS pool members from parity on the way. The result panel is from testing: a raidz2 pool with two of five members gone, every referenced chunk recovered and digest-verified. Click a screenshot to see it full size.

What it does

  • Finds every PBS object on the source by its signature: chunk blobs, fixed and dynamic indexes (.fidx and .didx), and the index.json manifests that describe each snapshot. Nothing has to be mounted, and no file system has to be intact.
  • Proves each object before it is written. A chunk’s CRC32 recovers its exact length, and the SHA-256 digest of its payload gives it its name in the chunk store. Index files carry a SHA-256 checksum that proves both content and length. Manifests are decoded and parsed, and a manifest is matched to its indexes only when their checksums agree.
  • Writes a clean datastore tree: a .chunks store laid out exactly as PBS expects, each snapshot under its backup group and timestamp with the manifest, indexes, and blobs under their original names, an owner file per group, and a separate folder for valid indexes whose manifest was not found.
  • Reports coverage honestly. RECOVERY-REPORT.txt lists every snapshot with the chunks found and the chunks missing, so you know what will verify before you hand the datastore to PBS.
  • Runs as a window or from the command line. The window is for picking the source disks and an output folder and watching the live log. Every operation in the window is also a command, so a recovery can be scripted.
  • Resumes after an interruption. Ctrl-C, a crash, or a reboot leaves a checkpoint, and the next run continues from it after confirming it is the same source disk or image.
Four capability cards: Direct disk plus ZFS RAIDZ with the input mode auto-detected; Read-only and safe with a fail-closed output interlock and resumable scans; Digest-verified integrity, SHA-256 content-addressed so a wrong rebuild is a miss, never fabricated data; GUI plus scriptable CLI
What the program guarantees. It takes one disk, volume, or image, or the member disks of a whole ZFS pool, and detects which it was given. Sources are opened read-only behind a fail-closed interlock, every chunk is checked against its own SHA-256 digest, and everything in the window is also a command.

Two kinds of source, detected automatically

Direct disk. One physical drive, volume, or dd image that held the datastore on an ordinary file system such as ext4 or XFS, or an image that has already been reassembled from an array. The program sweeps it for PBS objects by signature. This mode assumes each file’s bytes are contiguous on disk, which is how ext4 and XFS store chunk files in practice.

ZFS pool. The member disks, or images of them, of a ZFS pool whose RAID-Z vdev held the datastore. The program reads the ZFS labels, works out the pool geometry, rebuilds members that are missing or dead from parity, sweeps the reconstructed pool for the datastore’s files, and follows each file’s real block pointers so the bytes come from where ZFS actually put them. As many members as the parity level may be missing: one for RAID-Z1, two for RAID-Z2, three for RAID-Z3. Single-disk and mirror pools work the same way, and LZ4, zstd, LZJB, and ZLE compression are decoded on the fly.

You select every disk you have and the program picks the mode. A checksum-valid ZFS label, or several labelled members, means pool mode. A lone disk that carries only a stale ZFS label, for example one that was later reused for a plain PBS datastore, is carved directly. And if a pool sweep turns up nothing, the program falls back to a direct carve of the disk on its own.

Three-stage diagram: member disks of a raidz2 pool with two of five lost, a RAIDZ parity rebuild that reconstructs the missing members, and the rebuilt PBS datastore tree with chunks, index, manifest, and RECOVERY-REPORT.txt, digest-verified with zero fabricated chunks
A degraded pool to a datastore PBS can register, in three stages: read the ZFS labels and detect the geometry, reconstruct the missing members from the survivors plus parity, then sweep the reconstructed file system, validate every chunk by SHA-256, and write the datastore tree. Beyond the parity limit, affected blocks are reported as misses, never guessed.

It cannot invent data

PBS names every chunk by the SHA-256 of its contents, and every index and manifest carries its own checksum. PBS Recovery turns that into a safety property: a chunk, index, or manifest is placed in the output only when the format’s own integrity data proves it is correct. A wrong guess about pool geometry or a bad parity reconstruction can therefore only cause a miss, never a fabricated chunk. Every chunk in the output is bit for bit the chunk PBS wrote, and the report’s missing column is the honest measure of what came back.

What you need

  • A 64-bit Windows computer. Disk images open without special rights. Reading a physical drive directly requires an Administrator command prompt or PowerShell session, or running the program as administrator. Imaging a failing disk first is what our own lab does.
  • The source: the disk or image that held the datastore, or every member of the ZFS pool you still have. For a pool, bring every surviving member. The parity count may be missing, but a pool with all members present sweeps completely; see the limits below.
  • Output on a different physical disk, with free space roughly equal to the used size of the original datastore. The program refuses to start otherwise.
  • A Linux machine running Proxmox Backup Server for the last step, where the rebuilt tree is copied onto ext4, XFS, or ZFS and added as a datastore.

How to use it

  1. Download PBS Recovery and run it. The program is a single file and does not require installation. For a physical drive, start it from an Administrator prompt.
  2. Pick the source: one disk or image, or every member of the ZFS pool. The program detects the pool from the labels.
  3. Pick an output folder on a different disk and click Start. Progress and a live log are shown while the scan runs, and an interrupted scan picks up where it left off.
  4. Click Open report when the scan finishes. RECOVERY-REPORT.txt lists each snapshot with its chunk coverage.
  5. Copy the whole output folder to a Linux machine, onto ext4, XFS, or ZFS. In the copied folder, run sh rename-snapshots.sh (NTFS cannot store the colons in PBS snapshot names; the script restores the exact names and is safe to re-run), then chown -R backup:backup .
  6. Register it with proxmox-backup-manager datastore create recovered /path/to/dir and run proxmox-backup-manager verify recovered.
PBS Recovery window, step 1 Source: a ZFS raidz2 pool detected read-only with five members and two missing to be reconstructed from parity; three physical drives selected as members and two absent members marked missing; an output folder on a different physical disk with the interlock verified; the Start recovery button
Step 1, Source. The program read the ZFS labels on the three drives you still have, recognised a five-member raidz2 pool with two members absent, and will rebuild them from parity. The output folder was checked to be on a different physical disk before Start is allowed.
PBS Recovery window, step 3 Recover, at 62 percent: reconstructing the file system and carving chunks, with counters for chunks carved, indexes, manifests, read speed, and elapsed time, and a live log showing the parity reconstruction completing, the dnode sweep, carved blobs with CRC and digest ok, and an index and manifest parsed with checksum ok
The scan in progress. The live log shows the sequence: sources opened read-only, labels read, the two missing members reconstructed from parity, then the sweep that carves each chunk and checks its CRC and SHA-256 digest before it is placed. A scan is resumable from its checkpoint, and unreadable sectors are logged rather than fatal.
PBS Recovery window, Recovery complete: the datastore was rebuilt and written to the output folder and digest-verified; one snapshot, five of five chunks present, 100 percent coverage, zero missing and zero fabricated; the snapshot vm/400 with its drive image index at 100 percent ok; Open report and Open output folder buttons
Done. The summary counts the snapshots and chunks, the coverage, and the missing and fabricated columns. Fabricated is always zero by design, because a chunk is placed only when its own digest proves it; missing is the honest count of what did not come back. Open report shows RECOVERY-REPORT.txt, and the next steps are the copy to a Linux file system and the register and verify commands.

Command line

Everything in the window is also a command, so a recovery can be scripted or run over a remote session.

PBS-Recovery.exe                        open the window (pick disks and output)
PBS-Recovery.exe list                   show physical drives
PBS-Recovery.exe scan --input 2 --output E:\rebuilt                 one disk
PBS-Recovery.exe scan --input D:\images\disk.img --output E:\rebuilt
PBS-Recovery.exe scan --input "2;3;4;5;6" --output E:\rebuilt       ZFS pool
PBS-Recovery.exe scan --input "d0.img;d1.img;d2.img" --output E:\rebuilt
PBS-Recovery.exe finalize --output E:\rebuilt     re-run assembly and report
PBS-Recovery.exe report --output E:\rebuilt       reprint the report
PBS-Recovery.exe selftest                         end-to-end self check, about 5 s

For a ZFS pool, list the member disks or images you have, separated by semicolons, as a single input. Direct-disk scans also accept options for alignment, buffer size, thread count, a start and end offset, a forced restart, skipping the final assembly, and the owner written into each backup group. Unknown options and malformed numbers are rejected rather than ignored.

What comes out

  • .chunks\ the carved and verified chunks, in the two-level layout PBS uses.
  • vm\<id>\<time>\ each rebuilt snapshot with its manifest, indexes, and blobs under their original names, plus an owner file per group (root@pam unless you choose otherwise).
  • orphan-indexes\ valid indexes whose manifest was not found.
  • RECOVERY-REPORT.txt per-snapshot chunk coverage, unreadable sectors, and anything set aside.
  • rename-snapshots.sh the script that restores the exact snapshot names on Linux.
  • .pbsrebuild\ staging: the scan log, the checkpoint, the report in JSON, encrypted blobs, and the carved indexes and manifests.
The RECOVERY-REPORT.txt written by PBS Recovery after a ZFS pool mode run on a raidz2 pool with two of five members reconstructed from parity: counts of chunks carved, indexes, manifests, and rejected candidates; chunks referenced and present versus missing; a snapshot section listing vm/400 with its drive image index at five chunks present, zero missing, 100 percent ok; and the next steps for registering the datastore on a PBS host
The report, which is the tool’s own RECOVERY-REPORT.txt. It accounts for every chunk: how many were carved, how many each snapshot references, how many of those are present or missing, and how many candidates were rejected by CRC or index checks. The missing column is the honest measure of what came back; the fabricated count is zero by construction.

Limits, stated plainly

  • Encrypted datastores. Encrypted chunks are carved and CRC-checked, but their digests are keyed, so without the key they cannot be given their names in the chunk store. They are kept in the staging folder and counted in the report. Encrypted configuration blobs listed in a manifest are matched and placed, because their checksums are not keyed.
  • Overwritten chunks. A chunk whose bytes were partly overwritten fails its CRC or digest and is skipped. It appears in the missing column.
  • All-zero chunks referenced by an index are generated automatically, since they hash to a known digest for each length.
  • Namespaces. A manifest does not record its namespace, so namespaced snapshots are rebuilt into the root namespace.
  • Degraded pools. Once a file’s dnode is found, its blocks are read through the real block pointers and reconstructed exactly, even with a dead member. Finding the dnodes, however, is a sweep of the logical space in fixed windows, and with a member rebuilt from parity a window’s assumed layout may not match the real allocation, so some dnodes in rebuilt regions may not be found. The result is a miss, never wrong data. Run with all members present whenever you can.
  • Pool layouts. One top-level vdev: a single disk, a mirror, or RAID-Z1, RAID-Z2, or RAID-Z3. dRAID and pools with RAID-Z expansion in their history are refused with a clear message. For a pool with several top-level vdevs, give the members of the vdev that held the datastore. Natively encrypted datasets are ciphertext without the key and are reported as missing.
  • Compression. Uncompressed, LZ4, zstd, LZJB, and ZLE blocks are decoded, including the compressed dnode array ZFS keeps by default. gzip-compressed blocks are not; gzip is rare under PBS because chunk payloads are already zstd-compressed. A block that cannot be decoded is a miss.

Built from the formats’ own definitions

The PBS constants and layouts are taken verbatim from the proxmox-backup source (checkout 3.2.4), and the ZFS constants and layouts from the OpenZFS source. Before release, the direct-carve layer was checked against a synthetic deleted datastore and an independently written validator, and it recovered 453 of 453 chunks from a ground-truth image while rejecting the 3 corrupt ones. The ZFS layer recovered complete synthetic RAID-Z1 and RAID-Z2 pools with members missing at the parity limit, including blocks stored with ZFS zstd compression. PBS-Recovery.exe selftest runs the same end-to-end check on your own machine in about five seconds.

Proof point from testing: a raidz2 pool with two of five members dead recovered to 100 percent of the snapshot. Three tiles: 453 of 453 chunks recovered on a 0.9 gibibyte ground-truth image with 3 of 3 corrupt correctly rejected; 2,360 independent validator checks with 0 failures; 20 of 20 self-test checks, adversarially reviewed and re-tested. A note reads honest by design: validated against synthetic ZFS pools and dd images, not yet exercised against a real physical pool in the field
The numbers behind the claim, all from testing on synthetic pools and disk images. The direct-carve layer recovered 453 of 453 chunks from a 0.9 GiB ground-truth image and rejected the 3 corrupt ones, an independent validator that shares no code with the program ran 2,360 checks with 0 failures, and the built-in self-test passes 20 of 20 checks. It has not yet been run against a real physical pool in the field.

Your disks are never modified

PBS Recovery opens the source read-only, and that rule is enforced in the engine rather than left to a setting. Nothing is written to the source disk or the pool members. Recovered data goes only to the output folder you choose.

The output must be on a different physical disk, and the program checks that for itself rather than trusting the path. When the source is a raw device, the scan refuses to start unless it can prove the output lives elsewhere: every spelling of a device path, folder mount points, volume GUIDs, and volumes on VHD, VHDX, or Storage Spaces are checked, because their backing file could sit on the source. Network paths that point back at this machine, by loopback address or by its own name, are refused as local volumes in disguise, and so are shares addressed by IP address or by a dotted name, because they cannot be proven remote. Only a bare server name such as \\nas\share is accepted. An override exists for people who know exactly what they are doing.

Unreadable sectors never abort a scan. They are zero-filled, counted, logged, and listed in the report under unreadable media. If a whole read window comes back unreadable, the program treats it as a dropped device and stops at the checkpoint instead of zero-filling the rest of the disk.

If the drives themselves are failing, or more members of a pool are gone than the parity can cover, our engineers can help. Call 800.237.4200 or start a recovery ticket.

Ready to recover your data?

Get a free evaluation and quote. No data, no charge.