> ------------------------------------------------------------------------
>
> Bobbie <mailto:bobbietow...@gmail.com>
> June 19, 2011 8:57 AM
Hi Bobbie --
There would be a folder called "mail" in addition to the ones you list,
and the "mail" folder would have a rather complex structure if files and
subdirectories containing more files within it.
If you had backed up your entire home directory including invisible
files, just recreate "mail" and upload. If you haven't, but you
synchronize your mail to your local computer (some email clients call
this something like "enable offline mode") you can recreate your mail
accounts, connect to them in your email client, and import the mail
folders that had stored the synchronized mail.
PLEASE NOTE: On my server, the public_html folder belongs my account as
owner with the group being set as "99" which I believe is the "nobody"
account, with permissions set at 755. If the access to your public_html
folder you created is not set up like this, your site (and, thus,
server) may be at risk.
Chances are your best bet would be to contact your hosting provider and
ask them to restore a backup so that everything is done properly. You
might lose whatever mail you've received since the last backup (if you
haven't backed it up yourself to your hard drive) but this is a better
option than messing around with trying to recreate your home directory
on your own unless you really understand server security, accounts,
permissions, etc. (I do not claim to, in your situation I'd restore a
server backup ... I make one once a week via cPanel)
good luck!!
kazar
Wow - this is great! You gave me so much helpful information.
Once this nightmare is over, I plan on backing up my files each week
on cPanel.
I still haven't heard from my hosting provider, but fear that their
backup may have been done before I spent hours changing the layout of
my website! :(
Until then, could you tell me where on cpanel I might be able to set
the group to 99 and the permissions to 755? Or is that something
that I need to ask my server to do? I think that would be quicker
than asking them to restore their backup and perhaps then losing all
my work.
Also, could you tell me where I might look on cPanel to see if the
files were synchronized? I looked for synchronize and offline mode,
but don't see either.