Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 524 |
Technical Name |
auto_backup_local |
License | LGPL-3 |
Website | https://github.com/nicoMoroni348/auto_backup_local |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 524 |
Technical Name |
auto_backup_local |
License | LGPL-3 |
Website | https://github.com/nicoMoroni348/auto_backup_local |
Auto Backup Local
Automated local database backups with fully configurable
daily / weekly / monthly retention.
(User interface & code comments available in Spanish)

Key Features
-
Flexible scheduling - daily, weekly, monthly or at multiple
fixed hours (e.g.
0,5,8,17,21
). -
Granular retention policy (G-F-S)
• Keep last N daily backups
• Keep last N weekly backups
• Keep last N monthly backups
Set any layer to0
to disable it. - Encrypted master password - stored with Fernet symmetric encryption.
- Docker-friendly - simply mount the destination folder as a volume.
- Detailed history - every attempt is logged (success, warning, error).
- Two cron jobs ready-to-run - one hourly (backup) & one daily (clean-up).
- 100 % community - LGPL-3, no external services, no vendor lock-in.
Screenshots

Configuration form with scheduling & retention

Backup history (backup.log)
Installation
-
Copy the folder
auto_backup_local
into your custom addons path. -
Install required Python library:
pip install cryptography
orpip install -r requirements.txt
-
Add the destination directory as a Docker volume
(e.g.
/mnt/backups
) and give write permissions. - Go to Apps → Update Apps List, search for Auto Backup Local and click Install.
Usage
- Open Backups → Configuration and create a record.
- Set Destination Path, scheduling mode and retention numbers.
- Enter the Odoo master password (encrypted on save).
- Check Backups → History to monitor results.
© 2025 Nicolás Moroni - Released under LGPL-3.
Need help? Contact
nicolasmoroni003@gmail.com
Please log in to comment on this module