WP-DB-Backup

Description

WP-DB-Backup allows you easily to backup your core WordPress database tables. You may also backup other tables in the same database.

Released under the terms of the GNU GPL, version 2.
http://www.fsf.org/licensing/licenses/gpl.html

          NO WARRANTY.

Copyright (c) 2016 Austin Matzko

Source Code on GitHub

Installation

  1. Extract the wp-db-backup/ folder file to /wp-content/plugins/
  2. Activate the plugin at your blog’s Admin -> Plugins screen
  3. The plugin will attempt to create a directory /wp-content/backup-*/ inside your WordPress directory.
  4. You may need to make /wp-content writable (at least temporarily) for it to create this directory.
    For example:
    $ cd /wordpress/
    $ chgrp www-data wp-content (where “www-data” is the group your FTP client uses)
    $ chmod g+w wp-content

FAQ

How do I restore my database from a backup?

Briefly, use phpMyAdmin, which is included with most hosting control panels. More details and links to further explanations are here.

My backup stops or hangs without completing.

If you edit the text of wp-db-backup.php in a text editor like Notepad, you’ll see around line 50 the following:

/**
* Set MOD_EVASIVE_OVERRIDE to true
* and increase MOD_EVASIVE_DELAY
* if the backup stops prematurely.
*/
// define('MOD_EVASIVE_OVERRIDE', false);
define('MOD_EVASIVE_DELAY', '500');

Do what it says: un-comment MOD_EVASIVE_OVERRIDE and set it to true like so:

define('MOD_EVASIVE_OVERRIDE', true);

That will slow down the plugin, and you can slow it even further by increasing the MOD_EVASIVE_DELAY number from 500.

Better yet, put the lines that define the MOD_EVASIVE_OVERRIDE and MOD_EVASIVE_DELAY constants in your wp-config.php file, so your settings don’t get erased when you upgrade the plugin.

What is wp-db-backup.pot for?

This files is used by non-English users to translate the display into their native language. Translators are encouraged to send me translated files, which will be made available to others here:
http://austinmatzko.com/wordpress-plugins/wp-db-backup/i18n/
https://plugins.trac.wordpress.org/browser/wp-db-backup/i18n/

Why are only the core database files backed up by default?

Because it’s a fairly safe bet that the core WordPress files will be successfully backed up. Plugins vary wildly in the amount of data that they store. For instance, it’s not uncommon for some statistics plugins to have tens of megabytes worth of visitor statistics. These are not exactly essential items to restore after a catastrophic failure. Most poeple can reasonably live without this data in their backups.

Reviews

Just What You Need When You Need It

WP-DB-Backup has always been one of my must-have plugins for years! Not only do I use it on all of my sites, it’s also one of the first things I install on my clients’ sites.

As an Online Business Manager and web designer, I use it to make on-demand backups before and after I make changes to a website. I also use the scheduling feature for automatic backups.

WP-DB-Backup has saved numerous business owners a lot of grief because I had a resent, clean backup of their database. Since I download the site files when I do the db backup it makes it easy to fix the site when something goes wrong.

One of the things I like best about this plugin is that it’s so simple. Not a lot of fluff. It just does the job and does it well.

Thanks for the plugin, Austin. I don’t know what I’d do without it.

Read all 61 reviews

Contributors & Developers

“WP-DB-Backup” is open source software. The following people have contributed to this plugin.

Contributors

“WP-DB-Backup” has been translated into 12 locales. Thank you to the translators for their contributions.

Translate “WP-DB-Backup” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.3.0

  • Remove backup directory use

2.2.4

  • Remove deprecated functionality
  • Do not attempt to delete non-existent files

2.2.3

  • Nonce check fix for localized WP users from Sergey Biryukov
  • Fix for gzipped files’ incorrect size.
  • Some styling improvements.
  • Fix for JS multiple checkbox selection.