Database Backup with Format and Path Location Option
Manual Database Backup Tool
Database Backup with Path or Binary Storage for Odoo
This module allows users to securely generate database backups in Odoo. To initiate a backup, the user must enter the Master Password. If the entered password is incorrect, the system will raise an "Access Denied" error to prevent unauthorized access.
Users can select the desired backup format:
- zip (includes filestore)
- pg_dump (custom PostgreSQL format, without filestore)
The module provides two storage options:
- Binary Storage saves the backup file directly in the database as a binary field.
- File System Path stores the backup file in a specified directory on the server (this option works only on the server side and requires proper directory access).
Upon clicking the *Create Backup* button, the system generates the database backup based on the selected format and storage type. Once the backup is successfully created, the records state is automatically updated to *Backup Completed.*
Module Overview: Secure Database Backup Module in Odoo
- Master Password Authentication
To initiate a backup, the user must provide the Master Password.
If the entered password is incorrect, the system raises an "Access Denied" error to prevent unauthorized access. - Supported Backup Formats
Users can choose from the following backup formats:- ZIP Includes the database and the filestore.
- PG_DUMP A custom PostgreSQL format (excludes the filestore).
- Storage Options
Backups can be stored using one of the following methods:- Binary Storage
Stores the backup file directly in the database as a binary field. - File System Path
Saves the backup file in a specified directory on the server.
Note: This option works only on the server side and requires appropriate directory permissions.
- Binary Storage
- Backup Process
Upon clicking the *Create Backup* button:- The system generates a backup based on the selected format and storage option.
- Once the process completes successfully, the backup records state is updated to *Backup Completed.*
- Screenshots and Video for Easy Understanding
Detailed screenshots and an instructional video are provided for better understanding and usage of the features.
Menus Available:
- Settings
- Technical
- Backup Database
- Technical