Plugin Author: Austin Matzko
WordPress profile: Austin Matzko
Last updated: January 27, 2018 (6 months ago)
Tested up to (WP version): WP 4.9.7
Rating: 5 (out of 5)
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.
NO WARRANTY. Copyright (c) 2018 Austin Matzko
- Click the Tools or Manage menu in your WordPress admin area.
Click the Backup sub-menu.
The plugin will look for other tables in the same database. You may elect to include other tables in the backup.
** NOTE **
Including other tables in your backup may substantially increase the size of the backup file!
This may prevent you from emailing the backup file because it’s too big.
Select how you’d like the backup to be delivered:
* Download to your computer : this will send the backup file to your browser to be downloaded
* Email : this will email the backup file to the address you specify
- Click “Backup!” and your database backup will be delivered to you.
The filename of the backup file will be of the form
DB = the name of your WordPress database, as defined in wp-config.php
prefix = the table prefix for this WordPress blog, as defined in wp-config.php
date = CCYYmmdd_B format: 20050711_039
the “B” is the internet “Swatch” time.
See the PHP date() function for details.
When having the database backup emailed or sent to your browser for immediate download, the backup file will be deleted from the server when the transfer is finished.
If you are using WordPress version 2.1 or newer, you can schedule automated backups to be sent to the email address
of your choice.
Thanks to following people for providing translation files for WP-DB-Backup:
* Abel Cheung
* Alejandro Urrutia
* Alexander Kanakaris
* Angelo Andrea Iorio
* Daniel Erb
* Daniel Villoldo
* Diego Pierotto
* Eilif Nordseth
* Eric Lassauge
* Gilles Wittezaele
* İzzet Emre Erkan
* Jong-In Kim
* Kessia Pinheiro
* Majed Alotaibi
* Michał Gołuński
* Michele Spagnuolo
* Philippe Galliard
* Robert Buj
* Rune Gulbrandsøy
* Serge Rauber
* Sergey Biryukov
* Timm Severin
* Tzafrir Rehan
skippy, Firas, LaughingLizard, MtDewVirus, Podz, Ringmaster
- Extract the wp-db-backup/ folder file to /wp-content/plugins/
- Activate the plugin at your blog’s Admin -> Plugins screen
- The plugin will attempt to create a directory /wp-content/backup-*/ inside your WordPress directory.
- You may need to make /wp-content writable (at least temporarily) for it to create this directory.
$ cd /wordpress/
$ chgrp www-data wp-content (where “
www-data” is the group your FTP client uses)
$ chmod g+w wp-content
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:
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_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:
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.
Latest Change log entry:
backup, cron, database, mysql