Skip to Content

Backup ODOO [Local, Remote, Drive, Dropbox, Amazon S3]

by

14.40

17.0 0
Live Preview
Required Apps Discuss (mail)
Technical Name auto_backup_odoo
License OPL-1
Also available in version 17.0 16.0 15.0 14.0
You bought this module and need support ? Click here!
Technical Name auto_backup_odoo
License OPL-1
Also available in version v 17.0 v 16.0 v 15.0 v 14.0

Introduction

The auto_backup_odoo module delivers robust automation of backup processes for Odoo, including both database dumps and filestore compression. It supports various destinations—local directories, remote servers, and popular cloud services—for enhanced flexibility and data protection. With features like scheduled backups, multiple archive formats, and retention control, this module ensures that your data remains secure, accessible, and recovery-ready.

Key Features

  • Support for multiple backup destinations: local folders, remote servers, Google Drive, Dropbox, and more

  • Generate database dumps in diverse formats: custom archive, plain SQL, and tar gzip

  • Compress and include the filestore directory in backup archives for comprehensive coverage

  • Schedule automated backups via cron jobs with frequency controls (daily, weekly, monthly)

  • Manage missed backups through automatic retries and status logging

  • Configure retention settings to automatically delete old backups and preserve storage

  • View detailed backup history and logs for auditability and troubleshooting

Benefits

  • Maintain continuous data protection with reliable, automated backups

  • Adapt backup workflows to your infrastructure using flexible storage options

  • Restore quickly and selectively thanks to flexible dumping formats

  • Reduce manual overhead with scheduling and automated cleanup

  • Improve disaster recovery readiness and system reliability

  • Gain operational transparency through backup history and logs

Compatibility & Technical Details

Technical Name: auto_backup_odoo

License: OPL-1

Required Modules:

  • Discuss (mail)

Installation Steps:

  1. Ensure the Discuss module is installed and enabled.

  2. Add auto_backup_odoo to your add-ons directory.

  3. Update the module list in Odoo and install the module.

  4. Configure backup settings—destinations, formats, schedule, retention—and monitor backups via the interface or logs.

BACKUP

ODOO DATABASES & FILESTORE

Available Odoo Backup DB/Filestore Modes:

  • Local
  • Remote Server
  • Google Drive
  • Dropbox
  • Amazon S3

Backup Formats:

  • Custom Archive
  • Plain Text SQL
  • TAR Archive
  • ZIP Archive
  • Dump Including Filestore

Module for backing up Odoo databases and automating the backup process.

  • Multiple Backup Modes
  • Filestore Backup
  • Backup Odoo Databases to a specified path
  • Detailed Message Log
  • Backup Status Information and History
  • User-selectable formats: custom archive, plain SQL, or tar
  • Archive Backup Process
  • Repeat Missed Backup Process
  • Backup to Amazon S3

Features

  • Dump Odoo Database in specified format
  • Zip filestore to a specified location
  • Custom Archive Format:
    • Flexible for restoring using `pg_restore`
    • Allows restoring specific objects
    • Compressed by default (.gz)
  • Plain-Text SQL:
    • Best for very small databases
    • Readable format, but not recommended for large DBs
  • TAR Archive Format:
    • Allows excluding objects during restore
    • Good for partial restores
    • Compressed using gzip
  • Backup Filestore
  • Multiple backup modes at the same time
  • Odoo Backup to Amazon S3
  • Odoo Backup to Google Drive
  • Odoo Backup to Dropbox
  • Odoo Backup to Remote Server

Tech

Odoo Auto Backup Module uses:

  • Python
  • XML (Views)
  • HTML (UI)
  • Twitter Bootstrap (UI)
  • Backbone.js
  • jQuery
  • PostgreSQL

External Dependencies

  • pysftp : pip install pysftp
  • dropbox : pip install dropbox
  • tqdm : pip install tqdm
  • boto3 : pip install boto3
  • botocore : pip install botocore

Installation

  1. Install Odoo (follow Odoo's official documentation)
  2. Install this Auto Backup module
  3. Configure backups under General Settings
  4. Backups will run on the configured schedule
  5. Backup history is available under the Auto Backup menu

CHANGELOGS

  • Date: 07/10/2025
    • Backup Dashboard
  • Date: 07/12/2020
    • Performance Improvements
    • Dropbox session upload trace for files > 150 MB
    • Full metadata track in message logs
    • Fix Dropbox `.tar` uploads
    • Progress meter in logs
  • Date: 22/11/2020
    • Amazon S3 Database Backup
    • Amazon S3 Filestore Backup
  • Date: 25/12/2022
    • GDrive client updated
    • New format “DUMP” added (DB + Filestore)
    • Improved backup configuration documentation

Author

Hilar AK

Git

https://github.com/hilarak

Configurations

  • Cron Job To Enable Automatic Backup
  • Cron Configuration
  • New Backup Configuration
  • Backup Configuration Form
  • Backup Records
  • Backup Record List

Backup Modes

  • Local
  • Local Backup
  • Remote
  • Remote Backup
  • Google Drive
  • Google Drive Backup
  • Dropbox
  • Dropbox Backup
  • Amazon S3
  • Amazon S3 Backup
Odoo Proprietary License v1.0
This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.