Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 11 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 17.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
6 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.34 MB
Module directory on disk
Code analysis 1 migration note 2 models 5 views 0 HTTP endpoints

Description

This module enhances the database backup functionality in Odoo by introducing support for storing backups as files using the fsspec library. It is designed to address the need for reliable and flexible backup solutions, enabling businesses to safeguard their data by storing backups on various filesystems, including cloud storage providers, network drives, and local secure storage.

By integrating with the fs_file addon from the OCA storage repository, this module allows users to automate the backup process and store the resulting files in a configured filesystem. It provides an easy-to-use interface for configuring backup methods, managing stored backups, and ensuring data integrity for disaster recovery or multi-environment setups.

Dependencies

Odoo dependencies
OCA/server-tools:
OCA/storage:
odoo/odoo:
- web
- bus
Python dependencies
cryptography, paramiko<4.0.0, pysftp, fsspec>=2025.3.0, python_slugify, fsspec>=2024.5.0
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 5

XML IDNameModelTypeStatus
db_backup_fs_file_form_view db.backup.fs.file.form.view db.backup.fs.file form New
db_backup_fs_file_search_view db.backup.fs.file.search.view db.backup.fs.file search New
db_backup_fs_file_tree_view db.backup.fs.file.tree.view db.backup.fs.file tree New
view_backup_conf_form db.backup form Inherits auto_backup.view_backup_conf_form
view_backup_conf_tree db.backup tree Inherits auto_backup.view_backup_conf_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (4)
  • fs_file_backup_count Integer
    compute='_compute_fs_file_backup_count'
  • fs_file_backup_ids One2many → db.backup.fs.file
    comodel_name='db.backup.fs.file' inverse_name='db_backup_id' string='Fs File Backups'
  • method Selection
    ondelete={'fs_file': 'cascade'} selection_add=[('fs_file', 'Fs File')]
  • responsible_id Many2one → res.users
    help='User to be notified.' args: 'res.users'
Public methods (3)
  • action_backup(self)
    Override the action_backup method to add the fs_file method.
  • action_open_fs_backups_view(self)
  • cleanup(self)
    Extend cleanup to fs_file backups.

New fields (3)
  • db_backup_id Many2one → db.backup
    required=True string='DB Backup' args: 'db.backup'
  • is_expired Boolean
    compute='_compute_is_expired' help='Indicates whether the backup has exceeded its storage time.'
  • name Char
    required=True args: 'Backup Filename'
Public methods (2)
  • fs_storage(self)
    @api.model
  • get_fs_storage_filename(self)

Loading…