Skip to Content
Menu
v 18.0 Third Party
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 335
Technical Name odoo_backup_manager
LicenseOPL-1
Websitehttps://www.bytesraw.com
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 335
Technical Name odoo_backup_manager
LicenseOPL-1
Websitehttps://www.bytesraw.com
BytesRAW
Community
Enterprise
Odoo.sh

Overview

Odoo Backup Manager provides a comprehensive solution for managing database backups in Odoo ERP systems. This module allows you to automate and streamline your backup processes by connecting to S3-compatible cloud storage services, scheduling regular backups, and managing backup files through a simple interface.

Key Benefits

  • Securely store backups in cloud storage
  • Schedule automated backups at custom intervals
  • Easily retrieve or delete backup files as needed
  • Configure automatic cleanup of old backups
  • Receive notification logs for all backup activities
  • Protection against data loss from hardware failures or accidents
  • Time savings through automation of critical maintenance tasks

Target Users

This module is perfect for:
- Odoo administrators responsible for system maintenance
- IT managers overseeing data security protocols
- Business owners concerned about data protection
- Managed service providers supporting Odoo deployments
- Organizations with critical business data in Odoo
- Businesses that need to comply with data backup requirements

Features

Cloud Storage Integration

  • S3-Compatible Storage: Works with AWS S3, Contabo Storage, Digital Ocean Spaces, and other S3-compatible providers
  • Secure Access: Utilizes access keys and secret keys for secure communication
  • Connection Testing: Verify your cloud storage configuration before saving
  • Folder Organization: Organize backups into folders for better management
  • Direct Upload: Upload backups directly to cloud storage without intermediate steps

Flexible Backup Scheduling

  • Automated Backups: Schedule backups at preferred intervals (minutes, hours, days, weeks, or months)
  • Multiple Backup Configurations: Create different backup schedules for various scenarios
  • Custom Naming: Set descriptive names for backup files and folders
  • Immediate Execution: Run backups on-demand with a single click
  • Backup History: Track all backup executions with detailed logs
  • Next Execution Tracking: Clearly see when the next automated backup will run

Backup File Management

  • File Browser: Browse, download, or delete backup files directly from the Odoo interface
  • Sorting and Filtering: Easily find the backup files you need
  • Size Information: View backup file sizes to monitor growth
  • Timestamp Tracking: All files include creation timestamps for easy reference
  • One-Click Downloads: Download any backup with a single click
  • Retention Policies: Automatically clean up old backups based on configurable retention periods

Security Controls

  • Secure Credential Storage: Safely store master passwords and access credentials
  • Protected Fields: Password fields are hidden from view
  • Activity Logging: Track all backup-related activities
  • Chatter Integration: Maintain an audit trail of backup operations
  • Graceful Error Handling: Comprehensive error handling and reporting

Installation

Requirements

  • Odoo 14.0 or later
  • Python 3.6 or higher
  • boto3 Python package
  • Internet connection for cloud storage access
  • S3-compatible storage account

Installation Steps

  1. Install the boto3 Python package on your Odoo server:
    pip install boto3

  2. Download the module and place it in your Odoo addons directory.

  3. Update your Odoo apps list and install the "Odoo Backup Manager" module.

  4. Configure your cloud storage credentials to start creating backup schedules.

Configuration

Cloud Storage Setup

  1. Navigate to Backup → Cloud Servers and click Create
  2. Enter the following details:
    - Name: A descriptive name for your cloud storage
    - Endpoint URL: Your S3-compatible storage endpoint (e.g., https://sin1.contabostorage.com)
    - Access Key: Your storage access key
    - Secret Key: Your storage secret key
    - Bucket Name: The bucket where backups will be stored
  3. Click Test Connection to verify your configuration

Backup Scheduler Configuration

  1. Go to Backup → Backup Scheduler and click Create
  2. Configure the backup details:
    - Name: A descriptive name for this backup configuration
    - Odoo URL: The URL of the Odoo instance to backup
    - Database Name: Select or enter the database name
    - Master Password: The Odoo master password
    - Cloud Server: Select the previously configured cloud storage
    - Folder Name (optional): A folder name within the bucket for organization

  3. Set up automation (optional):
    - Enable the Automation toggle
    - Specify how often the backup should run (interval and unit)
    - The next scheduled execution will be displayed

  4. Configure retention policy (optional):
    - Enable Remove Backups
    - Specify after how many days old backups should be deleted

  5. Click Save to create the backup configuration

Usage Guide

Running a Backup Manually

  1. Navigate to Backup → Backup Scheduler
  2. Open the backup configuration you want to execute
  3. Click the Run Backup button
  4. The system will create a backup and upload it to your cloud storage
  5. You'll see a notification when the process is complete
  6. The execution will be logged in the chatter at the bottom of the form

img_2.png

Managing Backup Files

  1. Open any backup configuration
  2. Click the Manage Files button
  3. A popup will display all available backup files in your cloud storage
  4. For each file, you can:
    - View the file name, size, and creation date
    - Download the file to your local computer
    - Delete the file from cloud storage

img_3.png

Monitoring Backup Executions

  1. Open a backup configuration
  2. Check the Last executed on field to see when the last backup ran
  3. Review the chatter messages for a history of executions and any issues
  4. For automated backups, check the Next Schedule field to see when the next backup will run

img_4.png

Automatic Backup Process

Once automation is enabled, the system will:
1. Execute backups according to the defined schedule
2. Log the results in the chatter
3. Automatically remove old backups if configured
4. Update the next scheduled execution time

Technical Notes

The module implements a comprehensive backup solution through:

  1. Integration with the Odoo database backup system
  2. Secure connection to S3-compatible cloud storage using boto3
  3. Automated scheduling through Odoo's cron system
  4. File management through presigned URLs for secure access
  5. Temporary file handling for efficient memory usage
  6. Robust error handling and notification system
  7. Activity logging with detailed timestamps

Benefits
  • Data Protection: Regular backups protect against data loss
  • Automation: Set it and forget it - backups happen automatically
  • Cloud Security: Store backups securely away from your primary infrastructure
  • Simple Recovery: Easily access backup files when needed
  • Peace of Mind: Know that your critical business data is protected
  • Time Saving: Eliminate manual backup processes
  • Storage Efficiency: Automatic cleanup prevents wasted storage space
  • Regulatory Compliance: Help meet data protection requirements
  • Disaster Recovery: Maintain business continuity with off-site backups

Support

For issues, feature requests, or questions, please contact:

  • Email: codeforme@bytesraw.com

Bytesraw

Researching Tomorrow's Bytes Today

Who We Are

We are a team of experienced Odoo freelancers dedicated to helping businesses customize, integrate, and optimize Odoo for their unique needs. Our initiative brings together experts in ERP solutions, development, and automation to deliver high-quality, cost-effective Odoo services.

Our Expertise

  • Odoo Development (v11-v18)
  • Functional Training (v11-v18)
  • Community Upgradation's(v11-v18)
  • Python & PostgreSQL
  • Hosting, Automation & Security
  • API & 3P Integrations
  • E-commerce & POS Solutions

A Coffee with Us

Let's discuss your Odoo needs over a virtual or in-person coffee!

BytesRaw

codeforme@bytesraw.com www.bytesraw.com

No Running Away—Deal?

We build it, you love it, then you pay. Simple! If it doesn't work because of us, we'll take the hit as a learning experience (don't worry, we don't cry). And don't worry—we won't vanish after the job is done... but if you disappear, we might just shed a tear or two!

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.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.