NOTICE: THIS IS OLD LEGACY DOCUMENTATION FOR JETBACKUP 3.1 (EOL), FOR THE NEWER MOST UPDATED DOCUMENTATION PLEASE VISIT: http://docs.jetbackup.com
Google Drive v2 cPanel Backup Destination
NOTE: GoogleDriveV2 destination is still on BETA and experimental (Use at your own risk).
Please report on any issue to our Support department.
Jetbackup supports remote Google Drive backups.
Step 1 – Configure Google Drive API
Click this link: https://console.developers.google.com/iam-admin/projects and use your Google username and password to login:
Click “GENERATE PROJECT” button:
Write your project name and click the “CREATE” button. at the bottom of the page you’ll see:
After creating the project, use the search box at:
In order to look up the term: “Google Drive API”, as shown here:
Under NAME, click “Google Drive API” and the following page will appear:
Click “ENABLE” as demonstrated above:
After enabling, click the drawer icon left to Google APIs logo – API Manager – Credentials:
In the credentials page, click the tab named “OAuth consent screen”:
Under “Product name shown to users” type the backup product’s name. In this example – “JetBackup”:
Click the “Save” Button. You’ll be shown the previous credentials page, where you should now click the “Create credentials” button and then the line titled: “OAuth client ID”:
Choose “Other”, type the client’s name and then click the “Create” button:
At the OAuth client window, click “OK”:
You’ll be shown the previous credentials page, where you should now click the download icon at the edge of the the client’s ID. This will allow you to download a JSON file which you will use later:
Save the JSON file to your PC.
Step 2 – Create a backup destination
At your WHM panel, click “JetBackup” (under “Plugins”) on the left column. Then click “Backup Destination” on JetBackup’s left column:
On Backup Destination page, click “Add new Destination” button:
At the following page which is:
- Specify “Type” as “GoogleDriveV2”.
- Write a name for your destination.
- Check “Compressed Full Backup Files” and “Uncompressed Full Backup Files” at “Choose Indexing Type”.
- Open your previously downloaded JSON file with Notepad, copy the content and paste it in “OAuth 2.0 Client” text area:
Click the “Request Access Code” button, for a Google approval window to appear:
Make sure that the correct account is active and if not, change the account to the desired one. Click the “Allow” button. Another Google window will open, containing your access code – copy it:
Paste the copied access code to the access code text area. Click the “Create New Destination” button:
Step 3 – Create a backup job
As demonstrated in the previous screen shot, click “Backup Jobs” and at the Backup Jobs page, click the “Add new job” button:
The resulting page is:
- Write you job’s name.
- Specify the destination which you’ve created earlier.
At the bottom, click the “Create new Job” button. The result should be the following announcement:
Optional:
1. Validate your backup destination:
At the Backup Destination page you should see a sync-icon left to the destination name. Click it – if the destination is valid, than the icon should change to a V sign:
2. Manually run your backup job:
At the backup jobs page, click the play-icon in your desired job:
This will trigger a cron-job which will run you backup job. The cron-job itself runs every 1 minute, so the backup job will start within maximum 1 minute.