473,387 Members | 1,348 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

data recovery **URGENT**

I work on a debian server. with apache doocroot: /home/web.

unfortunatly, the other admin creates a user with /home/web default
directory, and then deletes the user...

/home/web doesn't exists anymore.

how can i recover it? please, tell me it's possible!!


Jul 17 '05 #1
3 1606
I am sorry you had that experience, hope this will tell you you need to
backup more often.

The solution I know is R-Linux: http://www.r-tt.com

R-Linux is a free file recovery utility for the Ext2FS file system used
in the Linux OS and several Unixes. R-Linux uses InteligentScan
technology and flexible parameter settings that give you real control
over the fastest data recovery ever seen. It recovers files from
existing logical disks even when file records are lost. However, there
is no any network capabilities or ability to reconstruct damaged RAIDs
or stripe sets in R-Linux.

You can download it on their web site. I would advise you to shut down
all services and preventing anything else from being written to the
disk (if something goes on top of the phisical surface where you had
your data, it's bye bye...)

Good luck

-
John
http://Talk-PHP.com

Jul 17 '05 #2
On Thu, 02 Jun 2005 16:27:42 +0200, Alfred Wallace wrote:
I work on a debian server. with apache doocroot: /home/web.

unfortunatly, the other admin creates a user with /home/web default
directory, and then deletes the user...

/home/web doesn't exists anymore.

how can i recover it? please, tell me it's possible!!


I take it that you mean you do not have a backup of it.

Slim possibility that it went into the waste bin of root
(/root/.local/share/Trash', but I'm afraid that is very unlikely.

Bet we've failed so far, so to the nitty gritty of recovering files, and
the less you use your system the more chance you have of this being
successful.
Find which volume the directory was on and it's system type.

In your case that is
/dev/hd? /home
Type = ext2/3 or reoserFS
However, if your /home is not on it's own volume then you need the volume
label that is it's nearest root, such as '/'.

Now come the two answers. Beware the warnings I put with them.

Midnight commander (MC, comes with every distro) can be used to collect
deleted files from the volume you have just determined above.

The possible problem is that MC will possibly (but not always) want to be
in at node level, in which case you must umount it. Thats particularly
tricky if your /home is sharing another mount point, such as '/', which
every one would advise against of cause.
They is a Solution Two. I'm not going to properly tell you this one.
It's seriously risky and if you haven't got a backup of /home then I
assume you haven't got a backup of any of your system,.

It has been known to do more harm than good, partly because the very act
of doing this is likely to cause the deleted partitions to be written
over it it is one the same volume tree. But mainly because in going direct
to the device they is absolutely no checking, pressing return on a command
and it will do whatever that command is, good or bad, whether fully
understood by the device or not.

So enough information for you to ask a braver man than me or work it out
yourself.

You work directly on the device as if it were a file and piping
the results to another volume. The operation can be very long (in this
particular case), even if you are selective in the commend, though if
your used to regex then you can speed it up a fare bit. Otherwise expect
it to take as long as a typical format would, and it wont be until it
comes back that you know if you have done any damage.

For this you use grep and one or it's relatives. In the lines of

grep -a -d recurse -U /home/web /dev/hd??

Then pipe that to the 'cp' (not the mv command, because that causes a
write) command on a separate volume tree.

Remember that all files are treated as binary, minor fixing problems on
some document types.

I know that as commands what I've written above looks 'ok', but I was
seriously tempted to wipe it out and just leave the 'mc' part, because I
know what this one can do.

Jul 17 '05 #3
In article <42***********************@news.free.fr>,
Alfred Wallace <po***@free.Fr> wrote:
I work on a debian server. with apache doocroot: /home/web.

unfortunatly, the other admin creates a user with /home/web default
directory, and then deletes the user...

/home/web doesn't exists anymore.

how can i recover it? please, tell me it's possible!!

backups ?

--
a d y k e s @ p a n i x . c o m

Don't blame me. I voted for Gore.
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rajesh Garg | last post by:
I have a scenario like this....... update esan set tes_address_city = 'TEST1' --at some time update esan set tes_address_city = 'TEST12' --at some time update esan set tes_address_city =...
6
by: Rajesh Garg | last post by:
I have actually extended my request I have a scenario like this....... update esan set tes_address_city = 'TEST1' --at some time update esan set tes_address_city = 'TEST12' --at some time...
0
by: Author Tarun Tyagi | last post by:
Hi, I am a Data Recovery Specialist and Professional Data Recovery Software Developer in New Delhi. I've placed the Complete SOURCE CODE of One of my Data Recovery Software for Sale (for...
0
by: Author Tarun Tyagi | last post by:
Hi! I am glad to introduce World's First Book on Professional Data Recovery Programming. Book also Includes a FREE CD, which contains complete Source Codes of all the software/Programs described...
2
by: Anantha | last post by:
Dear all, We are facing problem with our production server. We have IBM DB2 7.2 running on Windows 2000 Server. Day before OS is crashed and the NT admin has re-installed the whole OS again on...
1
by: jeffg | last post by:
I have a web site that I use forms authentication on. I am trying to implement a password recovery tool, but am unable to get beyond the login screen to get to my PasswordRecovery page. My...
0
by: Winder | last post by:
Computer Data Recovery Help 24/7 Data recovering tools and services is our focus. We will recover your data in a cost effective and efficient manner. We recover all operating systems and media....
5
by: Roger | last post by:
backup log testdb with truncate_only DBCC SHRINKFILE (testdb_log, 100) WITH NO_INFOMSGS backup database testdb to disk = '\\DC01\Backups\DB01\testdb.bak' with init and does the shrinkfile...
1
by: =?Utf-8?B?UkIncw==?= | last post by:
My eMachine when boot up, will ask "Press F11 for recovery". I just leave it and it will boot to WinXP. this eMachine just died. I hooked up its HD as slave to other computer, try to move my own...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.