Accidentally deleted files on FileVault-encrypted disk, recovery impossible?
Posted: 02 May 2021, 06:44
I accidentally deleted files with rm on my Macbook (macOS Catalina 10.15.7) which has a FileVault-encrypted disk.
I tried running Photorec on all combinations of /dev/disk0, /dev/rdisk0, and /dev/rdisk1 and their partitions: unknown (entire disk), EFI System, and Apple APFS. The deleted files were various bits of source code so I selected tx? and txt file options. The only results were a small number of .plist files.
Would it be wise to turn off FileVault and rerun Photorec? I fear that unencrypting the disk would rewrite everything and wipe out any remaining chances of recovering those files.
I tried running Photorec on all combinations of /dev/disk0, /dev/rdisk0, and /dev/rdisk1 and their partitions: unknown (entire disk), EFI System, and Apple APFS. The deleted files were various bits of source code so I selected tx? and txt file options. The only results were a small number of .plist files.
Would it be wise to turn off FileVault and rerun Photorec? I fear that unencrypting the disk would rewrite everything and wipe out any remaining chances of recovering those files.