Wordpress Backup To Dropbox

Posted onby admin

BackupBuddy: one of the most reliable backup plugins that we have tested.Since this is a premium plugin, you can expect the folks behind it to deliver timely updates. It lets you backup your entire WordPress database to Amazon S3, Rackspace Cloud, and Dropbox. Automating your WordPress Backup to Dropbox. In this guide, we will teach you how to automate the process of backing up your WordPress site to DropBox so you don’t even have to think about it. It is really easy and there are only 3 basic steps. Step 1: Select a WordPress Plugin for your Backup. A Dropbox account is required to save WordPress backups to Dropbox. If you don’t have one yet, you can find the instructions here. Edit an existing job or create a new one. (BackWPup → Jobs or BackWPup → Add new Job). In the tab General go to the section Job Destinations and check the Backup to Dropbox box. Check the Backup to Dropbox box. A plugin for WordPress that automatically uploads your blogs files and a SQL dump of its database to Dropbox. Giving you piece of mind that your entire blog including its precious posts, images and metadata regularly backed up. justliam/wordpress-backup-to-dropbox.

You’d never want to lose all the time and money you’ve invested in your website or blog if your web host goes up in flames, or you inadvertently delete a file. Keeping regular backups of your site can ensure that your files aren’t permanently lost or damaged, that something awful happens to your site. With automatic backups, you don’t have to remember to back up your site.

Thankfully, there are plenty of WordPress plugins available that automate the backup process and makes it easy to both backup and restore your website. Of the countless plugins available, WordPress Backup to Dropbox (WPB2D) is simple, powerful, and it just works. Set it and Forget It. They automatically handle everything.

Also Read: How to Backup your WordPress Files and Database manually via cPanel

While backups are certainly necessary, where you keep your backup is also an important decision. Cloud storage is becoming more and more popular these days. With cloud storage, all your files are stored off-site where they are invulnerable to fires, theft, or other disasters and assure you that your site can still be restored.

Why Dropbox?

Dropbox is a very popular cloud storage service because it’s amazingly fast, reliable, secure, simple file syncing, and easy to use. However it comes with 2 GB of space, you can get up to 16 GB of free space through referrals, which is sufficient for most sites. You can also upgrade your plan if you need more storage space. Dropbox works on a variety of platforms, so you will always have access to your files, no matter where you are in the world or what device you’re on. Plus there is no individual file size limit so you can fully utilize the free storage it offers.

Backup

Another best thing about Dropbox is that it has a built-in functionality to restore the previous versions of files or even deleted files. It takes periodic snapshots of every change in your Dropbox folder over the last 30 days, allowing you to restore files and folders if they are ever corrupted or accidentally deleted.

Let’s dive into the configuration steps.

Wordpress Backup To Dropbox

Backing up WordPress to Dropbox using WPB2D plugin

WordPress Backup to Dropbox is one of the popular backup plugins for WordPress that automatically backup your entire WordPress blog straight to your Dropbox account. All you need to do is choose a day, time and how often you wish your backup to be performed and kick back and wait for a copy of your website files and a SQL dump of its database to be dropped in your Dropbox.

You can also set where you want your backup stored within Dropbox and you can exclude files or folders from the backup as deep as you like. The plugin’s simple interface lets you setup automated backups in a matter of minutes giving you peace of mind that your site is always backed up in the Dropbox without having to think about it.

Minimum Requirements:

  1. PHP 5.2.16 or higher with cURL support

Note: Version 1.3 of the plugin supports PHP < 5.2.16 and can be downloaded here.

Security:

The plugin uses OAuth to keep your Dropbox account details safe. This means your credentials are not stored in the plugin to gain access.

How it works?

Once the initial backup is done, all subsequent backups are incremental. This means the plugin will only uploads files that are new or have changed since the last backup, thereby decreasing the bandwidth on your server and reducing the time taken to complete the backup. The only exception is your SQL database that will always be backed up.

Configuring the plugin:

This tutorial assumes that you already have a Dropbox account.

Installing the plugin

Step 1: From your dashboard, simply go to Plugins and click “Add New”, then search for WordPress Backup to Dropbox. Click Install Now and then Activate Plugin.

Step 2: Once activated, you’ll see a new menu item listed ‘WPB2D’ on the left hand side of your admin panel.

Authorizing the plugin with Dropbox.

Step 3: Hover the cursor over the WPB2D menu and click on Backup Settings.

Step 4: The first time you access the settings, you’ll be asked to authorize this plugin with your Dropbox account. So go ahead and click the “Authorize” button.

Step 5: The pop-up window will be prompt asking for authorization. Click on “Allow”.

Step 6: Once you have granted access to the plugin, it’ll create a sub-folder named ‘wpb2d’ in the ‘App’ folder of your Dropbox. This is where the backup is to be stored inside your Dropbox.

Scheduling the backup

Step 7: Now return to the previous tab and click “continue”.

> You are presented with the settings page where you can set the following:

  1. Store backup in a subfolder of the wpb2d app folder – Backups are saved in apps/wpb2d. If you back up several sites into the same Dropbox and want to organize with sub-folders, then check this box to create a sub-folder. e.g. one site in “apps/wpb2d/website1”, another in “apps/wpb2d/website2”, etc.
  2. Day and Time – Set the day and time that you wish your backup to be performed.
  3. Frequency – Select how often do you want to back up your site. Select your preference from Daily, weekly,fortnightly (every 2 weeks), every 4 weeks, every 8 weeks and every 12 weeks. Since it only backs-up increments, choosing the daily backup isn’t a bad choice at all.
  4. Excluded Files and Directories – This option allows you to exclude files or folders from as deep as you like. Checked files/folders will be excluded from the backup, whereas unchecked files/folders will be included in the backup. It is a very useful option for reducing your backup file size.

You might be wondering what to exclude from the backup? Normally, backup of WordPress core (wp-admin) is not necessary, since you can always obtain this again from WordPress.Org. The wp-content folder is a very important folder for your site which contains all your uploads, plugins, themes, and additional files created by plugins. So ignore everything listed in the root except the “wp-content” directory. To do this simplyclick “All” and un-check the wp-content folder.

Wordpress Backup To Dropbox Free

As you can see, when the contents of a directory are partially included, the checkbox is marked as with a circle.

There are few unnecessary folders you don’t want to back up from your wp-content folder such as upgrade, cache, backup and backups. If you have a caching plugin installed, the cache files are stored in “/wp-content/cache/” and they get updated all the time (or at least, every time someone access a portion of your site). Since they take up much resources (both time and space) for nothing, you will definitely want to exclude any such directories from your backup.

The directories that need to be excluded:

  • wp-content/cache/ : the directory for the cache files used by WP super cache and so on.
  • wp-content/tmp/ : the directory for the cache files used by DB Cache Reloaded Fix and so on.
  • wp-content/w3tc/ : the directory for the cache files used by w3total cache.
Wordpress

I have checked some unnecessary folders here.

I’ve un-checked uploads, plugins, themes, and additional files created by plugins

Step 8: Once done, hit Save changes and now you’ll see the next scheduled backup at the top.

That’s it! From now on, the plugin will automatically backup your site to Dropbox on schedule.

Wordpress Backup To DropboxWordpress backup to dropbox plugin

Running a manual backup

Step 9: Now that you have scheduled your backup. It’s time to run your first backup. To do this click on “Backup Monitor” under the “WPB2D” menu and click “Start Backup “to start the backup right away.

Wait for the initial backup to begin. The first backup might take time depending on the size of your site. Once the backup begins, you’ll see the log of the current backup process.

Step 10: Once the full backup is complete, check your Dropbox folder to make sure everything is backed up (look in Apps/wpb2d) and rest easy knowing your WordPress site is safe.

NOTE: If you are getting errors during backup, it could possibly be a problem with the PHP execution time or a PHP memory limit which is too low. Usually the plugin itself attempts to increase the PHP memory limit and time limit on runtime but many hosts block this. To resolve this, edit the value in your php.ini file (you can find that in the public_html folder) or ask your hosting provider to do this for you. You can’t be sure how much will be enough, but in most cases, setting max_execution_time to 600s and memory_limit to 256MB is a good start. In the case of WPB2D this setting needs to be set to at least 3600 seconds (1 hour) and at least 150M respectively.

If you’re still getting errors or run into problems, start a new thread and get support from plugin forum or shoot an email to [email protected] Also, don’t forget to read the Frequently Asked Questions (FAQs). There are lots of questions answered in the FAQs so better check out the FAQs first before asking for support.

Premium Extensions:

Furthermore, the plugin gives you a couple of premium add-ons that add extra functionality to WordPress Backup to Dropbox.

  • Zip backup($19) :This extension will create a zip archive of your files and database before uploading it to Dropbox and thus reduces the size of the backup file. The zip extension will zip up and store as many versions of your site as you wish, defaulting to 5.
  • Email notifications($9) : The plugin notifies you via email when your backup completes or has any issues.

You can install this from the “premium extensions” menu under wpb2d.

Other Best Dropbox backup plugins you may also want to try

While I’m a huge fan of WPB2D, there are lots of other awesome plugins you can use to backup your site.

1. BackWPup Free:BackWPup is another free plugin that automatically backs up your WordPress database and files to Dropbox (based on cronjobs). It also allows you to send your backups to your own server as well as remote locations such as the Amazon S3 cloud, RackSpace Cloud, SugarSync, FTP, email and more. It gives you control over what files, folders, and database tables you want to backup. You can store the backup in different file format like .zip, .tar, tar.gz, etc. With a single backup .zip file, you are able to easily restore a complete installation.

Another great feature of backWPup is that it has the ability to set multiple jobs with different schedules. Besides backup, the plugin can check, repair and optimize your database. They also offer a Pro version that comes with some added bells and whistles that you may need.

BackWPup is a popular backup plugin for WordPress with more than 1,000,000 downloads and receiving a user rating of 4.3 out of 5. Available Languages: English, French, German, Russian & Simplified Chinese.

2. UpdraftPlus:UpdraftPlus creates backup archives of all your themes, plugins, uploads and database and upload it to your Dropbox account. You can specify how many backups should be kept and how often backups should be taken. You can even send yourself an email report when it’s done. You also have the option to restore your backup with a single click. The plugin also supports many different remote storage services: Amazon S3, Google Drive, Rackspace Cloud, DreamObjects, FTP, SFTP, SCP, WebDAV and email. UpdraftPlus supports chunked, resumable uploads (i.e. interrupted jobs can be resumed where they left off), so no matter how big your site is, UpdraftPlus can upload it a little at a time, and not get thwarted by timeouts.

UpdraftPlus is the highest-ranking backup plugin of any WordPress backup plugin at wordpress.org and receiving a user rating of 4.9 out of 5.

These are the plugins that I have tried and really liked their functionality. If you find others that you like, please let me know in the comments so that I can check those out too!

Related posts:

When it comes to backing up your WordPress website, there a lot of options. You can use a paid service like CodeGuard, use an option in cPanel to make a backup, or use one of the many available WordPress plugins.

I used CodeGuard for a year, because it came as a recommended ‘Additional service’ with my Hostgator web hosting account. Back then, I didn’t know you could get cheaper Hostgator hosting by avoiding the additional services. I cancelled Codeguard before it renewed, as I figured out you can make backups for free by then.

First, I made manual backups, using cPanel’s ‘Backup’ option. This allows you to make a backup of all your hosted websites at once. However, the backup process takes quite a while, and you have to make your backups manually.

WordPress backup to Dropbox Plugin

I started trying a few free WordPress plugins to make automatic backups, and I liked a plugin called ‘WordPress Backup to Dropbox‘ (or WPB2D for short) best. This plugin will make automatic backups of your WordPress website to your Dropbox account. You can even set it to make backups daily. In this article, I’ll show you how to install this plugin, and set it up correctly.

Full video instructions:

For my my written instructions, with some additional information, continue reading below.

Create a Dropbox account

For this plugin to work, you’ll need a DropBox account. Dropbox is a well-known cloud storage service. With a free account, you will get 2GB of free storage space; enough to make a backups for at least a dozen average-sized websites. If you don’t have a Dropbox account yet, you can create one by going to Dropbox.com. If you want to get another free 500MB of free storage space, for 2.5GB total, you can sign up using my my referral link.

Installing the WPB2D WordPress plugin

Once you have a Dropbox account, you can start installing the WordPress plugin.

Go to WordPress, click ‘Plugins’, and then ’Add new‘.

Search for the plugin ‘WordPress Backup to Dropbox’.

Click ‘Install now‘ on the first search result. Then click ‘Activate plugin’ to activate it.

Can You Backup Wordpress To Dropbox

Once activated, you can find the plugin in the sidebar. Click on the link in the sidebar, and then click ‘Authorize’. This will connect your plugin to your Dropbox account.

You’ll be taken to a page on Dropbox, asking permission for the plugin to create and use a folder in your Dropbox account. Click ‘Allow‘. The plugin is now connected to your Dropbox account.

You can now close this page on Dropbox.

Back on WordPress, click ‘Continue’.

You will now have to configure the plugin. If you have multiple websites you want to backup, you’ll have to create a subfolder for each one. Check the checkbox after ‘Store backup in a subfolder of the wpb2d app folder’, and make a subfolder for your website.

With the ‘Day and Time’ and ‘Frequency’ options, you can select when, and how often, you want to back up, using the dropdown menu.

Once you have selected all of your preferred options, click ‘Save Changes’.

That’s all you need to do to set up this plugin. Now, it’ll automatically make backups of your website to your Dropbox account.

Additional information on the WordPress backup to Dropbox plugin

Wordpress Backup To Dropbox

Once the plugin has made a backup, you’ll see the date and time under ‘Backup History’. For more details on your last backup, you can click ‘Backup monitor’ in the sidebar. Here you’ll see exactly which files have been updated, and at what exact time.

The first ever backup will take the longest, as your entire site will be backed up to your Dropbox account. New backups will only replace the files that have been updated since your last backup. So, your WordPress website files will be ‘synched’ with your Dropbox folder.

Even though this means Dropbox will only keep the latest backup of your site, you actually have access to previous versions of your backup, up to 30 days back. This is because Dropbox includes a feature that allows you to restore files to previous versions. For the full instructions on that, read restoring previous versions of files in Dropbox.

You can find your backed up files by going to Dropbox, clicking on the ‘Apps‘ folder, then on ‘wpb2d‘. If you have created a subfolder, then you’ll also have to open the subfolder you have created to find your backup files.

Your .sql database file is also backed up. You can find it by opening the ‘wp-content‘ folder, and then opening the ‘backups‘ folder.

If you ever need to restore your website from a backup made with this plugins, you can use another plugin to easily restore your website. To download this plugin, and read the full instructions on that process, read this page by the plugin author.