Title: Bad backups
Last modified: August 31, 2016

---

# Bad backups

 *  [donnaWPadmin](https://wordpress.org/support/users/donnawpadmin/)
 * (@donnawpadmin)
 * [10 years ago](https://wordpress.org/support/topic/bad-backups/)
 * I just found out, sadly, that the backups are no good…the backup doesn’t have
   the “create database” …or any database information in the backup, so it gives
   error on restore.
 * Luckily, I had some phpMyAdmin backups, and I was able to copy and paste the 
   database information from one of those (older) backups into the top of one your
   backup files and make it work. But you may want to fix that before others get
   a little angry and frustrated.
 * geez, 3 different backup features, and every one of them failed. And aren’t you
   guys the author of backup buddy? wow…how did you write a program for a db backup
   that doesn’t put the db info in the file?
 * [https://wordpress.org/plugins/better-wp-security/](https://wordpress.org/plugins/better-wp-security/)

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

 *  [dwinden](https://wordpress.org/support/users/dwinden/)
 * (@dwinden)
 * [10 years ago](https://wordpress.org/support/topic/bad-backups/#post-7346730)
 * [@donna](https://wordpress.org/support/users/donna/)
 * The iTSec plugin **Database Backup** feature does not add a “create database …”
   statement to the backup file.
    It only adds the following 3 types of statements
   to the backup file:
    - DROP TABLE IF EXISTS …
    - CREATE TABLE …
    - INSERT INTO …
 * So on restore you would normally need to create the database yourself and then
   import the database backup file into that database.
 * dwinden
 *  Thread Starter [donnaWPadmin](https://wordpress.org/support/users/donnawpadmin/)
 * (@donnawpadmin)
 * [10 years ago](https://wordpress.org/support/topic/bad-backups/#post-7346732)
 * Uhhhh, didn’t I already “say” that? I am pretty **certain** that I did.
 * It was a suggestion. I know that it’s possible…because the export that phpMyAdmin
   does (and other backup progams/plugins as well) creates a database file with 
   a “create database” query in it…and then goes on to create the existing database
   that I backed up, complete with proper database name, username, password, table
   prefixes, etc etc.
 * To go back and “manually” have to re-create the database, complete with name,
   passwords, etc etc…means you have to go and look up all that stuff (providing
   you are experienced enough to have saved it, I am, but not everyone is…there 
   are a lot of newbies using WordPress these days) which is time consuming at the
   least, and significantly detracts from the quality of the backup your program
   generates. I was merely making a suggestion for improvement…which it COULD use,
   no matter how much you waddle around the subject.
 * Unfortunately, my iThemes DB backup was the most recent one, but I won’t make
   that mistake again.
 * OK, so perhaps I shouldn’t have said “no good” …because it was of “some” use…
   just not completely useful.
 *  Thread Starter [donnaWPadmin](https://wordpress.org/support/users/donnawpadmin/)
 * (@donnawpadmin)
 * [10 years ago](https://wordpress.org/support/topic/bad-backups/#post-7346733)
 * Dwinden. you are NOT even the author of the plugin! what the heck are you posting
   here for?? I’m not a friggin idiot…all you did was repeat what I said…I know 
   what is in the file…I edited it and fixed it and made it work. Go be useful somewhere
   else…if you can.
 * Some people should check if they have anything ‘useful’ before they post. This
   was NOT a post soliciting help from the community, it was to the author, and 
   the author only. (because nobody else adds features to their software, so if 
   they “read” correctly, should realize there is nothing for them to input here)
 * …although it would be useful for a newer person to read…it would help them realize
   maybe why the restore of this database backup isn’t working for them…
 *  [dwinden](https://wordpress.org/support/users/dwinden/)
 * (@dwinden)
 * [10 years ago](https://wordpress.org/support/topic/bad-backups/#post-7346735)
 * [@donna](https://wordpress.org/support/users/donna/)
 * Thank you for that clarification. Apparently it was necessary …
    I guess putting
   that clarification in your first post would have contributed to a better understanding
   of this topic …
 * Also instead of using the 2-words-only topic title “Bad backups” it would have
   been better to use something like:
 * > Feature request: Add create DB info to Database Backup
 * Anyway I guess I’m the idiot and you’re perfect 😉
 * dwinden

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

The topic ‘Bad backups’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [dwinden](https://wordpress.org/support/users/dwinden/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/bad-backups/#post-7346735)
 * Status: not resolved