DBC Backup 2 is a safe & simple way to schedule regular WordPress database backups using the wp-cron batch jobs.
|Author:||Damien (profile at wordpress.org)|
|WordPress version required:||3.6|
|WordPress version tested:||3.8.3|
|Added to WordPress repository:||10-07-2012|
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|Total downloads:||13 959|
Click to start download
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.
- 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.
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
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.
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.
- 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
- Killed a few bugs. Getting this ready for the next WordPress 3.6
- Making things a little bit harder. Added an index.php file so you can’t browse this plugin folder.
- 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.
- Submitted as ‘fork’ of the existing plugin
- Tested and confirmed working on WordPress 3.4.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
- First Initial Release