PDA

View Full Version : Accidentally deleted /backups, /domains, /mail, /public_html



yeefan
07-03-2009, 09:00 AM
Hi,

Accidentally deleted /backups, /domains, /mail, /public_html. Where can i get those folders from?

I should put my files into the /public_html, but accidentally deleted.

Anyone can help??


Thanks you very much.

nobaloney
07-03-2009, 10:21 AM
Check with your hosting provider.

Jeff

rtaylor
07-03-2009, 06:49 PM
There may be some help for you here: I've deleted /home, how do I recreate the directories? (http://help.directadmin.com/item.php?id=47)

nobaloney
07-04-2009, 07:37 AM
lI suppose I should have moved the thread into User-Level Difficulties when I first replied.

However, rtaylor, you're right in that there's a good list in there of what's needed, even for end users, though they'll have to do the re-creation by other means, through FTP, or through a shell account, if they have one.

Jeff

yeefan
07-05-2009, 05:21 AM
Hi,

Thank for replay. I have tried ur script, but this error display.

"make_dirs.sh"
"make_dirs.sh" E212: Can't open file for writing

This is last script.

Thanks

nobaloney
07-05-2009, 09:04 AM
This is a script which you've made yourself. Double check your work to make sure you created the script properly and properly set the owner and permissions.

Unless you have admin rights to the entire server you cannot put the script into /home and you need to discuss this with your hosting provider, as I mentioned in my post above.

So if you do it yourself you may need to change the script based on from where you run it.

Jeff