Jul 262011
 
WordPress Plugin Name: Database Backup for WordPress
Plugin URL:https://wordpress.org/plugins/wp-db-backup/

Plugin Author: Delicious Brains
WordPress profile: Delicious Brains
Plugin version: 2.5.2
Last updated: May 26, 2022 (1 month ago)
Tested up to (WP version): WP 6.0
Downloaded: 0
Rating: 5 (out of 5)

Description


Backup your database instantly, send the backup via email, or schedule backups to run automatically.

Database Backup for WordPress allows you to quickly back up your core WordPress database tables, and either download the backup as a gzipped file, or send it via email to an address you choose.

By default, the plugin will always back up all the core WordPress database tables. However, you may also selectively back up any custom tables that might be created by other plugins

Additional options include the ability to exclude spam comments from the comments table, or post revisions from the posts table, saving you space and bandwidth.

You can also enable scheduled backups to run automatically at set intervals, and configure the email address to send the scheduled backups to.

Backup Before You Mess Up

Backups are the one thing you don’t think of until you need them. You might have the best web host, the most secure server, and a tried and tested process for running plugin, theme, or core updates. But all it takes is one little thing to go wrong, and you lose your entire website.

You need a reliable and automated solution which backs up your WordPress data and sends it to an off-site location. Database Backup for WordPress is that solution.

Why You Should Back Up Your Website

As much planning as you do, any CMS like WordPress that stores its data in a database is vulnerable. Hardware, software, and security hiccups are rare, but they do happen. Even the best enterprise systems in the world have multiple levels of backup in place.

Think about the data you store in your WordPress site. Your blog posts since the day you launched the site. Your customers, products, and order history if you run an ecommerce site. Backups are like implementing an insurance policy for your data. With backups, you have a reliable way of restoring that data if anything goes wrong.

Simple, automated backups save you time and give you peace of mind that you are prepared for the worst case scenario, even if you never need it. Better to have it and not need it, than to not have it and suddenly need it.

Scheduled Backups

Depending on your needs, you might want to back up your database every few minutes, hourly, daily, weekly, or monthly. You’ll want to automate this process, or it becomes another possible point of failure.

Scheduled backups give you peace of mind that your data is being backed up as much or as little as you need, without your intervention. By emailing the backups to an email address you choose, you can verify that the backup has run, and store it in a safe location.

Translators

Thanks to the following people for providing translation files for Database Backup for WordPress:

  • Abel Cheung
  • Alejandro Urrutia
  • Alexander Kanakaris
  • Angelo Andrea Iorio
  • Calle
  • Daniel Erb
  • Daniel Villoldo
  • Diego Pierotto
  • Eilif Nordseth
  • Eric Lassauge
  • Friedlich
  • Gilles Wittezaele
  • Icemanpro
  • İzzet Emre Erkan
  • Jong-In Kim
  • Kaveh
  • Kessia Pinheiro
  • Kuratkoo
  • Majed Alotaibi
  • Michał Gołuński
  • Michele Spagnuolo
  • Paopao
  • Philippe Galliard
  • Robert Buj
  • Roger
  • Rune Gulbrandsøy
  • Serge Rauber
  • Sergey Biryukov
  • Tai
  • Timm Severin
  • Tzafrir Rehan
  • 吴曦

Past Contributors

filosofo, skippy, Firas, LaughingLizard, MtDewVirus, Podz, Ringmaster



FAQ


How do I restore my database from a backup?

The backup file is a gzipped MySQL database export, which can be used to restore with MySQL applications like phpMyAdmin, included with most hosting control panels. If you are comfortable with the command line, you can also restore the database using the mysql command. More info on how to restore databases is available here.

Why does my backup stop or hang without completing?

If the backup stops prematurely, you can enable a plugin setting that will implement a small delay after each table is backed up. To do this, add the following line to your wp-config.php file, just above the /* That's all, stop editing! Happy publishing. */ line:

define( 'DBBWP_MOD_EVASIVE_OVERRIDE', true );

If you are still experiencing problems, you can also increase the delay, by defining the DBBWP_MOD_EVASIVE_DELAY constant in your wp-config.php file and giving it a value higher than 500 (which is the default).

define( 'DBBWP_MOD_EVASIVE_DELAY', '600' );

We recommend incrementing the value by 100 each time, until the process completes successfully.

What is `wp-db-backup.pot` for?

This file is used by non-English users to translate the user interface text into their native language. Translators are encouraged to submit translated files, which will be made available to others here.

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

Generally the most important site data is stored in the core WordPress tables. It’s not uncommon for some plugins to have a bunch of visitor statistics stored in their custom tables that aren’t usually considered essential data that needs to be restored after a catastrophic failure. However, it’s possible that some important data is stored in these additional tables, and you may want to back them up. We recommend reviewing the current tables in your database, and deciding which ones you would need in the case of a catastrophic failure.

Why aren’t my backups being generated correctly?

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. For example:

  1. $ cd /wordpress/
  2. $ chgrp www-data wp-content (where “www-data” is the group your FTP client uses)
  3. $ chmod g+w wp-content



Screenshots:


  1. Backup tables

    Backup tables

  2. Backup options

    Backup options

  3. Scheduled backup

    Scheduled backup



Other notes:




Latest Change log entry:


  • Security: “Scheduled Backup” form now has nonce check


Tags:


backup, database, database backup, mysql

+ Jason's Comments

This plugin “WordPress Database Backup (WP-DB-Backup)” works great as a simple database backup. For full site backup I recommend BackWPup which allows for files and database optimization as well.


Top