On 02.02.2019 05:28 Alan Hardman wrote: > Also, "btrfs restore -Dv /dev/sdb /tmp" outputs some of the files on the > filesystem but not all of them. I'm not sure if this is limited to the files > on that physical disk, or if there's a bigger issue with the filesystem. I'm > not sure what the best approach from here is, so any advice would be great.
You could check if some of the older tree roots yield a better result, as described in https://btrfs.wiki.kernel.org/index.php/Restore#Advanced_usage. In my case I had to go back 2 generations to get a suitable file list. I am not an expert though and am only recommending this as to my understanding, btrfs restore and btrfs-find-root are non-destructive to the original file system.