File Recovery Hero/Guides/File systems

File systems · Btrfs volume

Btrfs file recovery: snapshots before carving

How should I recover files from Btrfs?

Short answer

First check your snapshots: if Snapper, Timeshift or manual snapshots were set up, a read-only copy of the deleted files may still exist. Otherwise unmount the volume, create a block image and run Btrfs-specific tools such as btrfs restore against that image. File Recovery Hero does not parse Btrfs metadata.

The situation

Files were deleted from a Linux Btrfs volume or the file system is damaged.

On Btrfs the first place to look is a snapshot, not a scanner. If a snapshot or send-receive copy from before the deletion exists, the file is usually still there with its name and folder. Without one, only Btrfs-aware tools can try, and File Recovery Hero cannot read Btrfs at all.

01 / Diagnose

Work out what actually disappeared

Btrfs is copy-on-write: edits and deletions leave older versions of tree blocks on disk until space is reused. Snapshots keep whole subvolume states alive on purpose, and tools such as Snapper or Timeshift create them on a schedule. A deleted file therefore often survives in a snapshot, and sometimes in an older tree root.

Btrfs uses copy-on-write metadata, checksums and optional snapshots. Specialist Btrfs tools understand this structure better than a media-focused exFAT scanner.

Check the last known path, trash and backups without writing to the original device.

02 / Protect the source

Preserve the best recovery chance

  1. 1

    List your subvolumes and snapshots from a read-only mount and browse the newest snapshot that predates the deletion.

  2. 2

    Copy the files you need out of that snapshot to another drive with an ordinary copy command, because snapshots are readable like folders.

  3. 3

    If no snapshot helps, make a full image of the device first and let Btrfs restore tools work on the image rather than the live disk.

  4. 4

    Keep the filesystem unmounted or mounted read-only while you search, and record which command you ran against which copy.

Avoid this now

Do not run btrfs check with the repair option and do not balance, defragment or scrub the volume while you are still hoping to recover something. These operations rewrite metadata and move blocks around, which can destroy the older tree roots that restore tools depend on. Do not delete old snapshots to free space either.

03 / Choose the method

Match the tool to the source

For stable, readable exFAT, NTFS and FAT16/FAT32 or uncompressed IMG, DD, RAW and BIN images.

Unconfirmed exports are marked .UNVERIFIED.

The app reads exFAT, NTFS and FAT16/FAT32 and does not support Btrfs, ext4, APFS or HFS+. It cannot browse snapshots, and it does not recover damaged disks. A Btrfs device holds no useful scan result here, so the Btrfs tools remain the route and this guide only describes the cautious order.

Raw volumes, MBR/GPT and full product limits

04 / Verify

Check the recovered content, not just its name

Compare the restored tree with what you expect: number of files, newest modification dates and total size. Open files completely, and for videos jump to the final minutes. A file taken from a snapshot is a consistent copy of that moment, so compare its date with the time you lost it.

Keep the source until two verified copies exist. One working preview is not enough.

Sources and technical references

FAQ

Questions about this recovery case

Can Btrfs volume be recovered in this situation?+

On Btrfs the first place to look is a snapshot, not a scanner. If a snapshot or send-receive copy from before the deletion exists, the file is usually still there with its name and folder. Without one, only Btrfs-aware tools can try, and File Recovery Hero cannot read Btrfs at all. The result still depends on what remains readable on the source.

What should I avoid before scanning?+

Do not run btrfs check with the repair option and do not balance, defragment or scrub the volume while you are still hoping to recover something.

Does scanning write to my memory card?+

Your memory card is only read. Nothing is saved to it.

How do I know whether the result is complete?+

Compare the restored tree with what you expect: number of files, newest modification dates and total size.

Stop! Your files aregone.Back!

Scan for free first, then decide.

DownloadBuy license