Are you looking for a way to back up your WordPress site to Dropbox?
It is a best security practice to regularly back up your site and store it in a separate location, like Dropbox. This way, you can easily restore your content, plugins, databases, and important settings if there is a security breach or something goes wrong.
In this article, we will show you how to back up a WordPress site to Dropbox.
Why Back Up a WordPress Site to Dropbox?
A backup is a copy of your website that includes important files, folders, databases, site content, themes, plugins, and other information.
With backups, you will have a copy of your website or ready in case of a fatal error or security vulnerability. Then, you can restore your website to its previous state in just a few clicks.
Storing your WordPress backups on your computer’s hard disk or website server can be risky. If your hard disk fails or the website server gets compromised, you will lose all your backups.
That’s why storing backups in multiple locations is a good practice, including cloud storage services like Dropbox.
Dropbox is a popular file-hosting service that lets you store and back up files to the cloud. The best part is that you can access, save, and share these files from anywhere.
That being said, let’s see how to back up WordPress to Dropbox.
Connecting Your WordPress Site to Dropbox
The easiest way to create WordPress backups and save them in Dropbox is by using the Duplicator plugin. It is the best WordPress backup plugin that is beginner-friendly and helps you to back up, migrate, and clone your website.
Plus, the Duplicator plugin easily integrates with different cloud services like Dropbox, Google Drive, Amazon S3, OneDrive, FTP, and SFTP – SSH.
Note: We will use the Duplicator Pro plugin for this tutorial because it includes cloud storage integrations. There is also a free version of Duplicator you can use to create site backups, but it doesn’t allow you to automatically store those backups in Dropbox.
First, you will need to install and activate the Duplicator Pro plugin. If you need help, then please see our guide on how to install a WordPress plugin.
Upon activation, you need to head to Duplicator Pro » Settings from the WordPress admin panel and click the ‘Licensing’ tab.
Next, you will need to enter your license key and click the ‘Activate’ button. You can easily find the license key in your Duplicator account area.
Next, you will need to connect your Dropbox account with Duplicator.
Simply go to Duplicator Pro » Storage from your WordPress dashboard. Here, you will see your local storage option, where the backups will be stored by default.
Go ahead and click the ‘Add New’ button to add Dropbox.
After that, you can enter a name for your new storage option so it is easily recognizable. For example, we will name it ‘Dropbox’.
Next, you must click the ‘Type’ dropdown menu and select the ‘Dropbox’ option.
From here, you will see new settings for your storage option.
Go ahead and click the ‘Connect to Dropbox’ button.
After clicking the button, more settings will appear in the Authorization section.
First, you will need to click the ‘Authorize Dropbox’ button.
Next, a new window or tab will open. Simply log in to your Dropbox account.
You can use your Google or Apple account to sign in or enter the email and password you used when signing up for Dropbox.
Once you are logged in, you will need to allow access to your Dropbox account.
Go ahead and click the ‘Allow’ button.
Next, Dropbox will show you an authorization code.
Simply copy this code.
You can now return to the browser tab or window where you are configuring the Duplicator Pro storage settings.
Go ahead and enter the code into the ‘Step 2: Paste code from Dropbox authorization page’ field.
Once that’s done, simply click the ‘Finalize Setup’ button.
You have now successfully added Dropbox as a cloud storage option to save your WordPress backups.
Creating a Dropbox Backup of Your WordPress Website
The next step is to create a backup of your WordPress blog or website and save it to Dropbox.
To start, go to Duplicator Pro » Packages from the WordPress admin panel and click the ‘Create New’ button.
Next, you will need to enter a name for your package.
Duplicator will also give you the option to select a template. We recommend keeping it as ‘Unassigned’ because it will keep the settings from the last scan/build.
After that, you can expand the ‘Storage’ section.
Here, you will need to select ‘Dropbox’ as the storage option to store your WordPress backup.
You can also change the ‘Archive’ settings before backing up your site. By default, the plugin will package your site’s content, plugins, themes, databases, and all other files.
However, you can customize your backup by selecting which part of your site to back up. For instance, you might archive only the WordPress database.
When you are done, simply click the ‘Next’ button at the bottom.
On the next screen, Duplicator will scan your website and check if everything is fine before creating a backup. You will see a notice or a warning for any issues that need to be resolved before backing up your site.
Once everything checks out, simply click the ‘Build’ button.
The plugin will take a few seconds or minutes to create a backup package. The time will depend on the size of the files and folders.
Once the package is ready, it will be saved in Dropbox. You can view the Dropbox location by clicking the ‘Storage’ icon.
A new window will now open with the location.
You can simply click on the link to view your WordPress backup in the Dropbox dashboard.
Scheduling WordPress Backups to Dropbox (Pro Plugin Only)
With Duplicator Pro, you can schedule regular website backups and store them in Dropbox.
First, you will need to go to Duplicator Pro » Schedules from the WordPress dashboard and click the ‘Add New’ button.
On the next screen, you can enter a name for your backup schedule and select a template. We recommend using the default template so that all your website files, folders, and databases are backed up.
After that, select ‘Dropbox’ as the storage location for your backups.
Next, you will need to scroll down and choose when the plugin should automatically create a backup.
You can select whether you’d like to build a package hourly, daily, weekly, or monthly. For instance, if you select the weekly option, then you can choose which day to schedule the backup.
There is also an option to choose the start time for your schedule. Lastly, make sure that the ‘Enable This Schedule’ option is checked so that your schedule is active.
Once you are done, simply click the ‘Save Schedule’ button.
Restoring a WordPress Backup From Dropbox
Now that you have scheduled regular backups, you will always have a copy of your site in Dropbox. This way, you can easily restore the backup if there is a fatal error, data loss, or security breach.
To restore your site, you will first need to open your Dropbox account and head to the Duplicator Pro folder.
Next, select the website backup you would like to download.
Simply click the 3 dotted icons and then select the ‘Download’ option.
From here, you can save the zip file on your computer.
After that, you must go to your WordPress dashboard and head to Duplicator Pro » Import. Go ahead and click the ‘Select File’ button.
Next, you can select the zip file from your computer to restore the website backup.
Once the file is uploaded, you can scroll down to see the package details. Simply click the ‘Continue’ button.
On the next screen, you will see an overview of your package. For instance, it will show the number of posts, pages, media files, plugins, and more that are in the backup.
Go ahead and click the ‘Launch Installer’ button.
Once you click the button, the Duplicator installer wizard will launch.
First, you will need to choose an Install Type for your package. Go ahead and select the ‘Restore single site’ option.
Next, you can scroll down to view the Validation checkpoints and make sure the system is ready to install the backup. If there are any warnings or notices, then you must resolve them before restoring the backup.
Once that’s done, click the checkbox for ‘I have read and accepted all terms & notices’ and click the ‘Next’ button.
A popup will now open with install confirmation details.
You can click the ‘OK’ button to move forward.
The plugin will now extract archive files from the package.
Once the extraction is finished, you will see the install results. To complete the backup, you must click the ‘Admin Login’ button and log back in to your site to finalize the installation.
You have now successfully restored your website backup from Dropbox.
We hope this article helped you learn how to back up a WordPress site to Dropbox. You may also want to see our guide to WordPress security and our expert picks for the best live chat software for small businesses.
The post How to Back up a WordPress Site to Dropbox (Step by Step) first appeared on WPBeginner.