More disturbing is that it seems to be an accepted event with Ubuntu.
Sorry? If that would happen to me (and it was the OS that did this and not me) I would switch to another operating system in a heartbeat.
Seriously, I am I to trust an OS that routinely just loses data on mass?
How did you come to this conclusion?
Please investigate what happened. Add to your question the results of
history. Check log files.
And you can also add aliases to
rm to use a trashcan if you want extra security.
If anyone can tell me; why this happens
Unless proven otherwise you did this yourself.
how to recover I would be extremely relieved. I
The answers I have seen for similar questions verge on advanced programming and even then don’t seem to provide a concrete solution.
testdisk is rather advanced and requires a specific approach: it can restore deleted files if that part of the disk is not touched after the deleting.
The best answer would be though to restore a backup. We all make them don’t we? If only that computers can break. If you do not you do not value your data and there is only ONE person to blame if something gets deleted.
0.Provide the community with as much detail about the fault as possible. Were these files deleted? Are there other users on your system? have you run the command
rm -rf recently?
immediately stop using the hard-drive where you lost your files.
get a boot disk, and boot from it. Hopefully its an Ubuntu Boot disk.
Run the disks utility, and verify the integrity of the disk, by checking the SMART data status.
Install ddrescue and testdisk to your boot disk, with the command
sudo apt-get install gddrescue testdisk
clone the partition or hard drive to something else, before attempting to do data-recovery. Clone using the command ‘sudo ddrescue /dev/sdDatalossHD Backup.iso`
run testdisk against the hard drive with data loss.
get yur files back.
send me a pizza.