Google Cloud is one of the trickiest of the remote access methods to set up. The following instructions should see you through – but if you get stumped, then don’t fear. You can buy a setup support package from our shop; or try out one of the other cloud methods (e.g. Amazon S3, Dropbox, Rackspace Cloud Files – the easiest is Dropbox). You can also try searching YouTube for videos… various people have done them, but they may be out of date, of course (and not an official resource, so don’t blame us, etc.!)
1. Create your Google Cloud Storage account
If you’ve not yet signed up for Google Cloud Storage, then you’ll need to. You need both a Google account, and either to sign up for a free trial, or to become a paying customer for Google Cloud.
2. Visit the Google API console, and create a new project
To allow UpdraftPlus to have access to your Google Drive account, click on the link to your API console to take you to Google; then click on the “Create project…” button. If you cannot see this button you may need to click the dropdown and select “Create project…” from there to get to this menu.
Press the button…
Then fill in this form (just use whatever Project ID Google suggests – it does not matter)…
3. Enable the Cloud Storage Service
Find the Google Cloud APIs in the API Manager Library:
Search for ‘Cloud Storage Service’ on the list of services:
Click the ‘Enable API’ button:
4. Set up a product name and email address
Now go to ‘Credentials’ in the left sidebar. This will take you to the Credentials settings for the project. First, you will need to enter some details in the ‘OAuth consent screen’ settings (accessible through the top tabs):
Specifically, you will need to enter a product name and an select an email address. If you see errors later about missing an application name or empty email address, then this is the relevant step. These details are shown back to you in step 7 (below) – Google do not use them for anything else.
5. Set up API access credentials (OAuth)
Move to the ‘Credentials’ tab in the API manager, and click ‘Add credentials’; then click on ‘OAuth client ID’:
Next, enter some details:
- Under ‘Application type’ select ‘Web application’.
- Under ‘Name’ enter ‘UpdraftPlus’.
- Under ‘Authorized redirect URI’, paste in the URL that was shown to you on your UpdraftPlus settings page back in your WordPress admin console: (do paste it from there – don’t copy any screenshot below)
You will then be shown your client ID and secret. Copy both of these somewhere safe for now.
6. Optional: Create the bucket
This step is optional, because UpdraftPlus can also create the bucket for you (if you enter your project ID in the UpdraftPlus settings).
In the left menu, open the ‘Storage’ tab, and open ‘Cloud Storage’ then Browser. You will then be given the option to create a bucket (Note: You may need to enable Billing first):
Click ‘Create Bucket’ and fill in the form. The bucket name needs to be globally unique (i.e. unique to all Google Cloud Storage users). Click “Create”:
Each project has its own set of buckets. You can now create a folder to store your backups in if you wish.
7. Go back to UpdraftPlus, and enter the details
You should now have a client ID created, and a storage bucket set up. Paste your client ID, client secret and bucket into the correct boxes in the UpdraftPlus settings page in your WordPress admin console. The Google Cloud Bucket field can also have a file path entered, to store your backups in a folder you have created:
Save the settings.
Then follow the link that WordPress will show you, to complete authorisation. The screenshot you then see may not be identical to the one below:
Then, you’re done. You can test your settings with the ‘Test Google Cloud Settings’ button, if you wish.