how to securely backup wordpress site

Discussion in 'Security' started by tigergb, Jan 14, 2012.

  1. #1
    I have a site using wordpress, it was hacked due to a free template I downloaded online (i believe the hacker insert some files into the template). The site title is changed to buy viagra online, etc.

    Now I removed that template, and want to re-install the wordpress (perhaps change to another serve). Is there any secure way to backup all the posts?

    Thanks very much for your help in advance, it is urgent for me.
     
    Solved! View solution.
    tigergb, Jan 14, 2012 IP
  2. SolidShellSecurity

    SolidShellSecurity Banned

    Messages:
    262
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    45
    #2
    You can just backup the database and then reinstall and load the old database. If you think the hacker placed stuff into the database you can run scans and remove it all. We do that for clients when we move their sites over to our places making sure there are no backdoors or anything anywhere.
     
    SolidShellSecurity, Jan 15, 2012 IP
  3. #3
    Like the previous person stated.

    1. Reinstall the software in a new database
    2. Don’t install the template
    3. Export the SQL database and import it into the new one. You will need to go into PHPMYADMIN for this.
     
    !bc, Jan 16, 2012 IP