Skip to content

Automatic Database Backup to Dropbox

Securing your data with redundant cloud storage is a best practice for any Odoo deployment. Easy Instance allows you to automate your database backups and store them safely in your Dropbox account.


1. Create a New App in Dropbox

To connect Easy Instance to Dropbox, you first need to create an application in the Dropbox Developers portal.

  1. Navigate to the Dropbox Developers App Console.
  2. Click Create app.
  3. Choose an API (e.g., Scoped access).
  4. Choose the type of access you need (e.g., App folder or Full Dropbox).
  5. Name your app (e.g., EasyInstance-Backup) and click Create app.

Create App


2. Retrieve App Key and Secret

Once the app is created, you will be taken to the app settings page.

  1. Locate the App key and App secret. You will need these for the Easy Instance configuration.
  2. In the Redirect URIs section, add the redirect uri shown in the backup configuration page .
    • Example: https://demo.easyinstance.com/dropbox/authentication

Redirect URIs

App Details


3. Set Permissions

Before finalizing, ensure your app has the correct permissions to write files to Dropbox.

  1. Go to the Permissions tab.
  2. Ensure that files.content.write and files.content.read are checked.
  3. Click Submit at the bottom of the page to save changes.

Permissions


4. Configure Easy Instance Settings

Now, apply these credentials to your Odoo instance dashboard.

  1. Navigate to the Backup Configuration in your Easy Instance dashboard.
  2. Select Dropbox as the backup destination.
  3. Enter the App Key, App Secret, and the Dropbox Folder Name where you want the backups to be stored.

Odoo Configuration

  1. Click Setup Token. You will be redirected to the Dropbox authorization page.

5. Authenticate and Authorize

  1. A Dropbox window will appear. You may see a warning about the app being in development; click Continue.

Auth Warning

  1. Click Allow to grant Easy Instance permission to access your Dropbox.

Auth Grant


6. Verify Backups

Once authorized, you will be redirected back to the dashboard.

  • Backups will now be uploaded automatically according to your schedule.
  • You can view the status of your backups in the Backup List.

Backup List

  • You can also log in to your Dropbox account and verify the files in the specified folder.

Dropbox Folder


Tip: Use the Backup Now button to trigger a manual backup immediately and verify the connection.