Portal Home > Knowledgebase > Articles Database > undelete or recovery one folder or partion


undelete or recovery one folder or partion




Posted by robocap, 08-22-2007, 06:03 PM
Hello i false deleted /home folder do you know one tools that i can undeleted /home ? recovery or ,,.. free plz thanks

Posted by Jacklyn, 08-22-2007, 10:39 PM
Maybe these can help you. Freeware: http://www.filedudes.com/R_Linux_Dat...oad-31440.html Trial: http://www.123-free-download.com/dow...are/19550.html

Posted by david510, 08-23-2007, 01:52 AM
Does the server has any control panel installed and any backup method enabled?

Posted by sprintserve, 08-23-2007, 02:52 AM
Generally you are likely to be using ext3 filesystem. So undelete would not be possible.

Posted by robocap, 08-23-2007, 05:07 AM
Hello my server is centos linux

Posted by macker, 08-23-2007, 05:16 AM
by default, it's ext3 type 'df /home'; that will show the mountpoint (probably / or /home). then type 'mount', and look for the matching entry. if it says ext2 or reiserfs, there may be hope. if it says 'ext3', well, this is why backups are important, and you should only su to root as-needed. (sorry.)

Posted by robocap, 08-23-2007, 05:40 AM
root@server1 ~]# df /home Filesystem 1K-blocks Used Available Use% Mounted on /dev/simfs 18432000 2466236 15965764 14% / [root@server1 ~]# mount /dev/simfs on / type reiserfs (rw,usrquota,grpquota) proc on /proc type proc (rw,nodiratime) devpts on /dev/pts type devpts (rw) /tmp on /var/tmp type none (rw,noexec,nosuid,bind) and then?

Posted by macker, 08-23-2007, 05:50 AM
Since it's reiserfs, you may be able to recover some of the files that were deleted, but this is a complex thing. Depending on how critical the files are, determines what you do next. You can try to do the recovery live (if this is possible), or you can shut it down and perform it in another system, where your chances of success are higher. Trying to do it live may corrupt the system. I haven't performed recovery on reiserfs myself, but recently spoke to someone who had; my understanding is that you can undelete every file that has been deleted (ever). He was able to get back the data he needed, and it was less time than rewriting weeks worth of code, but if this is a web server, this may not be a viable option. Search for "reiserfs undelete" on Google or such, and refer to a forum where people specifically have a knowledge of Linux and filesystem recovery, especially reiser. If the data is really valuable, contact a data recovery firm, but this is likely to be up to $1000 USD, given the circumstances. (May be more if you need emergency turn-around, i.e. 24-48 hours) This _is_ a very complex thing, and there is significant risk to losing the data, in trying to recover it. It must be worth many hours of your time, and potentially paying someone to assist, to get the files back. While I don't doubt that there's people here who could assist, I think it's better suited to a forum specific to Linux server administration, than webhosting, especially at this hour. Just my opinion, though.

Posted by StevenG, 08-23-2007, 08:37 AM
You'd be better to dd the data to a remote disk some place, where you can operate on the disk without fear of nuking the live box. Using nc and dd you can easily copy a whole drive/partition to a remote box.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Colo4Dallas Outagae? (Views: 803)
MySQL Problem (Views: 692)


Language: