💾 Archived View for freeshell.de › tldr › btrfs-restore.gmi captured on 2023-04-26 at 14:12:27. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

btrfs restore

Try to salvage files from a damaged btrfs filesystem.

More information.

sudo btrfs restore {path/to/btrfs_device} {path/to/target_directory}
sudo btrfs restore --dry-run {path/to/btrfs_device} {path/to/target_directory}
sudo btrfs restore --path-regex {regex} -c {path/to/btrfs_device} {path/to/target_directory}
sudo btrfs restore -t {bytenr} {path/to/btrfs_device} {path/to/target_directory}
sudo btrfs restore --metadata --xattr --symlinks --overwrite {path/to/btrfs_device} {path/to/target_directory}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY