The chunk tree of a btrfs filesystem corrupted and I could not recreate it after hour-long reconstruction. As a last resort (besides restoring from backup) I could use btrfs restore -S -x -m -v
to get all the files back.
Does anyone know whether the restore is a best-effort way of accessing the data and corruption might be expected or is it reliable and all files that were saved can be assumed healthy - at least when no warnings or errors were reported? I could restore from backup but this would be very time consuming.
Are you storing file checksums and file permissions on disk as a safety measure for your archive storage in case you need recovery?