How to backup your self-hosted WordPress website the easy way

How to Backup WordPress with DropboxThis short guide will show you how to backup your self-hosted WordPress website using a plugin and a dropbox account.

Both are free and together offer the security of knowing your site is safely backed up.

Backing up is something we often forget to do until it’s too late. If you value the time you’ve put into setting up and publishing content, it’s most certainly worth 10 minutes to get your backups sorted out.

NOTE: If you have cPanel you can use this method, but it doesn’t allow for scheduling.

Let’s create peace of mind for you and your site now!

How to backup WordPress the easy way

1. Get a free dropbox account and make sure you’re signed in.

2. Install the WordPress Backup to Dropbox plugin.

Go to Plugins >> Add New and enter ‘WordPress Backup to Dropbox’ into the search field.

3. Authorize the plugin.

After activation the plugin will create a new menu item. Navigate to WPB2D >> Backup Settings.

You will see this dialogue:

WordPress backup to dropbox

Click the Authorize button and another browser window will open asking if you want to allow Dropbox to authorize the plugin.

WordPress backup to dropbox authorization

Click Allow and return to the previous window on your WP site.

Click the Continue button.

4. Configure the plugin to only backup necessary files.

You will see a list of settings:

WordPress Backup to Dropbox Settings
WordPress Backup to Dropbox Settings – Click to Enlarge

Under Settings, create a folder for your backups. Call it something that relates to your site, then choose a backup schedule.

Under Excluded Files and Directories click the “toggle all” link and then un-tick the wp-content folder.

The wp-content folder holds all your theme files, uploads and media.  Everything else can be easily replaced.

If you have installed other plugins that have created folders outside of the wp-content folder make sure they are un-ticked as well.

NOTE: If you have a caching plugin installed (for speed and website optimization) you do not need to backup the files it creates. They are just copies of your web pages in HTML form for fast loading times. For the plugin W3 Total Cache it will be the /w3tc folder, inside /wp-content. If you’re using WP Super Cache that will be the /cache folder inside /wp-content.

Excluded Files and Folders to Backup
You only really need the themes, plugins and uploads folders

NOTE: All things on the list that are ticked will be excluded from ther backup. Unticked sections will be included in the backup.

8. Click the Save Changes button.

9. Click on WPB2D >> Backup Log and click Start Backup to perform your first backup.

Make sure you leave that window open until it completes.

10. Login to your Dropbox account and download the folder you created for your backups.

It will be inside the folder wpb2d. Highlight the folder (wptribe in my case) and click the Download button.

Dropbox download folder

From now on the plugin will automatically backup on the schedule you chose.

Now doesn’t that feel better?

Any questions or issues with this process? Let us know in the comments. :-)

Enjoyed this content?

Subscribe free and receive vital WordPress updates as they come to hand.


    • says

      Once you’ve gone to Backup Log and triggered the backup you can navigate away and even turn your computer off and the rest is done for you.

      The server hosting your site and dropbox do the rest. Pretty cool hey?

      The same goes for the scheduled backups as well.

      Good question and thanks for helping me update this post! :-)

  1. says

    I see you mention excluding media files, but for huge sites it could be next to impossible to realistically restore all of the image files. And what about custom themes that you’ve paid hundreds of dollars for someone to create? I would love your thoughts on this. Thanks!

    • says

      It’s a bit confusing. You’re actually ticking the things you want to exclude from the backup.

      So the things on the list with no ticks will be backed up.

      You most definitely want to backup all your media files and themes.

      Thanks for commenting. I’ll update the article to emphasize that.

    • says

      All the text and content of your site is contained in the database backup which can be found at /wp-content/backups/ within the App folder of your main Dropbox folder.

      They will be named ‘[database name]-backup-core.sql’ and ‘[database name]-backup-plugins.sql’.

      These files also store the plugin and theme settings and can be used to restore your WordPress site should anything go wrong.

      You can find more information about how this plugin works here:

      • says

        Ahh thank you. So there’s no other backups I need to do – this handles the lot? Sorry, but I’m conscious that I need to backup everything in case I muck up :)

          • says

            It just saves space on your dropbox account to only backup the files that have to be replaced in the event of a restore. We’re excluding the files and folders that can be replaced easily.

            If you make your backup screen look like the one in the example you’ll be good to go.

          • says

            Just replying to your response below – how is the content of your website able to be replaced easily? Sorry! Just not quite clear on that.

We'd love to know your thoughts...