The Best Free WordPress Tutorials to Master WordPress

How To Backup Your WordPress Site To Google Drive

0 72

Did you know that you can save a backup of your WordPress site to Google Drive? This is a quick and easy way to ensure that you have a safety net in case something goes wrong with your site.

You can use Google’s 15GB of free cloud storage to keep a backup copy of your site. This is a great way to have a reset in case something bad happens.

In this article, we will show you how to automatically backup your WordPress site to Google Drive.

Why Should You Back Up Your WordPress Site to Google Drive  ?

A backup is a separately stored copy of your website and is one of the most important ways to keep your site safe. If something goes wrong with your website, you can restore a backup with just a few clicks to get it working again.

Even in the worst-case scenario where a hacker breaks into your WordPress website and deletes your data, you can restore a backup and get your site back.

Many website owners create a backup before making any major changes to their site, such as editing the WordPress homepage or installing a new theme. If the change breaks their website, they can restore a working version of their site from a backup.

By backing up your site to a cloud storage service like Google Drive, you can restore your site even if your main hosting account is hacked. Also, it doesn’t take up valuable storage on your WordPress hosting plan.

By creating a Google account, you automatically get 15GB of free cloud storage that you can use for backups and file storage. If you need more space, prices start at $1.99 per month for an additional 100GB.

How to Backup Your WordPress Site to Google Drive

WordPress does not come with a built-in backup solution. However, there are several great WordPress backup plugins that make it easy to backup and restore your site  .

UpdraftPlus is the best backup plugin for WordPress. This free plugin allows you to create scheduled backups so you can automatically back up your WordPress site to Google Drive.

First, you need to install and activate the UpdraftPlus  plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

After enabling UpdraftPlus, you can configure your backup settings and choose Google Drive as the storage destination.

To do this, go to Settings » UpdraftPlus Backups  in your WordPress dashboard  . Then, simply click on the ‘Settings’ tab.

UpdraftPlus Backups

UpdraftPlus makes it easy to save your backups to different online storage services, including Dropbox, Amazon S3, Microsoft OneDrive, and more.

Since you want to backup your WordPress site to Google Drive, go ahead and click on ‘Google Drive’ in the section titled ‘Choose your remote storage’.

UpdraftPlus Backups

After choosing Google Drive as your storage location, you need to allow UpdraftPlus to access your Google account.

Click the ‘Sign in with Google’ button to get started.

Now, follow the on-screen instructions to allow UpdraftPlus to access your Google account.

After reading the disclaimer, you can click ‘Finish setup’ if you are happy to go ahead and allow UpdraftPlus to access your Google Drive.

After doing that, UpdraftPlus will take you back to the main settings page in the WordPress dashboard.

How to Create an Automatic WordPress Backup Schedule

Once you’ve chosen Google Drive as your storage location, you’re ready to create an automatic backup plan.

Still in the ‘Settings’ tab, scroll to the bottom of the page and click the Save Changes button. UpdraftPlus will now automatically back up your site according to your schedule.

UpdraftPlus divides WordPress backups into two parts: files and database.

Let’s start with the files. As part of this backup, UpdraftPlus will create a copy of your site’s code files, plugin and theme files, and images.

To get started, open the ‘File backup schedule’ dropdown and choose how often UpdraftPlus should back up your WordPress website.

You can choose between once a month or every two hours.

When creating a schedule, consider how often you update or add new content to your site. For example, if you publish two blog posts each week,  you may want to back up your WordPress blog weekly rather than daily.

If you update your site more often, you will need to back up more often.

In particular, if you run an online store, you usually want to back up your site as often as possible. This way, you can avoid losing important information such as new orders or a customer’s payment details.

After choosing a frequency for your backups, you need to choose how many different backups UpdraftPlus will keep. This will help you optimize the storage you use.

You can do this by entering this number in the text field next to ‘…keep so many scheduled backups’.

You can change these settings at any time, so if you’re unsure, you can start by saving a larger number and then reduce it if backups are using too much space.

When UpdraftPlus reaches the number you set, the plugin replaces the oldest copy with newer WordPress backups.

Next, in the ‘Database backup plan’ section you need to create a backup plan for your WordPress database.

WordPress stores all of its posts and pages, comments, links, and website settings in its database, so making regular backups of the database is just as important as the files.

You can tell UpdraftPlus how often it should backup your database and how many it should keep by following the same process described above.

How Do You Select What’s in UpdraftPlus Backups in Google Drive?

UpdraftPlus by default includes all your WordPress plugins, themes, and uploads in your Google Drive backups.

In the ‘Settings’ tab, go to ‘Include in file backup’. Here you can choose whether to include plugins, themes or downloads in your backup.

You will want to leave the default 3 checkboxes selected to create an exact copy of your WordPress website.

If you don’t need to add plugins, themes, or downloads to your backups, you can uncheck the box next to that setting. Doing so can reduce the size of your backups and take up less space on your Google Drive.

If you leave the ‘Downloads’ box checked, you can create some rules about the types of installs that UpdraftPlus will exclude from its backups.

There are already some exclusion rules. For example, by default the plugin excludes all files with the word ‘backup’ in the filename. Simply click ‘Add exclusion rule’ to create more rules about the type of content that UpdraftPlus will exclude.

You can then follow the onscreen instructions to create your exclusion rule.

For example, if you want UpdraftPlus to ignore all PDF files, start by clicking ‘All files with this extension’ and type ‘PDF’ in the field that appears.

By default, UpdraftPlus also excludes some files from wp-content folder.

You can see all of UpdraftPlus’ default exclusion rules in the ‘Other directories included in wp-content’ section.

Do you need UpdraftPlus to exclude even more content from the wp-content folder? Simply click on ‘Add exclusion rule’ in this section and repeat the same process described above.

If you’re not sure what to exclude, we recommend sticking with the default settings. They are suitable for most websites.

How Do I Know If An UpdraftPlus Backup To Google Drive Was Successful?

Every time UpdraftPlus creates a successful backup, it can send an email notification to your site’s admin email address confirming the backup is complete. If a backup fails, you will not receive an email.

In the ‘Settings’ tab, go to the ‘Email’ section. You can now enable these notifications by checking the box in this section.

Now, UpdraftPlus will send you an email notification every time it creates a backup.

Once you’ve done all this, click ‘Save Changes’. UpdraftPlus will now automatically back up your site to Google Drive.

If you don’t receive emails from UpdraftPlus, it’s a good idea to check if the plugin successfully created a backup on your Google Drive.

If you are using the free version of UpdraftPlus, you should find a new ‘UpdraftPlus’ folder in your Google account.

How to Backup Your WordPress Site to Google DriveSimply open this folder to see if it contains any WordPress backups.

In the image below you can see an example of what several backups might look like in your Google Drive account.

If UpdraftPlus is creating its backups successfully but you are not receiving email notifications, there is most likely an issue with how your emails are configured on your WordPress site.

You can check our guide on how to fix WordPress not sending emails to make sure they are sent correctly.

How to Manually Backup Your WordPress Site to Google Drive

Automatic backups are a great way to protect your site. However, even after creating an automatic schedule, you may sometimes need to create a manual backup.

It’s a good idea to create a manual backup before making major changes like updating your WordPress version. You can also create a manual backup after publishing a lot of new content.

To manually create a backup of your WordPress site in Google Drive, go to  Settings » UpdraftPlus Backups  . Then just click the ‘Backup/Restore’ tab.

Simply click the ‘Back Up Now’ button to continue and create a manual backup now. UpdraftPlus will show you some basic settings you can use to configure manual Google Drive backup.

As with automatic backup, UpdraftPlus backs up all your files and WordPress database by default. It will also use the remote storage location you use for your automatic backups. For us, it’s Google Drive.

The default settings should be good enough for most websites, so click the ‘Back Up Now’ button when you’re ready.

Restoring Your WordPress Backup with UpdraftPlus

Creating backups with UpdraftPlus is easy, but the really useful part is the ability to restore them from Google Drive with the same ease.

If your WordPress site has been hacked or you want to start fresh, the first step is to delete everything and reinstall WordPress.

After doing this, you will need to reinstall and activate the UpdraftPlus plugin on your new WordPress website. If you need help, please see our guide on how to install a WordPress plugin.

Upon activation,  go to Settings » UpdraftPlus Backups  page and click on the ‘Settings’ tab.

In the ‘Choose your remote storage’ section, click Google Drive.

UpdraftPlus Backups

You can now follow the onscreen instructions to allow UpdraftPlus to access the Google account you have saved all backups of your website to Drive.

After connecting UpdraftPlus to your Google account, click the ‘Backup/Restore’ tab.

UpdraftPlus will now scan your Google Drive and list any backups it has discovered. Once complete, you can find the backup you want to restore and click ‘Restore’.

After that, select the components you want to restore. If you’re reverting to a fresh WordPress installation, it’s probably best to check all the boxes.

Once you have chosen your components, go ahead and click the ‘Next’ button.

UpdraftPlus will now get all the files it needs to restore the WordPress backup from your Google Drive.

Once it has successfully imported all the files it needs, simply click the ‘Restore’ button. UpdraftPlus will now restore your backup from Google Drive.

This may take several minutes, depending on the size of your backup and the speed of your Internet connection.

Once complete, you will see a ‘Restore Successful’ message at the end of the Activity log. At this point, you can click the ‘Back to UpdraftPlus configuration’ button to go back to the settings and finish things off.

return updraftplus configuration

This much! You have now successfully restored your WordPress website from Google Drive.

We hope this article helped you learn how to backup your WordPress site to Google Drive…

You might also like
Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More