Dropbox Backup - Database Backup to Your Dropbox

Dropbox backup: send your scheduled auto backup of the database to your own Dropbox with one-click authorization and retention. Add-on for Database Backup.

Price
$29
Odoo versions
  • 16.0
  • 17.0
  • 18.0
  • 19.0
  • 20.0
Technical name
tamadoo_db_backup_dropbox
License
OPL-1

Text and screenshots below are from the Odoo 20.0 version of this module.

Send your scheduled Odoo backups to your own Dropbox — off-site, one-click authorization, automatic retention.

What it does

Adds Dropbox as a destination for the free Tamadoo Database Backup engine. Every scheduled (or manual) backup is uploaded to a folder in your Dropbox, and old backups there are pruned with the same retention policy as the local backups.

  • One-click authorization with your own Dropbox app: no access token to copy by hand. The refresh token is stored and the short-lived access token is renewed automatically.
  • App folder access: the module only sees its own folder in your Dropbox, never your other files.
  • Retention in Dropbox: keep N days of backups plus the latest backup of each of the last M months. Only backups of this database inside the configured folder are ever deleted.
  • Upload sessions for large databases (above 64 MB), streamed from disk in 32 MB chunks.
  • Test Connection (shows the Dropbox account) and Refresh Dropbox List right on the form.
  • Clear error messages for a missing permission, a revoked authorization, a wrong key or a full Dropbox; failure e-mail from the backup engine. A failed cleanup never turns a successful upload into a failure.
  • App secret and tokens shown masked and readable by administrators only.
  • No extra Python packages to install: no Dropbox SDK.

How it looks

The Dropbox settings on the backup form, ready to authorize. Copy the Redirect URI into your Dropbox app:

Dropbox backup configuration form in Odoo 20

After Authorize Dropbox, Test Connection and Back Up Now: the connected account and the backups now in Dropbox (account e-mail and App Key hidden here):

Authorized Dropbox backup with the backups listed from Dropbox

Step by step setup in Odoo 20

Part 1 — Create your Dropbox app (one time, about 3 minutes)

  1. Sign in at dropbox.com/developers/apps with the Dropbox account that should receive the backups, and click Create app.
  2. Choose Scoped access, then App folder, give the app a name (e.g. Odoo Backup MyCompany; it must be unique on Dropbox) and click Create app.
  3. Open the Permissions tab, tick files.metadata.read, files.content.write and files.content.read, then click Submit.
  4. Back on the Settings tab, under OAuth 2 → Redirect URIs, paste the Redirect URI shown in Odoo (Part 2, step 3) and click Add. It looks like
    https://your-odoo-domain.com/tamadoo_db_backup_dropbox/oauth/callback
    It must match character for character and use https:// (plain http:// is only accepted for localhost).
  5. On the same tab copy the App key and the App secret (click Show). The app can stay in Development status: it is only used by your own Dropbox account.

Part 2 — Configure in Odoo 20

  1. Install this module from Apps (the free Tamadoo Database Backup engine installs with it).
  2. Open Backups → Database Backups → New, give it a Name and set Store To = Dropbox. The Dropbox section appears.
  3. Paste the App Key and App Secret, optionally a Folder inside the app folder (e.g. /production), and copy the read-only Redirect URI into your Dropbox app (Part 1, step 4). Save.
  4. Click Authorize Dropbox, sign in to Dropbox if asked and click Allow. You come back to the form with Authorized next to the buttons.
  5. Click Test Connection: it shows Connection OK, the Dropbox account and the number of backups already in the folder.
  6. Click Back Up Now. The file appears under Existing Backups and in your Dropbox under Apps → (your app name).
  7. Set Frequency, Keep Daily, Keep Monthly and a Notify On Failure e-mail. The scheduled action uploads and prunes from now on.

Troubleshooting

Message Fix
Dropbox page says Invalid redirect_uri Add the exact Redirect URI from the Odoo form under Settings → OAuth 2 → Redirect URIs (same scheme and domain, no trailing slash). If it shows the wrong domain, fix the system parameter web.base.url.
The Dropbox app is missing a permission (missing_scope) Tick the three permissions on the Permissions tab, click Submit, then Re-authorize: new permissions only apply to a new authorization.
Dropbox no longer accepts the stored authorization (invalid_grant) The app was disconnected in Dropbox (Settings → Connected apps) or the token was revoked: click Re-authorize.
Dropbox rejected the App Key or App Secret Copy both again from the App Console, Settings tab (no spaces).
Your Dropbox is full Free space, lower Keep Daily / Keep Monthly or upgrade the Dropbox plan.
State mismatch Start again with Authorize Dropbox on the form; do not reuse an old Dropbox tab.
Cannot reach Dropbox The Odoo server needs outgoing HTTPS to api.dropboxapi.com and content.dropboxapi.com (firewall, proxy).

Requirements

  • Odoo 20 — Community or Enterprise, on-premise or Odoo.sh.
  • Tamadoo Database Backup (tamadoo_database_backup, free) — the backup engine.
  • A Dropbox account (Basic, Plus or Business) and a free Dropbox app (steps above).
  • Odoo reachable in the browser at the address of web.base.url, over HTTPS (or on localhost).
  • Enough free disk space in the server's temp folder for one backup file (it is written there, uploaded, then removed).

Works well with

Other Tamadoo backup apps for Odoo 20.0 that pair well with this one:

Tamadoo · tama.odoo@gmail.com

Get Dropbox Backup

Questions before buying? Write to tama.odoo@gmail.com.