Filesystem Storage Backup

fs_storage_backup
REPOSITORY
REPOSITORYOCA/storage
GIT
GIThttps://github.com/OCA/storage.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/storage/tree/16.0/fs_storage_backup
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYTechnical
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Onestein
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Onestein
COMMITTERS
COMMITTERSEnric Tobella, Weblate, OCA-git-bot, tarteo, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/storage
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:12:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/storage:
    - fs_storage
odoo/odoo:
    - base
    - base_sparse_field
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES fsspec>=2024.5.0
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
With this module you can configure one or more database backup locations.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
fs_storage_form_view fs.storage xpath Inherits fs_storage.fs_storage_form_view
Models touched (1)

New fields (5)
  • backup_dir Char
    default='backups' string='Backup Directory'
  • backup_filename_format Char
    default='backup-%(db)s-%(dt)s.%(ext)s' string='Backup Filename'
  • backup_include_filestore Boolean
    string='Include Filestore In Backup'
  • backup_keep_time Integer
    default=7 string='Keep backups of (in days)'
  • use_for_backup Boolean
    string='Use For Backups'
Public methods (3)
  • backup_db(self)
  • cleanup_old_backups(self)
  • cron_backup_db(self)
    @api.model
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/storage
PULL REQUEST
PULL REQUEST[18.0][MIG] Migration of fs_storage_backup (#475)