How to Restore the defaults for hosting database???

Discussion in 'BlackHat Lounge' started by utkarshpaliwal, Jan 3, 2010.

  1. utkarshpaliwal

    utkarshpaliwal Regular Member

    Joined:
    Jun 8, 2009
    Messages:
    498
    Likes Received:
    91
    Hey guys...

    By mistake I deleted some files at my cpanel hosting... which I need to recover!
    Please tell me how can I restore the defaults so that I can gain all my lost files!!!


    (I posted a thread of similar kind before also... but could not find the answer, so this is my 2nd thread for the same problem... Hope I will get an answer this time)!!!

    Thanks,
    Utkarsh
     
    • Thanks Thanks x 1
  2. ukescuba

    ukescuba Senior Member

    Joined:
    Feb 24, 2008
    Messages:
    994
    Likes Received:
    635
    Occupation:
    Mobile Marketer & QR Code Junkie
    Location:
    San Antonio, TX
    contact your host - a good host will do daily backups for you and be able to restore what files you need....

    HTH

    But learn from this - backup everything! I fell foul of this and it was very costly... it was netbook firefox favorites that i hadnt backed up. I assure you i back everything up regularly now! :)
     
    • Thanks Thanks x 2
  3. utkarshpaliwal

    utkarshpaliwal Regular Member

    Joined:
    Jun 8, 2009
    Messages:
    498
    Likes Received:
    91
    Thanks for your replys...
    But I am not much concerned about the backups of my sites...
    There was only 1 site hosted, and that was also not that important for me...
    I can afford to loose the data of my site.... But the main thing is that I cant access to the Wp-admin of my newly hosted sites!!!


    So, Is there any way so that I can get the defaults reloaded ( so that my hosting becomes like newly bought with only important system files in it)!!!
     
  4. utkarshpaliwal

    utkarshpaliwal Regular Member

    Joined:
    Jun 8, 2009
    Messages:
    498
    Likes Received:
    91
    I m sorry.. I forgot to include that the main problem is that I dont see any Wp login page when I try to enter the Wp-Admin area of any of my newly hosted domains!!! And I think that this is because of the files that got deleted yesterday!!!

    I have reinstalled Wp many times but still I face the same problem! :)
    When I enter this in the address bar:
    HTML:
    onlinepcgames.co.cc/wp-admin
    I am automaticly redirected to this:
    HTML:
    http://onlinepcgames.co.cc/wp-login.php?redirect_to=http%3A%2F%2Fonlinepcgames.co.cc%2Fwp-admin%2F
    With the message:
    Forbidden

    You don't have permission to access /wp-login.php on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
     
  5. origin

    origin Regular Member

    Joined:
    Nov 11, 2008
    Messages:
    333
    Likes Received:
    91
    Delete .htaccess file in your root WP directory (if any).
     
    • Thanks Thanks x 1