Title: DBC Backup 2
Author: Damien Saunders
Published: <strong>July 10, 2012</strong>
Last modified: January 5, 2014

---

Search plugins

![](https://ps.w.org/dbc-backup-2/assets/banner-772x250.png?rev=822004)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/dbc-backup-2_5eb8f7.svg)

# DBC Backup 2

 By [Damien Saunders](https://profiles.wordpress.org/damiensaunders-1/)

[Download](https://downloads.wordpress.org/plugin/dbc-backup-2.2.3.25.zip)

 * [Details](https://lin.wordpress.org/plugins/dbc-backup-2/#description)
 * [Reviews](https://lin.wordpress.org/plugins/dbc-backup-2/#reviews)
 *  [Installation](https://lin.wordpress.org/plugins/dbc-backup-2/#installation)
 * [Development](https://lin.wordpress.org/plugins/dbc-backup-2/#developers)

 [Support](https://wordpress.org/support/plugin/dbc-backup-2/)

## Description

DBC Backup 2 can give you the confidence that your WordPress database is backed-
up and securely stored on your server.

You select when and where your backup will be generated. The backup file is saved
to directory on your web server which for many people is free storage and more reliable
then saving to your home computer.

#### Key Features

 * Secure – The file name includes some random characters which makes it impossible
   for someone to guess the backup name and download it.
 * Safe – the backup directory is protected with a .htaccess and an empty index.
   html file which means no-one can browse or download the file via the web
 * Storage – If your server has supports it, you can select between three different
   compression formats: none, Gzip and Bzip2.
 * Schedule – you can set hourly, daily, weekly or monthly backup
 * Manual backup – anytime you want to save a backup before updating WordPress or
   installing a plugin you can.

#### Additional Info

The plugin will try to auto create the export directory.

This plugin creates it’s own sql file and does not use mysqldump like most other
plugins.

During backup, a log is created that includes, the generation date, file, filesize,
status and the duration of the generation.

The backup files are identical to what phpmyadmin would produce because DBC Backup
is using the key procedures of phpmyadmin.

DBC Backup was built to be fast, flexible and as simple as possible.

#### Checkout my other work

### CHANGE YOUR WEBSITE NOT YOUR THEME == responsive visual grid layout with Isotope.js & visual animation. [Free to download](http://wordpress.damien.co/shop/isotope/?utm_source=WordPress&utm_medium=dbc-backup&utm_campaign=WordPress-Plugin&utm_keyword=readme)

 * [Damien](http://damien.co/blog?utm_source=WordPress&utm_medium=dbc-backup&utm_campaign=WordPress-Plugin&utm_keyword=readme)–
   digital marketing strategy, technical development and digital marketing
 * [Ideas for WordPress](http://wordpress.damien.co/?utm_source=WordPress&utm_medium=dbc-backup&utm_campaign=WordPress-Plugin&utm_keyword=readme)
 * [Plugins for WordPress](http://wordpress.damien.co/plugins?utm_source=WordPress&utm_medium=dbc-backup&utm_campaign=WordPress-Plugin&utm_keyword=readme)

## Installation

 1. Upload the folder dbc-backup-2 to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. You can click on the Settings link from the Installed Plugins page or from the 
    link ‘DBC Backup’ on the Tools Menu.
 4. Configure the plugin settings and you are ready. You’ll need to know your server
    path to a folder you want the backup saved.

 * If the plugin can’t create the export directory you will have to do it manually(
   folder needs to group read/write

## FAQ

  Why create a server based back-up

It makes sense to me to keep the SQL database backup where you will most likely 
need it if something goes wrong. Many web hosts provide a large amount of free space
for you to store files. So rather than having to pay someone else for storing your
database backup you can use the free space you already have.

  Aren’t server based back-ups insecure?

Not really, server based back-ups are only unsafe if your server is prone to fail
or poorly protected from hacking.

  I want to make my backup more secure

That’s easy, the plugin creates a .htaccess file in the backup folder. You can open
this file and add to this code. The backup folder is protected against browsing 
or direct file access.

  Will you add a link to download the file from the web?

No, as this would mean any anonymous user with the link could download your backup
file. This would make things very insecure for you.

  Why doesn’t any compression format options appear?

Because Gzip and Bzip2 are not installed on your server.

  The plugin didn’t make a backup when I setup a specific wp-cron job

WP-Cron is different to server cron as it requires WordPress to trigger the batch
jobs. This means, for example if you have no visitors on your site at the time of
backup then the backup will run the next time someone browses your site. The same
problem also happens with things like scheduled posts.

  Seriously?

Yes, seriously. You can read up on wp-cron.

  How long have you been using this? and have you ever restored a site from the 
backup?

About 2 years I’ve been using this and yes, a few times I’ve used a backups to build
a fresh website.

  Does this work for multisite?

Yes, it will create a backup of all blogs and sub-sites. In the future I hope to
make it work for just selected blogs.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“DBC Backup 2” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ Damien Saunders ](https://profiles.wordpress.org/damiensaunders-1/)

[Translate “DBC Backup 2” into your language.](https://translate.wordpress.org/projects/wp-plugins/dbc-backup-2)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/dbc-backup-2/), check
out the [SVN repository](https://plugins.svn.wordpress.org/dbc-backup-2/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/dbc-backup-2/) by
[RSS](https://plugins.trac.wordpress.org/log/dbc-backup-2/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### Version 2.3

 * Major update, new layout
 * FIXED – issue with SQL file that prevented it from being imported
 * FIXED – a lot of the PHP error notices which annoy many developers
 * FIXED – now use mysqli.query as mysql_query is deprecated
 * FIXED – since 2.3.25 issue with plugin settings
 * NEW – since 2.3.25 plugin help pulldown menu added

#### Version 2.2

 * Killed a few bugs. Getting this ready for the next WordPress 3.6

#### Version 2.1.1

 * Making things a little bit harder. Added an index.php file so you can’t browse
   this plugin folder.

#### Version 2.1

 * New Admin Panel layout
 * Moved DBC backup from top-level menu to under Tools (where it should be)
 * Cleaned up the scheduling buttons to make it easier to use
 * FIXED – uninstall wasn’t deleting user options saved in the database.

#### Version 2.0

 * Submitted as ‘fork’ of the existing plugin
 * Tested and confirmed working on WordPress 3.4.1

#### Version 1.1

 * Added option to specify the interval between crons. e.g 1 hour, 2 days, 3 weeks,
   4 months etc etc
 * Added option to remove older than x days backups after a new backup generation

#### Version 1.0

 * First Initial Release

## Meta

 *  Version **2.3.25**
 *  Last updated **12 years ago**
 *  Active installations **100+**
 *  WordPress version ** 3.6 or higher **
 *  Tested up to **3.7.41**
 *  Language
 * [English (US)](https://wordpress.org/plugins/dbc-backup-2/)
 * Tags
 * [backup](https://lin.wordpress.org/plugins/tags/backup/)[cron](https://lin.wordpress.org/plugins/tags/cron/)
   [database](https://lin.wordpress.org/plugins/tags/database/)[schedule](https://lin.wordpress.org/plugins/tags/schedule/)
   [sql](https://lin.wordpress.org/plugins/tags/sql/)
 *  [Advanced View](https://lin.wordpress.org/plugins/dbc-backup-2/advanced/)

## Ratings

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/dbc-backup-2/reviews/)

## Contributors

 *   [ Damien Saunders ](https://profiles.wordpress.org/damiensaunders-1/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/dbc-backup-2/)