Title: Database vanished
Last modified: August 20, 2016

---

# Database vanished

 *  [PhileasF](https://wordpress.org/support/users/phileasf/)
 * (@phileasf)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/database-vanished/)
 * Good afternoon – really really need help here. Have a self-hosted WP account 
   that was working perfectly fine until this morning. This morning, all ot the 
   WP content vanished along with the themes. Fortunately, was able to resurrect
   the theme from a backup. But cannot locate the database anywhere.
 * To my knowledge, I had backed up my entire server data from cpanel in one fell
   swoop a month ago… but I can’t find the WP data on that backup anywhere! Unfortunately,
   I didn’t make a separate backup.
 * Can someone please help? I assume it would be a *.sql file, but is that even 
   accurate? Is there any way to locate or resurrect it?
 * Thank you!

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

 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/database-vanished/#post-2956145)
 * In your old site backup, review the db info in wp-config.php (usually that file
   just needs to re-uploaded if it contains the proper information)
 *  [Krishna](https://wordpress.org/support/users/1nexus/)
 * (@1nexus)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/database-vanished/#post-2956146)
 * > Can someone please help? I assume it would be a *.sql file, but is that even
   > accurate? Is there any way to locate or resurrect it?
 * Yes. You can restore your site from the sql file, excepting the images that are
   located in your uploads directory. If you made a complete site backup, look for
   the latter mentioned directory also.
 *  Thread Starter [PhileasF](https://wordpress.org/support/users/phileasf/)
 * (@phileasf)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/database-vanished/#post-2956148)
 * Thank you both for the quick response! I can’t seem to locate a wp-config file
   in the backup. I see wp-content, wp-includes and wp-admin folders, but no files
   or folders named wp-config. Any ideas?
    Thank you again.
 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/database-vanished/#post-2956149)
 * It will be in the main folder (at same location as the folders you mentioned),
   if site was backed up properly.
 *  Thread Starter [PhileasF](https://wordpress.org/support/users/phileasf/)
 * (@phileasf)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/database-vanished/#post-2956164)
 * Just to confirm, I’m looking for a folder called wp-content? There’s a file with
   that name, but it’s a 3K documentation file, not my file. Otherwise, doesn’t 
   look good. Is there any hope at all if the file/folder isn’t in my backup?
 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/database-vanished/#post-2956169)
 * > Just to confirm, I’m looking for a folder called wp-content
 * Nope. The file will be IN the same folder (of thebackup) and the folders wp-content,
   wp-admin, wp-includes.
 * > Is there any hope at all if the file/folder isn’t in my backup?
 * Contact your host to gain the information required.
 *  Thread Starter [PhileasF](https://wordpress.org/support/users/phileasf/)
 * (@phileasf)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/database-vanished/#post-2956171)
 * I meant wp-config, sorry. Partial good news – I’ve found all the posted photos
   in the backup in the upload file: wp-contents/upload. I just ran another full
   backup and still don’t have a file wp-config. It’s not in the previous backup
   or this one. Any ideas where it might be or what else it could be called?
 *  [dragonsjaw](https://wordpress.org/support/users/dragonsjaw/)
 * (@dragonsjaw)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/database-vanished/#post-2956176)
 * Ask your hosts if they have a backup they can reinstate.

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

The topic ‘Database vanished’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 4 participants
 * Last reply from: [dragonsjaw](https://wordpress.org/support/users/dragonsjaw/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/database-vanished/#post-2956176)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
