Admins Advice : Use NILFS for sensitive data!

General Forum for talking area for B series TVs.
Post Reply

User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Admins Advice : Use NILFS for sensitive data!

Post by erdem_ua »

-----Only for Linux Users-----
Date: 24 Aug 2010 00:21, Midnight.
Situation : Sleepy
Wanted to Have : Delete all gnash files because of corrupted installation.
Command : "death@triQuad:/>find . gnash -delete"
Forgotten Thing: " -name " option before "gnash"
Result : Loss of Root and a partition that mounted on "/mnt/SMALL" which has my whole mp3 archive and old pictures also SamyGO related anything that stored, in a second, until I press CTRL+C

I don't sad for root or any files that I can re-download. But my old pics are lost. No one could recover if there is no backup (there is no backup!)...
But If I were use NILFS instead of NTFS no command could lead such a disaster even if I use "rm -rf *".

NILFS is log based file system. It backs up your data and than you can revert your HDD back to any date that you want that stored in history of HDD. So it's doesn't delete files even if you are delete them. Just marks as "deleted". Thats all. Data deleted if protection time passes (adjustable). So If I use it, I can revert my root and my destroyed partition in a minutes. At least, use NILFS for sensitive data and better use backups!.

I use PhotoRec for recover my pics. It founds some. But not all. Better than nothing.

Post Reply

Return to “[B] General”