LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-15-2010, 03:41 AM   #1
muba
LQ Newbie
 
Registered: May 2010
Posts: 18

Rep: Reputation: 0
Question How to restore www directory in ubuntu 9.04


hai.,

i’m using ubuntu 9.04 for drupal development. today morning accidentally i removed my www folder in directory. the folder has so many of my web development documents. O God., I just restart after my system when it happens., and i install some recovery software like gpart. is theri any possibilities to recover my www directory and files., bcos its includes more of web development documents. pls pls pls i’m very afraid about that issue. let me know asap.

Thanks in Many more advance,
 
Old 05-15-2010, 03:54 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello and Welcome to LinuxQuestions,

Have a look at TestDisk and Photorec. I'm sure they can recover most (if not all) of your documents if the conditions are right (not writing onto the same blocks after deletion). Try it out. Good luck.

Kind regards,

Eric
 
Old 05-15-2010, 05:27 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Well you should have (daily, if it's important and you work daily) backups of your work, but in general do not work with that disk before you've checked what you can recover. Writing on the disc just might overwrite the data you want to recover. If you can, make an image of the disk and work with that (instead of the real disk) for a start. Or, if you work directly, mount it as read-only...
 
Old 05-17-2010, 12:21 AM   #4
muba
LQ Newbie
 
Registered: May 2010
Posts: 18

Original Poster
Rep: Reputation: 0
Red face How to create a www folder in ubuntu 9.04

hai.,

i'm using ubuntu 9.04 jaunty jackalope for my drupal development. last one day before i lose my www folder in my ubuntu system. and i had LAMP Server with phpmyadmin. and i have been stored so many of my development documents are stored in that folder. i already geta backup for that., so its does n't matter. now i need www folder in var directory.

IF anyone could known the answer for how to rectify that issue. please let me know in step by step process please. i'm critical situation.

Thanks in Advance.,
 
Old 05-17-2010, 12:45 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I have merged your closely-related threads. The duplicate in Server will be reported for closure.

One thread per topic, please....

PS--also moved to Linux-General (not a hardware issue)

Last edited by pixellany; 05-17-2010 at 12:46 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables-restore ubuntu server does not restore at boot R03L Ubuntu 4 02-09-2010 08:14 PM
How to restore a deleted directory? thomas2004ch Linux - Newbie 7 09-17-2009 07:22 AM
Restore directory permissions help! taigon Fedora 2 03-08-2006 12:18 AM
Restore directory permissions help! taigon Linux - General 2 03-05-2006 01:12 PM
user`s www dir in his home directory spotass Linux - Newbie 0 06-12-2004 01:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration