Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Local host Wordpress Site using xammp


  • Please log in to reply
9 replies to this topic

#1 stantech

stantech

  • Members
  • 50 posts
  • OFFLINE
  •  
  • Local time:01:27 AM

Posted 05 December 2014 - 02:43 PM

I would like to test a backup of a wordpress website that is hosted on BlueHost.  I downloaded a backup of the site.  I also set up an xammp local server and downloaded wordpress.  The server runs wordpress and is ready for a new site to be developed; however, I want to restore the downloaded backup to the wordpress local host so that I can test the backup and use it to develop the site without risk to the live site.  I can't seem to find anything on the web as to where to put the backup files in the xammp directory or how to restore or import them to the host. I did put them in the htdocs folder and edited the wp_config.php file accordingly but could not get it to work.  Please help.  I would appreciate any guidance.  Thanks.



BC AdBot (Login to Remove)

 


#2 Martel

Martel

    Drfixup Human Internet Solutions


  • Members
  • 1,468 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina U.S.A.
  • Local time:01:27 AM

Posted 05 December 2014 - 10:45 PM

stantech,

 

Have you looked at http://codex.wordpress.org/Installing_WordPress



#3 stantech

stantech
  • Topic Starter

  • Members
  • 50 posts
  • OFFLINE
  •  
  • Local time:01:27 AM

Posted 08 December 2014 - 06:21 PM

Thanks for your response.  I did look at this and it helped me to get as far as I did, but I'm not sure I understand exactly where I need to put the content file for the backup website.  I have a feeling I'm missing something that is simple and obvious to most.  Right now I have a basic Wordpress local server working.  When I try to replace the content files with my backup and update the config.php to use the applicable database it errors.  I am not sure I am loading the right database.  the only database file that works is a small file that is a create file.  I assumed that it is a shortcut to the actual database.



#4 Digital_Veil

Digital_Veil

  • Members
  • 259 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:11:57 AM

Posted 08 December 2014 - 08:56 PM

Hey stantech,

You need to create a new database in XAMPP and then restore it with the backup you have instead of importing the database directly.



#5 stantech

stantech
  • Topic Starter

  • Members
  • 50 posts
  • OFFLINE
  •  
  • Local time:01:27 AM

Posted 10 December 2014 - 06:13 AM

After I create the new database how do I restore it with the backup?



#6 Martel

Martel

    Drfixup Human Internet Solutions


  • Members
  • 1,468 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina U.S.A.
  • Local time:01:27 AM

Posted 14 December 2014 - 09:06 PM

http://codex.wordpress.org/Restoring_Your_Database_From_Backup

 

 

More info is available at

http://codex.wordpress.org/WordPress_Backups



#7 heatherIDD

heatherIDD

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:02:27 PM

Posted 12 January 2015 - 12:32 AM

After you create a database, import your downloaded database. Put the file inside  the htdocs folder of your xampp folder. Do not forget to change the database name and path in your wp-config file.



#8 TheDcoder

TheDcoder

  • Members
  • 175 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Earth
  • Local time:11:57 AM

Posted 13 January 2015 - 11:12 AM

For convenience use duplicator plugin



#9 shanepearce

shanepearce

  • Banned
  • 50 posts
  • OFFLINE
  •  
  • Local time:05:27 PM

Posted 06 February 2015 - 06:56 AM

get Instant WordPress

Design your WordPress website on your own PC and deploy it to the web in a few simple steps!

http://www.instantwp.com/download/

 

login to website go to tools export 

Choose what to export

 

All content

 

 load Instant WordPress install wordpress import plugin import all content



#10 TheDcoder

TheDcoder

  • Members
  • 175 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Earth
  • Local time:11:57 AM

Posted 07 February 2015 - 12:57 AM

get Instant WordPress

Design your WordPress website on your own PC and deploy it to the web in a few simple steps!

http://www.instantwp.com/download/

 

login to website go to tools export 

Choose what to export

 

 

All content

 

 load Instant WordPress install wordpress import plugin import all content

I think the OP wants a copy of his website, not a fresh wp setup






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users