Title: Imported Backup to Wrong Database
Last modified: August 19, 2016

---

# Imported Backup to Wrong Database

 *  Resolved [whisperproject](https://wordpress.org/support/users/whisperproject/)
 * (@whisperproject)
 * [17 years ago](https://wordpress.org/support/topic/imported-backup-to-wrong-database/)
 * I have a client with two separate WordPress powered sites. I was attempting to
   import the database backup for Site 2 to his database, and I accidentally imported
   it to the database for Site 1, which already had a month’s worth of content without
   backup.
 * Is there any way I can restore Site 1’s database?

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

 *  Thread Starter [whisperproject](https://wordpress.org/support/users/whisperproject/)
 * (@whisperproject)
 * [17 years ago](https://wordpress.org/support/topic/imported-backup-to-wrong-database/#post-1083751)
 * The location in phpMyAdmin where I imported the file was actually not either 
   of the two databases. I did not select a database before doing the import, so
   it apparently chose to overwrite Site 1’s tables by default.
 *  Thread Starter [whisperproject](https://wordpress.org/support/users/whisperproject/)
 * (@whisperproject)
 * [17 years ago](https://wordpress.org/support/topic/imported-backup-to-wrong-database/#post-1083800)
 * I assumed there was no way to restore it, so I figured out my own solution: I
   imported an old backup I had of the database from two months ago, then use Google’s
   cache of the site to repost each of the missing posts. Time consuming, but a 
   decent solution, nonetheless.
 * Hope this helps someone else!
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [17 years ago](https://wordpress.org/support/topic/imported-backup-to-wrong-database/#post-1083806)
 * sounds like a great solution – very quickly done!

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

The topic ‘Imported Backup to Wrong Database’ is closed to new replies.

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 2 participants
 * Last reply from: [Samuel B](https://wordpress.org/support/users/samboll/)
 * Last activity: [17 years ago](https://wordpress.org/support/topic/imported-backup-to-wrong-database/#post-1083806)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
