Restoring wordpress folder by folder, like Filezilla, is it possible.

8 replies
  • WEB DESIGN
  • |
I created a backup of my website using cPanel. It is corrupted. I have a lot of posts I do not want to lose.
If I take the corrupted compressed file and open it. What folder would I upload to restore my posts and pages. Maybe that file isn't corrupted. The only files WinRar shows as bad are those from an addon site that I deleted but it is still in my backup.

I thought I would try this on a local server. I installed, sort of installed, WAMP. It didn't work but, I found something called DesktopServer. It worked wonderfully. A few clicks and I was set up and it even installed wordpress. It was almost as easy as using fantastico or softacuous.
I didn't put a link because I didn't want this to sound like a sales pitch for them, but this program works really, really well. I thought you technical folks might want to know.
Google it if you are interested.

Anyway, what folder should I look at to find my posts?

Thanks for considering my problem.
#filezilla #folder #restoring #wordpress
  • Profile picture of the author tracker411
    Install a fresh install of wordpress on your server first, then upload your backup copy of the wp-content folder overwriting the files currently in the wp-content folder.

    After that you will need to import your mysql database backup file into your database and that is it. If you are using cpanel hosting use phpmyadmin to
    import your database file.

    All your posts, pages and wordpress settings are stored in the mysql database.
    Signature

    Hello Everyone

    {{ DiscussionBoard.errors[8939558].message }}
    • Profile picture of the author joe ferdinando
      To do a manual install you will need a copy of your database file. If your hosting account is still active or if you have a backup check your database in phpmyadmin in cpanel!

      Now if you database is good then you can install a new version of wordpress over the old one or delete all old files and reinstall new. BUT WAIT ensure you save a copy of your config file. your old config file will have your database name, username and password to connect. You will need that info to install a new version of wordpress or just upload the config file after upload of wordpress files!

      Now all your old themes ans plugins where installed in the wp contents folder so if you do a new install and have your old wp contents folder then upload and install over the new wordpress install!

      do this and you should be OK
      Signature
      {{ DiscussionBoard.errors[8939571].message }}
  • Profile picture of the author gerardojv
    What type of backup did you use on cPanel? Backup wizard or just backup?

    And if backup wizard, did you do a full backup or partial backup?

    Is the website of the backup you created still live? Or is it gone?
    {{ DiscussionBoard.errors[8939772].message }}
  • Profile picture of the author schleprock
    I used cPanel backup wizard.
    I did a full backup.
    The website is still alive.
    The wizard does not allow me to restore a full backup through cPanel. Also, Wordfence detected a malware file. I deleted it.
    My backup for everything was created on 1/24/2014. On that date everything was working fine. So it should be good.

    Thanks to everyone for answering. I got new information from all of you that is useful. Above are the answers gerardojv. Maybe you can help me figure out the least painful way for me to extricate myself from this problem.
    {{ DiscussionBoard.errors[8939804].message }}
  • Profile picture of the author gerardojv
    schleprock you can PM me anytime you'd like, just ask away!

    Gerardo
    {{ DiscussionBoard.errors[8939870].message }}
  • Profile picture of the author schleprock
    tracker411
    how can I tell which database is the one I am currently looking using. MySQL show more than one. In the past I had some addon domains but they are now all gone. I have chosen to concentrate on only one blog.
    joe ferdinando
    same problem, I don't know what to get when I look into phpmyadmin.

    I think you guys are both talking about the same thing but are choosing different ways to access it.

    Will all of these things be available in the decompressed version of my backup.

    I lack technical skills. Sorry
    {{ DiscussionBoard.errors[8939882].message }}
    • Profile picture of the author RobinInTexas
      Originally Posted by schleprock View Post

      tracker411
      how can I tell which database is the one I am currently looking using. MySQL show more than one. In the past I had some addon domains but they are now all gone. I have chosen to concentrate on only one blog.
      joe ferdinando
      same problem, I don't know what to get when I look into phpmyadmin.

      I think you guys are both talking about the same thing but are choosing different ways to access it.

      Will all of these things be available in the decompressed version of my backup.

      I lack technical skills. Sorry
      Look in the root directory for a file called wp-config.php and view it, it will have the name of the database.
      Or you can browse through the databases in phpMyadmin and examine the table called wp_options and one of the first few records will show which blog is stored in that database.
      Signature

      Robin



      ...Even if you're on the right track, you'll get run over if you just set there.
      {{ DiscussionBoard.errors[8940068].message }}
    • Profile picture of the author joe ferdinando
      Originally Posted by schleprock View Post

      tracker411
      how can I tell which database is the one I am currently looking using. MySQL show more than one. In the past I had some addon domains but they are now all gone. I have chosen to concentrate on only one blog.
      joe ferdinando
      same problem, I don't know what to get when I look into phpmyadmin.

      I think you guys are both talking about the same thing but are choosing different ways to access it.

      Will all of these things be available in the decompressed version of my backup.

      I lack technical skills. Sorry
      Go into your cpanel and find file manager. Open it and go to your public_html folder. If your installed on your root you will see the file named wp-config.php, if your installed on a subdomain then look for the folder your wordpress was installed in and look for the file wp-config.php.

      Once you find that file you can right click it or select it and click edit to view your wp-config.php details. Then copy the details to notepad or download a copy and save it!

      while there save a copy of your wp contents folder so you have all your themes and plugins and images saved!

      Now nobody told you and you didn't ask but this is important:
      1) Ensure all files permissions are set to 644 and all folders are set to 755
      2) Set wp config file to 600 and delete the wp sample config file
      3) After install go to admin folder wp admin and delete install and install helper files

      that will help you prevent getting hacked!

      another thing, you are better off downloading and installing wordpress manually rather than using fantastico because of the permissions set and security keys!
      Signature
      {{ DiscussionBoard.errors[8940330].message }}

Trending Topics