there is no 100% way to prevent data corruption. when it happens, it happens.... sometimes it can be repaired, other times it is lost data.
The reason why the PS3 automatically deletes any corrupted data is two fold.
1) the PS3's file system and Operating system is encrypted
2) ensure data integrity for the surrounding data so that such data is not affected.
Like most hdd recovery software, some can recover deleted files, some can even restore a drive's integrity by repairing bad clusters and data sectors to restore capacity and ultimately bring the drive back to like-new operation. (I still keep a bootable USB flash drive and even an old 3.5" floppy with a USB floppy drive loaded with a simple program that repairs disk errors and in some cases can bring a drive "back from the dead")
yes, while technology does advance, some things can't be advanced any more than it already is, and usually, the old school way is the best way.
If you have imporant data, or cherished memories on any device.... a person with logic and common sense would have made regular backups(in some cases MULTIPLE backups and put the data in different places.... not just strewn about your house, but kept outside of your home like a safety deposit box, or a trusted relative) and put that backed up data in a safe place.
We all know any computer device is going to freeze on us and eventually give us errors.... if you NEVER once had a thought cross your mind that you might lose your data, you've essentially already lost it.