S3 Backup - Database Backup to Amazon S3, Cloudflare R2, Wasabi, Backblaze B2, MinIO

S3 backup: send your scheduled auto backup of the database to Amazon S3 or any S3-compatible storage (Cloudflare R2, Wasabi, Backblaze B2, MinIO) with 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_s3
License
OPL-1

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

Send your scheduled Odoo backups to any S3 bucket — off-site, with automatic retention.

What it does

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

  • Works with Amazon S3, Cloudflare R2, Wasabi, Backblaze B2, MinIO, DigitalOcean Spaces and any other S3-compatible storage.
  • Retention in the bucket: keep N days of backups plus the latest backup of each of the last M months.
  • Multipart upload for large databases (above 100 MB), streamed from disk in 64 MB parts.
  • Test Connection and Refresh Bucket List right on the form.
  • Clear error messages for a wrong key, a wrong region or a missing bucket; failure e-mail from the backup engine.
  • Optional folder (prefix) inside the bucket, path-style or virtual-hosted addressing.
  • Secret key shown masked and readable by administrators only.
  • No extra Python packages to install: no boto3.

How it looks

The S3 settings on the backup form, after Test Connection:

S3 backup configuration form in Odoo 20

After a successful backup: status, last file and the backups now in the bucket:

Backup record after a successful upload to S3

The same files seen in the bucket (here a MinIO server):

Backup files in the S3 bucket

Step by step setup in Odoo 20

  1. Create a bucket and a key at your provider. The key needs list, read, write and delete rights on that bucket (Amazon S3: an IAM user with s3:ListBucket, s3:PutObject, s3:GetObject, s3:DeleteObject; Cloudflare R2: an Object Read & Write API token).
  2. Install this module from Apps (the free Tamadoo Database Backup engine installs with it).
  3. Open Backups → Database Backups → New, give it a Name and set Store To = S3 / S3-Compatible. The S3 Storage section appears.
  4. Fill in Endpoint URL (empty for Amazon S3, see the table below), Region, Bucket, an optional Folder (Prefix), the Access Key ID and the Secret Access Key.
  5. Click Test Connection: it shows Connection OK and the number of backups already in the folder.
  6. Click Back Up Now. The file appears under Existing Backups and in your bucket.
  7. Set Frequency, Keep Daily, Keep Monthly and a Notify On Failure e-mail. The scheduled action uploads and prunes from now on.

Endpoint and region per provider

Provider Endpoint URL Region
Amazon S3 (empty) bucket region, e.g. eu-central-1
Cloudflare R2 https://<account-id>.r2.cloudflarestorage.com auto
Wasabi https://s3.<region>.wasabisys.com e.g. eu-central-1
Backblaze B2 https://s3.<region>.backblazeb2.com e.g. us-west-004
MinIO (self-hosted) https://minio.example.com (API port, usually 9000) us-east-1 unless you changed it
DigitalOcean Spaces https://<region>.digitaloceanspaces.com e.g. sgp1

Keep Addressing = Path style unless your provider asks for virtual-hosted URLs.

Troubleshooting

Message Fix
S3 refused the credentials (InvalidAccessKeyId / SignatureDoesNotMatch / AccessDenied) Copy the Access Key ID and Secret Access Key again (no spaces); check the key's rights on the bucket.
Wrong region for bucket Enter the region the bucket was created in (auto for R2).
Bucket does not exist at this endpoint Check the bucket name and the Endpoint URL.
The server clock is off S3 rejects requests from a clock more than 15 minutes wrong: enable NTP on the Odoo server.
Cannot reach the S3 endpoint Check the URL, the port and that the Odoo server can reach it (firewall, proxy).

Requirements

  • Odoo 20 — Community or Enterprise, on-premise or Odoo.sh.
  • Tamadoo Database Backup (tamadoo_database_backup, free) — the backup engine.
  • A bucket and an access key at any S3-compatible provider.
  • Enough free disk space in the server's temp folder for one backup file (it is written there, uploaded, then removed).

Tamadoo · tama.odoo@gmail.com

Get S3 Backup

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