💾 Archived View for freeshell.de › tldr › btrfs-restore.gmi captured on 2022-04-28 at 18:11:50. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
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}
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).