Title: Transferring Databases
Last modified: August 21, 2016

---

# Transferring Databases

 *  [mhollis](https://wordpress.org/support/users/mhollis/)
 * (@mhollis)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/transferring-databases-1/)
 * I am currently working on a WordPress site for a client and her current site 
   has thousands of pages dating back to 2006.
 * Is there a way to replicate the entire site in a new design by just grabbing 
   the database of posts and uploading that database to the new WP website?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [bemdesign](https://wordpress.org/support/users/bemdesign/)
 * (@bemdesign)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/transferring-databases-1/#post-4150651)
 * Like download a copy of the database to your development environment? Yes.
 * Access the sites database with PHPMyAdmin (or some other database tool), export
   the database (should generate a big long block of SQL code).
 * Copy and paste this SQL code, using PHPMyAdmin’s import tool to your local dev
   environment’s database.
 * Download the uploads folder (it has all the images) and place it in the wp-content
   folder of your local dev environment.
 * Finish up by running a find and replace across all the tables to update all the
   urls to match the dev environment.
 * See also: [http://codex.wordpress.org/Moving_WordPress](http://codex.wordpress.org/Moving_WordPress)
 * Hope this helps.
 *  Thread Starter [mhollis](https://wordpress.org/support/users/mhollis/)
 * (@mhollis)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/transferring-databases-1/#post-4150759)
 * This will automatically re-create all pages?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Transferring Databases’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [mhollis](https://wordpress.org/support/users/mhollis/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/transferring-databases-1/#post-4150759)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
