snapraid-btrfs
snapraid-btrfs copied to clipboard
snapraid-btrfs fix does not restore files
# rm -rf /mnt/disk6/media/Videos/A/
# snapraid-btrfs fix -m -f /mnt/disk6/media/Videos/0-9/
Self test...
Loading state from /mnt/snapraid-content/disk1/snapraid.content...
Searching disk d1...
Searching disk d2...
Searching disk d4...
Searching disk d5...
Searching disk d6...
Selecting...
Scanning disk d1...
Scanning disk d2...
Scanning disk d4...
Scanning disk d5...
Scanning disk d6...
Using 1577 MiB of memory for the file-system.
Initializing...
Selecting...
Fixing...
Nothing to do
Everything OK
Perhaps this is only good for replacing missing snapshots? So I tried that too:
# cd /mnt/disk6/.snapshots/
# mv 24 24.save
# snapraid-btrfs fix -m -f /mnt/disk6/.snapshots/24/snapshot/media/Videos
Self test...
Loading state from /mnt/snapraid-content/disk1/snapraid.content...
Searching disk d1...
Searching disk d2...
Searching disk d4...
Searching disk d5...
Searching disk d6...
Selecting...
Scanning disk d1...
Scanning disk d2...
Scanning disk d4...
Scanning disk d5...
Scanning disk d6...
Using 1577 MiB of memory for the file-system.
Initializing...
Selecting...
Fixing...
Nothing to do
Everything OK
I thought maybe snapshot 24 was the wrong one to recover, so I tried some of the others, but all find nothing to do...
I’d like to confirm I also have an issue with this - I can restore files using: snapraid-btrfs fix (which works as expected) but responds ‘Nothing to do Everything OK’ when specifying an individual file using the -f parameter: snapraid-btrfs fix -f /path/to/file.txt