Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Sep 2010
    Posts
    5

    Default Reset/Wipe my Server???

    Hi Guys,

    Searched right through Google and used the search form here but cant find anything...

    Semi new to cpanel, been using it for years but have only just started delving into PHP and Drupal.

    Im having problems with my server... or maybe i just have lack of knowledge.

    The main question i have is: How does one reset or wipe a server of everything except the files that were there originally?

    To expand on that,

    Im trying to delete a previously install of drupal except i receive errors that i cannot delete some files and folders. 550 error if i remember correctly.

    I have set the files and folders to full permissions but still i get the error. I also looked into running queries through phpMyAdmin and still had no luck.

    Effectively, i would just like to nuke everything in the /public_html/ and reset the server back to what it was originally. There were files within the /public_html/ when i first started so i'd like to keep them intact or be able to add them back once i've wiped everything.

    Just want to be able to upload drupal into the pub_html folder and start again,

    Any directions using cPanel or WHM would be immensely appreciated.

    Thanks in advance,

  2. #2
    Member
    Join Date
    Sep 2010
    Posts
    5

    Default

    Anyone? Why is there no information for this anywhere?

    Am i being too n00b for the newbies forum or does no one know?

  3. #3
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,893
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Quote Originally Posted by aquillium View Post
    Hi Guys,

    Searched right through Google and used the search form here but cant find anything...

    Semi new to cpanel, been using it for years but have only just started delving into PHP and Drupal.

    Im having problems with my server... or maybe i just have lack of knowledge.

    The main question i have is: How does one reset or wipe a server of everything except the files that were there originally?

    To expand on that,

    Im trying to delete a previously install of drupal except i receive errors that i cannot delete some files and folders. 550 error if i remember correctly.
    Was this Drupal installed via Fantastico by chance?


    Quote Originally Posted by aquillium View Post
    I have set the files and folders to full permissions but still i get the error.
    Who is owner of the files in question?

    Quote Originally Posted by aquillium View Post
    I also looked into running queries through phpMyAdmin and still had no luck.
    Different topic and problem than the above. But to do this, visit your cPanel, click phpMyAdmin icon, on page that opens, left menu, click the database you want to run your query on, and then click the tab at top for Query. Or click the SQL tab, depending on your needs not mentioned here.

    Quote Originally Posted by aquillium View Post
    Effectively, i would just like to nuke everything in the /public_html/ and reset the server back to what it was originally. There were files within the /public_html/ when i first started so i'd like to keep them intact or be able to add them back once i've wiped everything.
    Depending on the server configuration and your account itself, you might have/had a cgi-bin directory created in public_html. Most everything else could be killed. There's an easy way to keep yourself out of trouble though, I call it backups. Create a new folder inside public_html and move everything to it you think you don't need. Next, right click and 'cut' that folder and move it outside the public_html for safe keeping. If something goes wrong, you've not "nuked" anything and can put back what you moved out.

    Quote Originally Posted by aquillium View Post
    Just want to be able to upload drupal into the pub_html folder and start again,

    Any directions using cPanel or WHM would be immensely appreciated.

    Thanks in advance,
    The docs are a great place to start:
    cPanel User Guide

    And of course, your host is another great resource you should take advantage of.
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  4. #4
    Member
    Join Date
    Sep 2010
    Posts
    5

    Default

    Hey Infopro,

    Thanks for your reply,

    Ok so to answer some of your questions:
    - Nope, no Fantasico install (jsut ftp to Public_html)
    - I'm the owner, i own the entire server (reseller package)
    - I know how to run queries within PhpMyAdmin but none of them worked (essentially to remove the processes to the files i wished to delete)
    - I already have a backup.

    What im trying to find out is how to return my server to what you would normally be given by a Hosting provider. Ready to drag and drop drupal into. I appreciate the time you took to ask the questions but im still not getting anywhere.

    Cheers.

  5. #5
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,893
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    You drop any databases in MySQL, remove all files and folders in public_html directory except cgi-bin, and kill all email accounts. Other than removing stats data that's about it. A new account again.
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  6. #6
    Member
    Join Date
    Sep 2010
    Posts
    5

    Default It really is this easy....

    I seriously cant believe this but all you do is rename 'public_html' to 'public_html_backup' then make yourself a new folder and call it 'Public_html'...

    I added the only folder i could remember that was in their ('cgi-bin') and its working.

    Thanks anyways,
    Last edited by aquillium; 09-09-2010 at 09:48 PM.

  7. #7
    Member
    Join Date
    Sep 2010
    Posts
    5

    Default

    Quote Originally Posted by Infopro View Post
    You drop any databases in MySQL, remove all files and folders in public_html directory except cgi-bin, and kill all email accounts. Other than removing stats data that's about it. A new account again.
    That you for the reply, but my main issue at the top was that i could not delete everything i wanted. Received the 550 error even when full permissions were given.

    Thank anyways,

Similar Threads & Tags
Similar threads

  1. Distilling httpd.conf can wipe it out. Be careful.
    By jenlepp in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 12-28-2009, 08:20 PM
  2. Reset server certificate
    By syshackmin in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-20-2007, 06:08 PM
  3. Server Certificate Reset
    By adivity in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-07-2006, 09:11 PM
  4. Replies: 4
    Last Post: 07-30-2003, 02:37 PM
  5. Does rolling back to a previous version of SQL wipe databases?
    By Trel in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-30-2003, 02:37 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube