Whole-disk restore

Status: implemented in GTK.

Feclora restores one verified raw whole-disk image to a whole-disk block device. The destination is overwritten. A restore is not reversible and an interruption can leave the destination partially written.

Illustrative mockup of the destination review screen

Illustrative mockup — not a screenshot. Device names, image IDs and capacities are fictional.

Before you start

Never use a production disk as a test target.

GTK procedure

  1. Open Operations and choose whole-disk restore.
  2. Select the repository containing the image.
  3. Select the disk image by its image ID and inspect its source size, logical sector size, partition-table type, compression and encryption metadata.
  4. Select the destination disk. Re-check its model, capacity and identity.
  5. Review the preflight result. Feclora rejects a target that is not a whole writable disk, is smaller than the image, has a different logical sector size, or fails the target-safety checks.
  6. Read the destructive warning and type the exact confirmation requested: ERASE /dev/DEVICE, using the destination path displayed by GTK.
  7. Start the operation. Do not disconnect the target or power off the system while the write and read-back verification are running.
  8. Wait for the terminal result. A successful operation includes an independent read-back of the restored byte range and SHA-256 comparison.
  9. If the destination is larger and the source uses GPT, Feclora relocates the backup GPT header to the end of the target and verifies the GPT structures. Additional capacity remains unallocated.

What Feclora verifies

Before writing, the engine:

After writing, it reads back exactly the source-sized byte range and compares its size and SHA-256 with the bytes sent to the destination.

The image manifest records byte count and SHA-256, but is not digitally signed. Integrity checking detects accidental or unauthorized changes to the stored payload only when the expected manifest itself is trusted; authenticity relies on repository protection and authenticated transport.

Failure and recovery

A failed, cancelled or interrupted restore can leave the destination partly or fully overwritten. Feclora does not roll back the write and does not automatically resume it. Treat the target as untrusted, inspect the operation journal and device identity, and repeat the restore only after a new explicit review.

If the image is encrypted, a wrong identity or passphrase fails authentication before the destination writer starts. Keep key material out of screenshots, logs and documentation.

Scope and limitations