Hi While working on the website we suddenly encountered 404 error when double check found that public_html was missing when we ask to web host company to install our website from their back they denied since we had lots of blogs and php my sql sites hosted on the ip Web host company said they only do back of whole server so that can't provide backup of just one website Since we lost our data, are they telling us truth ? or we can take some steps against the company pls suggest
Take what steps? You agreed to their terms of agreement, you're at their mercy. You are also told in those terms or in the acceptable use policy that you should keep backups, which you obviously didn't bother to do. I think they can restore your backup, but it's probably too much of a hassle for them.
most hosts though do perform daily/weekly/monthly backups of websites, but some may not, it all depends upon the TOS you agreed to at the time of signing up.
The only steps you can take is talking nicely to them. They probably could get your files back by restoring to another server and then just copying over the files you want. Obviously that's a lot of hassle though. I always keep separate backups from my providers backup. You're asking for trouble if you don't :-( Matt
Maybe a lil $$ incentive is in order. But now you know to back up your site yourself via cron for next time I have a dedi with multiples and all domains are backed everyday via cron and each domain has his own backup dir for sql and files in users root ftp folder.