For further information about how backup systems work, the available options for configuring them, and for setting up remote backups (available on V2), please see the articles listed below.
- V2 Backups Part 1. How Backups Work / Management / Purging / Exports and Imports
- V2 Backups Part 2. Setting Up Local Website Backups
- V2 Backups Part 3. Setting Up Remote Website Backups
Dropbox needs no introduction. It’s a solid and reliable storage provider and this article assumes that you already have a Dropbox account.
Somewhat unfortunate timing, Dropbox has released a new version of their API as we’ve been developing our backup system. For the moment, our system works with the legacy API.
There are two methods detailed below for generating an API token that will work with GridPane.
Step 1. Create Your Dropbox API Token
Below outlines 2 different methods for generating your API token. You can choose either.
METHOD 1. QUICKLY CREATE YOUR KEY VIA DUPLICACY.COM
Head to https://duplicacy.com/dropbox_start.html and click the Continue to get started:
You’ll be taken to Dropbox to authorize Duplicacy to create its own folder (Apps > Duplicacy). Click the Allow button to continue:
Here you’ll be presented with your API token that you can add to your GridPane account:
Copy the token and proceed to Step 2 below.
METHOD 2. CREATE YOUR TOKEN WITHIN DROPBOX
To begin, first sign in to your dropbox account and then head over to Dropbox App Console here: https://www.dropbox.com/developers/apps
Here there’s a small blue Create App button. Go ahead and click on this to create a new app.
Here you need to select: –
- Scoped Access
- App folder
- Name your App
And then click the blue Create App button.
You will automatically be taken to your apps management page. Here, first click through to the permissions tab and give your API the correct permissions and click the Submit button:
Once selected, click back to the Settings tab and scroll down approximately halfway to the “Oauth” section.
Here you’ll see the option to generate an access token – “Generated access token” followed by a button labeled “Generate“, and also the “Access token expiration” dropdown.
Set the expiration to “No Expiration“.
Next, click the Generate button and your API token will be displayed. Copy it and then head over to your GridPane account.
IMPORTANT: On very rare occasions Dropbox will create a token that begins with a dash “-“, e.g:
If this happens, please refresh the page and hit the generate button again as the “-” will be read as a flag on the server and will result in an error.