Title: Database Backup for WordPress
Author: WP Engine
Published: <strong>12 juillet 2005</strong>
Last modified: 26 mai 2022

---

Recherche d’extensions

![](https://ps.w.org/wp-db-backup/assets/banner-772x250.jpg?rev=2645691)

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

![](https://ps.w.org/wp-db-backup/assets/icon.svg?rev=2645691)

# Database Backup for WordPress

 Par [WP Engine](https://profiles.wordpress.org/wpengine/)

[Télécharger](https://downloads.wordpress.org/plugin/wp-db-backup.2.5.2.zip)

 * [Détails](https://fr.wordpress.org/plugins/wp-db-backup/#description)
 * [Avis](https://fr.wordpress.org/plugins/wp-db-backup/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/wp-db-backup/#installation)
 * [Développement](https://fr.wordpress.org/plugins/wp-db-backup/#developers)

 [Support](https://wordpress.org/support/plugin/wp-db-backup/)

## 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.

### Traducteurs

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

## Captures d’écrans

 * [[
 * Backup tables
 * [[
 * Backup options
 * [[
 * Scheduled backup

## Installation

From your WordPress dashboard

 1. **Visit** Plugins > Add New
 2. **Search** for « Database Backup for WordPress »
 3. **Install and Activate** Database Backup for WordPress from your Plugins page
 4. **Click** on **Backup** in the « Tools » menu item, to select your backup settings,
    or schedule a backup to run automatically

## 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](https://wordpress.org/support/article/restoring-your-database-from-backup/).

### 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](https://plugins.trac.wordpress.org/browser/wp-db-backup/i18n/).

### 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`

## Avis

![](https://secure.gravatar.com/avatar/46e31146d1b143100e3062cf609dc785cdd46c55d51ae620561bc3441d63fcfa?
s=60&d=retro&r=g)

### 󠀁[very slow](https://wordpress.org/support/topic/very-slow-47/)󠁿

 [Vu Tru So](https://profiles.wordpress.org/vutruso/) 1 mai 2022

Very slow, Please make it faster

![](https://secure.gravatar.com/avatar/eeea6db1f3711d74ae1546e1804ceeee57399a00acc1a11fdf12c1be3e8e39ad?
s=60&d=retro&r=g)

### 󠀁[does it’s job](https://wordpress.org/support/topic/does-its-job-67/)󠁿

 [meisterleise](https://profiles.wordpress.org/meisterleise/) 13 mars 2019

…but it’s very, very slow. So don’t use it, if you’re in hurry! 🤣

![](https://secure.gravatar.com/avatar/6fe6672dc02a862c1039f44b0e53c24a2e8c84d67dbaeb0dc62497b68e369cc0?
s=60&d=retro&r=g)

### 󠀁[Good plugin](https://wordpress.org/support/topic/good-plugin-3381/)󠁿

 [](https://profiles.wordpress.org/abacusgnus/) 6 février 2019

The backups went fine and I saved them on my computer. The problem came after my
site went wonky and I tried to restore. Then I noticed that the « Restore » function
is a premium addition. After a confused search in panic, I discovered the creators
of this plugin have another plugin that restores for us poor sods who didn’t go 
premium. This « Restore » plugin worked great. The support was TOP class. They answered
my queries straight away and were very helpful.

![](https://secure.gravatar.com/avatar/96db26dbe0815f2ecca1a3fde45327a4bda46475b674685e6d39b22d92e14dca?
s=60&d=retro&r=g)

### 󠀁[Love this plugin – just wish one feature was added](https://wordpress.org/support/topic/love-this-plugin-just-wish-one-feature-was-added/)󠁿

 [jonalmada](https://profiles.wordpress.org/jonalmada/) 20 juin 2018 1 réponse

This plugin is awesome! It works beautifully. I just wish the automatic scheduled
backups gave us the option to save the backups locally to a directory of our choice.
I hope the developer(s) read this and continue to update the plugin.

![](https://secure.gravatar.com/avatar/cff3a6bd318f877bee4df147931331e91b17185ae165bf482d3a0bfaabcff9ab?
s=60&d=retro&r=g)

### 󠀁[Has PHP errors](https://wordpress.org/support/topic/has-php-errors/)󠁿

 [corsac](https://profiles.wordpress.org/corsac/) 7 juin 2018 1 réponse

This is the first thing i see on all my pages: Notice: Undefined index: wp_db_temp_dir
in /var/www/html/wp-content/plugins/wp-db-backup/wp-db-backup.php on line 112

![](https://secure.gravatar.com/avatar/4b6a828717db92b7ee02892b04d285356eb3d6022fc85c9c922954a0695304ee?
s=60&d=retro&r=g)

### 󠀁[Install, activate, setup and forget … until needed](https://wordpress.org/support/topic/install-activate-setup-and-forget-until-needed/)󠁿

 [barnez](https://profiles.wordpress.org/pidengmor/) 3 juin 2018

This is an excellent database plugin. I have daily host-level backups, and once 
a month I take a full cPanel backup, but as a belt and braces approach I now have
daily database backups being sent to an email address, and filtered to a backup 
folder. Hope I never need them, but if I do I will be relieved to see these archived.

 [ Lire les 66 avis ](https://wordpress.org/support/plugin/wp-db-backup/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« Database Backup for WordPress » est un logiciel libre. Les personnes suivantes
ont contribué à cette extension.

Contributeurs

 *   [ WP Engine ](https://profiles.wordpress.org/wpengine/)
 *   [ Delicious Brains ](https://profiles.wordpress.org/deliciousbrains/)

“Database Backup for WordPress” a été traduit dans 24 locales. Remerciez [l’équipe de traduction](https://translate.wordpress.org/projects/wp-plugins/wp-db-backup/contributors)
pour ses contributions.

[Traduisez « Database Backup for WordPress » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/wp-db-backup)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/wp-db-backup/), consulter
le [SVN dépôt](https://plugins.svn.wordpress.org/wp-db-backup/), ou s’inscrire au
[journal de développement](https://plugins.trac.wordpress.org/log/wp-db-backup/)
par [RSS](https://plugins.trac.wordpress.org/log/wp-db-backup/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 2.5.2 – 2022-05-09

 * Security: « Scheduled Backup » form now has nonce check

#### 2.5.1 – 2022-01-17

 * Security: Make sure table exists before attempting backup

#### 2.5 – 2021-12-17

 * New: Brand new user interface
 * Improvement: Compatibility with WordPress 5.8

#### 2.4

 * Compatibility with PHP 8 and WordPress 5.7
 * Fix email backup functionality
 * Fix for bug where backup file would be gzipped twice
 * Fixes for several PHP notices
 * Add `DBBWP_` prefix to global constants

#### 2.3

 * 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

## Méta

 *  Version **2.5.2**
 *  Dernière mise à jour **il y a 4 ans**
 *  Installations actives **70 000+**
 *  Version de WordPress ** 3.6.0 ou plus **
 *  Testé jusqu’à **6.0.11**
 *  Version de PHP ** 5.3 ou plus **
 *  Langues
 * [Arabic](https://ar.wordpress.org/plugins/wp-db-backup/), [Catalan](https://ca.wordpress.org/plugins/wp-db-backup/),
   [Chinese (China)](https://cn.wordpress.org/plugins/wp-db-backup/), [Czech](https://cs.wordpress.org/plugins/wp-db-backup/),
   [Danish](https://da.wordpress.org/plugins/wp-db-backup/), [Dutch](https://nl.wordpress.org/plugins/wp-db-backup/),
   [English (Canada)](https://en-ca.wordpress.org/plugins/wp-db-backup/), [English (UK)](https://en-gb.wordpress.org/plugins/wp-db-backup/),
   [English (US)](https://wordpress.org/plugins/wp-db-backup/), [French (France)](https://fr.wordpress.org/plugins/wp-db-backup/),
   [Galician](https://gl.wordpress.org/plugins/wp-db-backup/), [German](https://de.wordpress.org/plugins/wp-db-backup/),
   [Greek](https://el.wordpress.org/plugins/wp-db-backup/), [Hungarian](https://hu.wordpress.org/plugins/wp-db-backup/),
   [Italian](https://it.wordpress.org/plugins/wp-db-backup/), [Japanese](https://ja.wordpress.org/plugins/wp-db-backup/),
   [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/wp-db-backup/), [Romanian](https://ro.wordpress.org/plugins/wp-db-backup/),
   [Russian](https://ru.wordpress.org/plugins/wp-db-backup/), [Serbian](https://sr.wordpress.org/plugins/wp-db-backup/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/wp-db-backup/), [Spanish (Colombia)](https://es-co.wordpress.org/plugins/wp-db-backup/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/wp-db-backup/), [Spanish (Venezuela)](https://ve.wordpress.org/plugins/wp-db-backup/),
   et [Swedish](https://sv.wordpress.org/plugins/wp-db-backup/).
 *  [Traduisez la dans votre langue](https://translate.wordpress.org/projects/wp-plugins/wp-db-backup)
 * Étiquettes
 * [backup](https://fr.wordpress.org/plugins/tags/backup/)[database](https://fr.wordpress.org/plugins/tags/database/)
   [database backup](https://fr.wordpress.org/plugins/tags/database-backup/)[mysql](https://fr.wordpress.org/plugins/tags/mysql/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/wp-db-backup/advanced/)

## Évaluations

 4.5 sur 5 étoiles.

 *  [  53 avis à 5 étoiles     ](https://wordpress.org/support/plugin/wp-db-backup/reviews/?filter=5)
 *  [  3 avis à 4 étoiles     ](https://wordpress.org/support/plugin/wp-db-backup/reviews/?filter=4)
 *  [  3 avis à 3 étoiles     ](https://wordpress.org/support/plugin/wp-db-backup/reviews/?filter=3)
 *  [  2 avis à 2 étoiles     ](https://wordpress.org/support/plugin/wp-db-backup/reviews/?filter=2)
 *  [  5 avis à 1 étoiles     ](https://wordpress.org/support/plugin/wp-db-backup/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-db-backup/reviews/#new-post)

[Voir tous les avis](https://wordpress.org/support/plugin/wp-db-backup/reviews/)

## Contributeurs

 *   [ WP Engine ](https://profiles.wordpress.org/wpengine/)
 *   [ Delicious Brains ](https://profiles.wordpress.org/deliciousbrains/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/wp-db-backup/)