J. A. Calvo I know that it is good to make a backup of data stored on disk but this was a new config (I installed eBox last weekend) and I had no time to do a backup jet.
What kind of tool I need to use in order to recover my files?
You have not indicated the reason for restoring a previous backup. Assuming this did not detrimentally affect the data on your storage drives it might be possible to conduct recovery using Parted Magic:
http://partedmagic.com/
This allows the machine to be booted from a CD-ROM and contains mdadm which enables your RAID arrays to be accessed. A range of other tools for data recovery is also included.
Imaging software is also in available Parted Magic which will allow the creation of a copy of your data partitions and/or disk. This means that you can then attempt recovery from the copy without the risk of losing/damaging the data on your current storage drives. Any images created for this purpose should not be stored or restored on your current storage drives to ensure the existing data is not overwritten.
The reason was that I was playing around config of firewall and OpenVPN and since I made too many changes I decided to make a one "step back" in the eBox config.
I didn't even imagine that it can try to "touch" the files on shares
.
What I have learned is that starting from today I will never put important files within /home or any other group's shares (on eBox of course). Why? Because every single file placed on my "unsafe" RAID0 (mounted at /mnt/fast) remained unchanged.
Since I am a network administrator in a bank I have some experience in recovering data after a crash but unfortunately never from linux box.
Here is my recovery plan:
1. Turn it off
2. Unplug 1 sata hard drive
3. Boot it with some livecd (downloaded a RIP linux 10 minutes ago)
4. Try to mount the "Software RAID" partition as EXT3 (I don't know if it's possible)
5. Mount a samba share from other PC
6. Try the "grep recovery" of the EXT3 to samba share.
What do you think about the plan?