Use UpdraftPlus To Save Backups To GoogleDrive

use updraftPlus to save backups in google drive

How to use UpdraftPlus to save backups in GoogleDrive in WordPress?

Taking regular backups of your site is extremely important. It can save you website if it ever gets hacked and then these backups can make your site live again in just few minutes.

UpdraftPlus plugin is one of the best and simple to use WordPress plugin for taking full backups of your blogs or websites and then restoring them easily. UpdraftPlus also allow you to easily Schedule or automate your Backups.

UpdraftPlus provides options to save your backup in various locations like:

  • Dropbox.
  • Google Drive.
  • Amazon S3.
  • FTP.
  • Rackspace.

There is Premium version of UpdraftPlus which provides additional functionality like Migrating Site, Multisite Support, Database Text Replace and many more.

Here we will be take a look at the process of configuring UpdraftPlus to upload backups to Google Drive.

Google Drive provides free storage of about 15 GB which is more than enough to store backups of small to medium websites.

The Process of configuring UpdraftPlus to store Backups in GoogleDrive is little lengthy by its totally worth the effort.

Here can follow these steps to setup the backup in UpdraftPlus:

 

Setting up UpdraftPlus to take backups.

 

updraft-setting-google-drive

Go to  Plugins –> UpdraftPlus – Backup/Restore –> Settings  and you will see the UpdraftPlus Backup/Restore page. click  settings  option.

You can select Files Backup Schedule , Database Backup Schedule to schedule regular backup.

After that select  Google Drive  as shown in the above picture.

You need to create a new project for UpdraftPlus. SO log in to your Google Account and you can follow this link to go to your Google API console.

 

Create a new project.

updraft-google-api-console-1

Create a new Google project.

 

 

updraft-google-api-project-2

Enter Project name and Project ID. if you want to get emails from Google, Select Yes otherwise NO.

You need to Agree to their Terms of Service. Press Create button to create a new project for your UpdraftPlus backups.

 

 

updraft-google-api-project-3

Click  Drive API  link to proceed further.

 

 

updraft-google-api-project-4

Click Enable to Enable the API.

 

 

updraft-google-api-project-6-1

Go to  Drive UI Integration tab.

Enter the Application Name and Short Description and other information. and scroll down to see further options.

 

Add Icons and website url.

updraft-google-api-project-6-2

If you want to set an Icon for your Application then you can upload an image here. After that scroll down to see next set of options.

 

 

updraft-google-api-project-app-icon

Same way If you want to set an  Icon  for your  Document  then you can upload an image here.

 

 

updraft-google-api-project-app-icon-4

Fill Open URL field with your website address and if you need additional options then you should configure them too. After this click  Save Changes.

 

 

updraft-google-api-project-app-icon-5

Now go to OAuth consent screen and enter your Email address and Product name.

Click Save to save the changes.

 

 

updraft-google-api-project-app-icon-6

Now select Credentials and click on OAuth client ID.

 

 

updraft-google-api-project-app-icon-9

In Client ID, select Web application as Application  type.

Enter Name (updraftPLUS)  for Client ID.
Enter your Website url in Authorised Javascript origins field.

To fill the Authorized redirect URIs field we need to copy the authorised redirect URI from UpdaftPlus plugin page.

So go back to the UpdraftPlus settings page.

 

 

updraft-google-api-project-app-icon-7

copy the authorised redirect URI text as shown in the above image. Go to Google API Console page.

 

 

updraft-google-api-project-app-icon-8

and paste it here as shown in the picture and finally click Create. It will generate the Client ID and Client secret key.

 

 

updraft-google-api-project-app-icon-10

You can find these Client ID and Client secret key by clicking the credentials as shown in above picture.

 

 

updraft-google-api-project-app-icon-11

You need to copy the Client ID and Client secret key values to enter them on the next step.

 

 

updraftplus-google-api-entry

Enter the Google Drive Client ID and Google Drive Client Secret Key that you copied in previous step in their appropriate fields. After that Click Save.

 

 

updraft-google-api-project-app-icon-12

Now you need to Click on the UpdraftPlus notice to authenticate your Google Drive Account.

 

 

updraft-google-api-project-app-icon-13

You should see the Success message after successful authentication of your Google Drive account.

You can now start taking your First Backup now By Clicking  Backup Now button.

 

Taking Backups

updraft-google-api-project-app-icon-14

Include all the options that you think are necessary and click   Back Now   to proceed further.

 

 

updraft-google-api-project-app-icon-15

Backup is in Progress.

 

 

use updraftplus to save backups in google drive.
How to use updraftplus to save backups in google drive.

Go to your Google Drive account  to verify and you should see an UpdraftPlus folder.  Here all our backups will be stored from now on.

 

 

use updraftplus to save backups in google drive.
How to use updraftplus to save backups in google drive.

Restoring backups, you can choose from Database, Plugins and other options to restore them if ever needed.

 

 

use updraftplus to save backups in google drive.
how to use updraftplus to save backups in google drive.

Click Restore and you are good to go.

GoDaddy Email Forwarding

Many of my WordPress website clients have recently been running into email problems on their sites.  Email configurations that had been working previously just seem to break.

I don’t fully understand the issues but I suspect that some sort of email spam prevention sortware on the website host is responsible for the sudden change.  From the website Living With Beth I fund this statement:

I researched the problem some more and came across information deep in a forum post that seemed to point me in the right direction. Apparently, at some point, GoDaddy email add some powerful spam protections that make it impossible for GoDaddy managed WordPress to send emails unless they come from a GoDaddy-hosted email address.

The fix for this issue is dependent on the hosting company. For example, the fix for my Dreanhost clients has been different that what works for my GoDaddy hosted clients.  I used the Postman SMTP plugin for all the various hosts.  But the configuration is vastly different for each host.

On GoDaddy I set up a forwarding email accoount and configure the Postman SMTP plugin in the defaul mode to use the forwarding emaill address.

Here are the GoDaddy steps to set up the forwarding email.

WordPress on GoDaddy email problems? Here's how I fixed them.

To set up a GoDaddy email address for yourself, login to GoDaddy, then click Hosting at the top, then Email.

You should see a list of any email addresses your domains have. Click the Create button, and you’ll see a dialog box for creating a new email account.

WordPress on GoDaddy email problems? Here's how I fixed them.

If you click Change Plan, you can choose which domain you want to draw the email account from.

WordPress on GoDaddy email problems? Here's how I fixed them.

When you start typing the email address and hit the @ symbol, you’ll see a list of the available domains, including your managed WordPress one.

In the bottom pane where you see additional options, you can choose to forward emails from your new GoDaddy email to another address, and you can choose the size of the mailbox. Keep in mind that even if you choose the largest size available and have messages forwarded to another email box, you will need to check this mailbox periodically.

Otherwise, it will eventually fill up and stop accepting new messages. Forwarded emails will remain in the mailbox until you login to the actual mailbox and delete them.

WordPress on GoDaddy email problems? Here's how I fixed them.

Based on my own trial, error and research, I don’t think you’l

 

http://livingwithbeth.com/godaddy-email/

How to Create a Complete WordPress Backup for Free with BackWPup

First thing you need to do is install and activate BackWPup plugin. Upon activation, the plugin will display a welcome page. It will also add a BackWPup menu item in your WordPress admin sidebar.

BackWPup Menu

Creating Backup Jobs with BackWPup

Click on Add New Job to create an automated backup job for your WordPress website. Under General tab, provide a name for this job. This name will be used internally and will help you identify each backup instance. Under the Job Tasks section, select the type of tasks you want this to perform. Available tasks include database backup, file backup, WordPress XML export, Installed plugins list, optimize database tables and check database tables. If you just want to create backup of your website, then you can select all options except for optimize and check database tables.

Create a new backup job in BackWPup

Under backup file creation section, choose an archive type. The default option is tar.gz, however you can choose zip archive if you want. Below this, you will see Job Destination section. This is where your backups will be stored. BackWPup provides multiple options to store your backup files. It can store backup file on your server, send it via email, backup to FTP, backup to dropbox, amazon S3, Windows Azure, Rackspace, and Sugarsync. Whatever you do, DO NOT store the backups on your server. For the sake of this WordPress tutorial, we will be using DropBox.

Choose backup destination and compression

Scheduling Automated Backup in WordPress using BackWPup

Click on Schedule tab and choose how often do you want to backup your site. You can schedule it to run monhtly, weekly, or daily basis by choosing WordPress Cron option. Alternatively, you can choose to manually run the job, so that you can create on-demand backups of your site. For advance level users there are more choices like using a URL to start the job externally using some other software or starting the job using WP-CLI, a command line interface for WordPress. For beginner level users we would highly recommend scheduling a daily or weekly backup by choosing WordPres Cron option.

Scheduling automatic backups in WordPress using BackWPup

What to Backup?

Click on DB Backup tab to select which tables you want to be included in the backup. Sometimes WordPress plugins create their own tables into your database, most of the time this data is not crucial and you may not need it. Unchecking these tables will reduce your backup size. However if you don’t know what you are doing, then keep all tables selected.

Select or exclude tables from backup job

Under the Files tab you can select which directories and files you want to include in the backup job. We would recommend that you do not backup core WordPress files. Instead, only backup your wp-content/uploads folder. Uncheck Backup root folder. Exclude any folders in wp-content folder that you don’t want. For example, sometimes plugins will create their own directories inside wp-content folder to store plugin data. You can exclude these folders if you want.

Select or Include files and directories from backup job

Saving WordPress Backups To Dropbox

Depending on what you chose as destination for your backup, you will see a tab for it. In this tutorial we will show you how to automatically upload your WordPress backup to Dropbox using BackupWP plugin. So click on Dropbox tab and then click on Reauthenticate (full Dropbox).

Authenticate with Dropbox to save your backups to Dropbox

This will take you to the Dropbox website where you will be asked to provide your username and password. After signing in, DropBox will ask for your permission to grant BackWPup access to your DropBox account.

Giving BackWPup Access to your Dropbox account

After that, the plugin will take care of the rest.

Creating Multiple WordPress Backup Jobs using BackWPup

You can create multiple backup jobs with BackWPup. For example, you can create a scheduled job to run on a daily or weekly basis to backup your WordPress Database and another job to run manually for backing up your WordPress files only. You can see all jobs created by you on BackWPup » Jobs page. You can run any of the backup jobs by clicking on Run Now link below the job, even for scheduled jobs. You can also edit settings for a job or delete it entirely.

Creating and managing multiple Backup Jobs

Running a Backup Job

When you execute a Backup Job manually by clicking on Run Now link, BackWPup will display the backup progress. Clicking on display working log, you can see what is going on in the background. If for some reason the backup job fails, then this log will also display the reason. You can also abort a job during the progress by clicking on abort button.

Running a manual backup job in BackWPup

Troubleshooting WordPress Backup Jobs in BackWPup

Running a backup job may cause extra load on your hosting server. This may result in unfinished backup jobs. Also on most shared hosting services, there is a limit on how much time or memory a script can consume. When your server stops BackWPup for crossing the time or memory limit, it waits for 5 minutes and then resumes the process. In this case, it would take a while for a backup job to finish.

The first thing you should do is increase your PHP memory limit, then go to BackWPup » Settings and click on the Jobs tab. Increase Maximum number of restries for job steps option. The default value is 3, you can increase it to 5 and see if this works for you. After that scroll down to Reduce server load option and select medium or minimum server load options.

Increasing memory and reducing server load for BackWPup

Final Thoughts

You are probably wondering if a good free plugin like BackWPup exist, then why do people pay for plugins like BackupBuddy or VaultPress. One of the reason is support. When you pay for a product, then you are guaranteed to get support. Another thing that we notice with both BackupBuddy and VaultPress is that they offer malware scanning. We use VaultPress because it is a 100% managed service. The backup is stored in their cloud server, and it is a pretty fool-proof setup.

We can not stress this enough that you need to back up your site regularly. Do not wait for your WordPress site getting hacked or infected with malware, start backing up now, so that you can swiftly restore WordPress from backup when the time comes. We hope that this guide helped you automate your WordPress backups. Let us know which WordPress backup solution you use by leaving a comment below.

Source: WP Beginner

Increasing the WordPress Memory Limit

If your site is having memory limit issues, you may be able to adjust this yourself.  Make a simple change to either the wp-config.php, PHP.ini, or .htaccess file to increase the WordPress Memory Limit. I use the File Manager on the GoDaddy Hosting page to make the change.  You may need to use FTP if your host does not provide some sore of file editing capability.

To adjust it on your own, here are some things you can try:

1. Edit your wp-config.php file.

Add this to the very bottom, right before the line that says, “Happy Blogging”:

define('WP_MEMORY_LIMIT', '256M');
WordPress memory can be different from the server – you need to set this regardless of server memory settings

http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

2. Edit your PHP.ini file.

If you have access to your PHP.ini file, change the line in PHP.ini
If your line shows 64M try 256M:

memory_limit = 256M ; Maximum amount of memory a script may consume (64MB)

3. Edit your .htaccess file.

If you don’t have access to PHP.ini try adding this to an .htaccess file:

php_value memory_limit 256M

4. If none of the above works then you would need to talk to your host about having them increase your memory limit.