Try to salvage files from a damaged btrfs filesystem.
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}
bytenr
(see btrfs-find-root
):
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 This content has been proxied by September (ba2dc).Proxy Information
text/gemini;lang=en-GB