I am trying to recover files after a crash of a btrfs filesystem using:
btrfs restore --path-regex 'regex' -sv -D /dev/sdXX /mnt/destination
for example, to retrieve all files in
/snapshots/@_2018-06-01T23:29:33-04:00.preupgrade/ I tried following http://www.kossboss.com/?p=2277 and got (among many other attempts):
This failed to select any files. I have tried 5 hrs of things. I am at a loss.
What am I doing wrong? How can I make it work?
It needs to be selective for a number of reasons. Manly because it fails in the middle and I need to script selective attempts to retrieve viable files beyond the fails.