Database Auto-Backup

auto_backup
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/18.0/auto_backup
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs, Agile Business Group, AdaptiveCity, Yenthe Van Ginneken, Grupo ESOC Ingenieria de Servicios
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs, Agile Business Group, AdaptiveCity, Yenthe Van Ginneken, Grupo ESOC Ingenieria de Servicios
COMMITTERS
COMMITTERSStefan Rijnhart, Weblate, OCA-git-bot, oca-ci, michelerusti
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:09:27
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES cryptography
paramiko<4.0.0
pysftp
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_backup_conf_form db.backup form New
view_backup_conf_list db.backup list New
view_backup_conf_search db.backup search New
Models touched (1)

New fields (10)
  • backup_format Selection
    default='zip' help='Choose the format for this backup.' args: [('zip', 'zip (includes filestore)'), ('dump', 'pg_dump custom format (without filestore)')]
  • days_to_keep Integer
    default=0 help='Backups older than this will be deleted automatically. Set 0 to disable autodeletion.' required=True
  • folder Char
    default=<expr> help='Absolute path for storing the backups' required=True
  • method Selection
    default='local' help='Choose the storage method for this backup.' args: [('local', 'Local disk'), ('sftp', 'Remote SFTP server')]
  • name Char
    compute='_compute_name' help='Summary of this backup process' store=True
  • sftp_host Char
    help='The host name or IP address from your remote server. For example 192.168.0.1' args: 'SFTP Server'
  • sftp_password Char
    help='The password for the SFTP connection. If you specify a private key file, then this is the password to decrypt it.' args: 'SFTP Password'
  • sftp_port Integer
    default=22 help='The port on the FTP server that accepts SSH/SFTP calls.' args: 'SFTP Port'
  • sftp_private_key Char
    help='Path to the private key file. Only the Odoo user should have read permissions for that file.' args: 'Private key location'
  • sftp_user Char
    help='The username where the SFTP connection should be made with. This is the user on the external server.' args: 'Username in the SFTP Server'
Public methods (8)
  • action_backup(self)
    Run selected backups.
  • action_backup_all(self)
    @api.model
    Run all scheduled backups.
  • action_sftp_test_connection(self)
    Check if the SFTP settings are correct.
  • backup_log(self)
    @contextmanager
    Log a backup result.
  • cleanup(self)
    Clean up old backups.
  • cleanup_log(self)
    @contextmanager
    Log a possible cleanup failure.
  • filename(when, ext='zip')
    @staticmethod
    Generate a file name for a backup. :param datetime.datetime when: Use this datetime instead of :meth:`datetime.datetime.now`. :param str ext: Extension of the file. Default: dump.zip
  • sftp_connection(self)
    Return a new SFTP connection with found parameters.
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/17.0/auto_backup
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs, Agile Business Group, AdaptiveCity, Yenthe Van Ginneken, Grupo ESOC Ingenieria de Servicios
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs, Agile Business Group, AdaptiveCity, Yenthe Van Ginneken, Grupo ESOC Ingenieria de Servicios
COMMITTERS
COMMITTERSStefan Rijnhart, Weblate, OCA-git-bot, oca-ci, rolando, Christian-RB
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:59:32
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES cryptography
paramiko<4.0.0
pysftp
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_backup_conf_form db.backup form New
view_backup_conf_search db.backup search New
view_backup_conf_tree db.backup tree New
Models touched (1)

New fields (10)
  • backup_format Selection
    default='zip' help='Choose the format for this backup.' args: [('zip', 'zip (includes filestore)'), ('dump', 'pg_dump custom format (without filestore)')]
  • days_to_keep Integer
    default=0 help='Backups older than this will be deleted automatically. Set 0 to disable autodeletion.' required=True
  • folder Char
    default=<expr> help='Absolute path for storing the backups' required=True
  • method Selection
    default='local' help='Choose the storage method for this backup.' args: [('local', 'Local disk'), ('sftp', 'Remote SFTP server')]
  • name Char
    compute='_compute_name' help='Summary of this backup process' store=True
  • sftp_host Char
    help='The host name or IP address from your remote server. For example 192.168.0.1' args: 'SFTP Server'
  • sftp_password Char
    help='The password for the SFTP connection. If you specify a private key file, then this is the password to decrypt it.' args: 'SFTP Password'
  • sftp_port Integer
    default=22 help='The port on the FTP server that accepts SSH/SFTP calls.' args: 'SFTP Port'
  • sftp_private_key Char
    help='Path to the private key file. Only the Odoo user should have read permissions for that file.' args: 'Private key location'
  • sftp_user Char
    help='The username where the SFTP connection should be made with. This is the user on the external server.' args: 'Username in the SFTP Server'
Public methods (8)
  • action_backup(self)
    Run selected backups.
  • action_backup_all(self)
    @api.model
    Run all scheduled backups.
  • action_sftp_test_connection(self)
    Check if the SFTP settings are correct.
  • backup_log(self)
    @contextmanager
    Log a backup result.
  • cleanup(self)
    Clean up old backups.
  • cleanup_log(self)
    @contextmanager
    Log a possible cleanup failure.
  • filename(when, ext='zip')
    @staticmethod
    Generate a file name for a backup. :param datetime.datetime when: Use this datetime instead of :meth:`datetime.datetime.now`. :param str ext: Extension of the file. Default: dump.zip
  • sftp_connection(self)
    Return a new SFTP connection with found parameters.
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/16.0/auto_backup
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs, Agile Business Group, AdaptiveCity, Yenthe Van Ginneken, Grupo ESOC Ingenieria de Servicios
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs, Agile Business Group, AdaptiveCity, Yenthe Van Ginneken, Grupo ESOC Ingenieria de Servicios
COMMITTERS
COMMITTERSStefan Rijnhart, Pedro M. Baeza, GitHub, tafaRU, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:53
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES cryptography
paramiko<4.0.0
pysftp
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_backup_conf_form db.backup form New
view_backup_conf_search db.backup search New
view_backup_conf_tree db.backup tree New
Models touched (1)

New fields (10)
  • backup_format Selection
    default='zip' help='Choose the format for this backup.' args: [('zip', 'zip (includes filestore)'), ('dump', 'pg_dump custom format (without filestore)')]
  • days_to_keep Integer
    default=0 help='Backups older than this will be deleted automatically. Set 0 to disable autodeletion.' required=True
  • folder Char
    default=<expr> help='Absolute path for storing the backups' required=True
  • method Selection
    default='local' help='Choose the storage method for this backup.' args: [('local', 'Local disk'), ('sftp', 'Remote SFTP server')]
  • name Char
    compute='_compute_name' help='Summary of this backup process' store=True
  • sftp_host Char
    help='The host name or IP address from your remote server. For example 192.168.0.1' args: 'SFTP Server'
  • sftp_password Char
    help='The password for the SFTP connection. If you specify a private key file, then this is the password to decrypt it.' args: 'SFTP Password'
  • sftp_port Integer
    default=22 help='The port on the FTP server that accepts SSH/SFTP calls.' args: 'SFTP Port'
  • sftp_private_key Char
    help='Path to the private key file. Only the Odoo user should have read permissions for that file.' args: 'Private key location'
  • sftp_user Char
    help='The username where the SFTP connection should be made with. This is the user on the external server.' args: 'Username in the SFTP Server'
Public methods (8)
  • action_backup(self)
    Run selected backups.
  • action_backup_all(self)
    @api.model
    Run all scheduled backups.
  • action_sftp_test_connection(self)
    Check if the SFTP settings are correct.
  • backup_log(self)
    @contextmanager
    Log a backup result.
  • cleanup(self)
    Clean up old backups.
  • cleanup_log(self)
    @contextmanager
    Log a possible cleanup failure.
  • filename(when, ext='zip')
    @staticmethod
    Generate a file name for a backup. :param datetime.datetime when: Use this datetime instead of :meth:`datetime.datetime.now`. :param str ext: Extension of the file. Default: dump.zip
  • sftp_connection(self)
    Return a new SFTP connection with found parameters.
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/15.0/auto_backup
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs, Agile Business Group, AdaptiveCity, Yenthe Van Ginneken, Grupo ESOC Ingenieria de Servicios
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs, Agile Business Group, AdaptiveCity, Yenthe Van Ginneken, Grupo ESOC Ingenieria de Servicios
COMMITTERS
COMMITTERSStefan Rijnhart, OCA Transbot, Weblate, OCA-git-bot, oca-ci, Anh Vu
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:38
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES cryptography==2.6.1
pysftp
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_backup_conf_form db.backup form New
view_backup_conf_search db.backup search New
view_backup_conf_tree db.backup tree New
Models touched (1)

New fields (10)
  • backup_format Selection
    default='zip' help='Choose the format for this backup.' args: [('zip', 'zip (includes filestore)'), ('dump', 'pg_dump custom format (without filestore)')]
  • days_to_keep Integer
    default=0 help='Backups older than this will be deleted automatically. Set 0 to disable autodeletion.' required=True
  • folder Char
    default=<expr> help='Absolute path for storing the backups' required=True
  • method Selection
    default='local' help='Choose the storage method for this backup.' args: [('local', 'Local disk'), ('sftp', 'Remote SFTP server')]
  • name Char
    compute='_compute_name' help='Summary of this backup process' store=True
  • sftp_host Char
    help='The host name or IP address from your remote server. For example 192.168.0.1' args: 'SFTP Server'
  • sftp_password Char
    help='The password for the SFTP connection. If you specify a private key file, then this is the password to decrypt it.' args: 'SFTP Password'
  • sftp_port Integer
    default=22 help='The port on the FTP server that accepts SSH/SFTP calls.' args: 'SFTP Port'
  • sftp_private_key Char
    help='Path to the private key file. Only the Odoo user should have read permissions for that file.' args: 'Private key location'
  • sftp_user Char
    help='The username where the SFTP connection should be made with. This is the user on the external server.' args: 'Username in the SFTP Server'
Public methods (8)
  • action_backup(self)
    Run selected backups.
  • action_backup_all(self)
    @api.model
    Run all scheduled backups.
  • action_sftp_test_connection(self)
    Check if the SFTP settings are correct.
  • backup_log(self)
    @contextmanager
    Log a backup result.
  • cleanup(self)
    Clean up old backups.
  • cleanup_log(self)
    @contextmanager
    Log a possible cleanup failure.
  • filename(when, ext='zip')
    @staticmethod
    Generate a file name for a backup. :param datetime.datetime when: Use this datetime instead of :meth:`datetime.datetime.now`. :param str ext: Extension of the file. Default: dump.zip
  • sftp_connection(self)
    Return a new SFTP connection with found parameters.
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/14.0/auto_backup
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs, Agile Business Group, AdaptiveCity, Yenthe Van Ginneken, Grupo ESOC Ingenieria de Servicios
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs, Agile Business Group, AdaptiveCity, Yenthe Van Ginneken, Grupo ESOC Ingenieria de Servicios
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, simonev, oca-ci, oca-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pysftp
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_backup_conf_form db.backup form New
view_backup_conf_search db.backup search New
view_backup_conf_tree db.backup tree New
Models touched (1)

New fields (10)
  • backup_format Selection
    default='zip' help='Choose the format for this backup.' args: [('zip', 'zip (includes filestore)'), ('dump', 'pg_dump custom format (without filestore)')]
  • days_to_keep Integer
    default=0 help='Backups older than this will be deleted automatically. Set 0 to disable autodeletion.' required=True
  • folder Char
    default=<expr> help='Absolute path for storing the backups' required=True
  • method Selection
    default='local' help='Choose the storage method for this backup.' args: [('local', 'Local disk'), ('sftp', 'Remote SFTP server')]
  • name Char
    compute='_compute_name' help='Summary of this backup process' store=True
  • sftp_host Char
    help='The host name or IP address from your remote server. For example 192.168.0.1' args: 'SFTP Server'
  • sftp_password Char
    help='The password for the SFTP connection. If you specify a private key file, then this is the password to decrypt it.' args: 'SFTP Password'
  • sftp_port Integer
    default=22 help='The port on the FTP server that accepts SSH/SFTP calls.' args: 'SFTP Port'
  • sftp_private_key Char
    help='Path to the private key file. Only the Odoo user should have read permissions for that file.' args: 'Private key location'
  • sftp_user Char
    help='The username where the SFTP connection should be made with. This is the user on the external server.' args: 'Username in the SFTP Server'
Public methods (8)
  • action_backup(self)
    Run selected backups.
  • action_backup_all(self)
    @api.model
    Run all scheduled backups.
  • action_sftp_test_connection(self)
    Check if the SFTP settings are correct.
  • backup_log(self)
    @contextmanager
    Log a backup result.
  • cleanup(self)
    Clean up old backups.
  • cleanup_log(self)
    @contextmanager
    Log a possible cleanup failure.
  • filename(when, ext='zip')
    @staticmethod
    Generate a file name for a backup. :param datetime.datetime when: Use this datetime instead of :meth:`datetime.datetime.now`. :param str ext: Extension of the file. Default: dump.zip
  • sftp_connection(self)
    Return a new SFTP connection with found parameters.
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/13.0/auto_backup
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs, Agile Business Group, AdaptiveCity, Yenthe Van Ginneken, Grupo ESOC Ingenieria de Servicios
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs, Agile Business Group, AdaptiveCity, Yenthe Van Ginneken, Grupo ESOC Ingenieria de Servicios
COMMITTERS
COMMITTERSStefan Rijnhart, OCA Transbot, oca-travis, Weblate, OCA-git-bot, David Alonso // Solvos
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pysftp
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_backup_conf_form db.backup form New
view_backup_conf_search db.backup search New
view_backup_conf_tree db.backup tree New
Models touched (1)

New fields (10)
  • backup_format Selection
    default='zip' help='Choose the format for this backup.' args: [('zip', 'zip (includes filestore)'), ('dump', 'pg_dump custom format (without filestore)')]
  • days_to_keep Integer
    default=0 help='Backups older than this will be deleted automatically. Set 0 to disable autodeletion.' required=True
  • folder Char
    default=<expr> help='Absolute path for storing the backups' required=True
  • method Selection
    default='local' help='Choose the storage method for this backup.' args: [('local', 'Local disk'), ('sftp', 'Remote SFTP server')]
  • name Char
    compute='_compute_name' help='Summary of this backup process' store=True
  • sftp_host Char
    help='The host name or IP address from your remote server. For example 192.168.0.1' args: 'SFTP Server'
  • sftp_password Char
    help='The password for the SFTP connection. If you specify a private key file, then this is the password to decrypt it.' args: 'SFTP Password'
  • sftp_port Integer
    default=22 help='The port on the FTP server that accepts SSH/SFTP calls.' args: 'SFTP Port'
  • sftp_private_key Char
    help='Path to the private key file. Only the Odoo user should have read permissions for that file.' args: 'Private key location'
  • sftp_user Char
    help='The username where the SFTP connection should be made with. This is the user on the external server.' args: 'Username in the SFTP Server'
Public methods (8)
  • action_backup(self)
    Run selected backups.
  • action_backup_all(self)
    @api.model
    Run all scheduled backups.
  • action_sftp_test_connection(self)
    Check if the SFTP settings are correct.
  • backup_log(self)
    @contextmanager
    Log a backup result.
  • cleanup(self)
    Clean up old backups.
  • cleanup_log(self)
    @contextmanager
    Log a possible cleanup failure.
  • filename(when, ext='zip')
    @staticmethod
    Generate a file name for a backup. :param datetime.datetime when: Use this datetime instead of :meth:`datetime.datetime.now`. :param str ext: Extension of the file. Default: dump.zip
  • sftp_connection(self)
    Return a new SFTP connection with found parameters.
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/12.0/auto_backup
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs, Agile Business Group, AdaptiveCity, Yenthe Van Ginneken, Grupo ESOC Ingenieria de Servicios
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs, Agile Business Group, AdaptiveCity, Yenthe Van Ginneken, Grupo ESOC Ingenieria de Servicios
COMMITTERS
COMMITTERSeLBati, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Tom Blauwendraat, oca-ci, Aitor Bouzas, Valentin Castravete
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pysftp
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_backup_conf_form db.backup form New
view_backup_conf_search db.backup search New
view_backup_conf_tree db.backup tree New
Models touched (1)

New fields (10)
  • backup_format Selection
    default='zip' help='Choose the format for this backup.' args: [('zip', 'zip (includes filestore)'), ('dump', 'pg_dump custom format (without filestore)')]
  • days_to_keep Integer
    default=0 help='Backups older than this will be deleted automatically. Set 0 to disable autodeletion.' required=True
  • folder Char
    default=<expr> help='Absolute path for storing the backups' required=True
  • method Selection
    default='local' help='Choose the storage method for this backup.' args: [('local', 'Local disk'), ('sftp', 'Remote SFTP server')]
  • name Char
    compute='_compute_name' help='Summary of this backup process' store=True
  • sftp_host Char
    help='The host name or IP address from your remote server. For example 192.168.0.1' args: 'SFTP Server'
  • sftp_password Char
    help='The password for the SFTP connection. If you specify a private key file, then this is the password to decrypt it.' args: 'SFTP Password'
  • sftp_port Integer
    default=22 help='The port on the FTP server that accepts SSH/SFTP calls.' args: 'SFTP Port'
  • sftp_private_key Char
    help='Path to the private key file. Only the Odoo user should have read permissions for that file.' args: 'Private key location'
  • sftp_user Char
    help='The username where the SFTP connection should be made with. This is the user on the external server.' args: 'Username in the SFTP Server'
Public methods (8)
  • action_backup(self)
    Run selected backups.
  • action_backup_all(self)
    @api.model
    Run all scheduled backups.
  • action_sftp_test_connection(self)
    Check if the SFTP settings are correct.
  • backup_log(self)
    @contextmanager
    Log a backup result.
  • cleanup(self)
    Clean up old backups.
  • cleanup_log(self)
    @contextmanager
    Log a possible cleanup failure.
  • filename(when, ext='zip')
    @staticmethod
    Generate a file name for a backup. :param datetime.datetime when: Use this datetime instead of :meth:`datetime.datetime.now`. :param str ext: Extension of the file. Default: dump.zip
  • sftp_connection(self)
    Return a new SFTP connection with found parameters.
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/11.0/auto_backup
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs, Agile Business Group, Grupo ESOC Ingeniería de Servicios, Yenthe Van Ginneken, Numigi
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs, Agile Business Group, Grupo ESOC Ingeniería de Servicios, Yenthe Van Ginneken, Numigi
COMMITTERS
COMMITTERSPedro M. Baeza, GitHub, Andrea, Stéphane Bidoul (ACSONE), OCA Transbot, Jordi Riera, oca-travis, Weblate, OCA-git-bot, Tom Blauwendraat, Jon Zaballa
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pysftp
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_backup_conf_form db.backup form New
view_backup_conf_search db.backup search New
view_backup_conf_tree db.backup tree New
Models touched (1)

New fields (11)
  • backup_format Selection
    default='zip' help='Choose the format for this backup.' args: [('zip', 'zip (includes filestore)'), ('dump', 'pg_dump custom format (without filestore)')]
  • days_to_keep Integer
    default=0 help='Backups older than this will be deleted automatically. Set 0 to disable autodeletion.' required=True
  • folder Char
    default=<expr> help='Absolute path for storing the backups' required=True
  • frequency Selection
    default='daily' help='How often this backup is ran.' args: (['daily', 'Daily'], ['hourly', 'Hourly'])
  • method Selection
    default='local' help='Choose the storage method for this backup.' args: [('local', 'Local disk'), ('sftp', 'Remote SFTP server')]
  • name Char
    compute='_compute_name' help='Summary of this backup process' store=True
  • sftp_host Char
    help='The host name or IP address from your remote server. For example 192.168.0.1' args: 'SFTP Server'
  • sftp_password Char
    help='The password for the SFTP connection. If you specify a private key file, then this is the password to decrypt it.' args: 'SFTP Password'
  • sftp_port Integer
    default=22 help='The port on the FTP server that accepts SSH/SFTP calls.' args: 'SFTP Port'
  • sftp_private_key Char
    help='Path to the private key file. Only the Odoo user should have read permissions for that file.' args: 'Private key location'
  • sftp_user Char
    help='The username where the SFTP connection should be made with. This is the user on the external server.' args: 'Username in the SFTP Server'
Public methods (8)
  • action_backup(self)
    @api.multi
    Run selected backups.
  • action_backup_all(self, frequency='daily')
    @api.model
    Run all scheduled backups. :param str frequency: filter the type of db.backup that will be triggered
  • action_sftp_test_connection(self)
    @api.multi
    Check if the SFTP settings are correct.
  • backup_log(self)
    @api.multi@contextmanager
    Log a backup result.
  • cleanup(self)
    @api.multi
    Clean up old backups.
  • cleanup_log(self)
    @api.multi@contextmanager
    Log a possible cleanup failure.
  • filename(when, ext='zip')
    @staticmethod
    Generate a file name for a backup. :param datetime.datetime when: Use this datetime instead of :meth:`datetime.datetime.now`. :param str ext: Extension of the file. Default: dump.zip
  • sftp_connection(self)
    @api.multi
    Return a new SFTP connection with found parameters.
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/10.0/auto_backup
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs, Agile Business Group, Grupo ESOC Ingeniería de Servicios, Yenthe Van Ginneken
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs, Agile Business Group, Grupo ESOC Ingeniería de Servicios, Yenthe Van Ginneken
COMMITTERS
COMMITTERSJairo Llopis, Stéphane Bidoul (ACSONE), Francisco Fernández @PlanetaTIC, OCA Transbot, Stefan Rijnhart (Opener), Dave Lasley, oca-travis, Weblate, Eric @ Elico Corp
WEBSITE
WEBSITEhttp://www.vanroey.be/applications/bedrijfsbeheer/odoo
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pysftp
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_backup_conf_form Automated Backups db.backup form New
view_backup_conf_search Automated Backups db.backup search New
view_backup_conf_tree Automated Backups db.backup tree New
Models touched (1)

New fields (9)
  • days_to_keep Integer
    default=0 help='Backups older than this will be deleted automatically. Set 0 to disable autodeletion.' oldname='daystokeep' required=True
  • folder Char
    default=<expr> help='Absolute path for storing the backups' oldname='bkp_dir' required=True
  • method Selection
    default='local' help='Choose the storage method for this backup.' selection=[('local', 'Local disk'), ('sftp', 'Remote SFTP server')]
  • name Char
    compute='_compute_name' help='Summary of this backup process' store=True string='Name'
  • sftp_host Char
    help='The host name or IP address from your remote server. For example 192.168.0.1' oldname='sftpip' string='SFTP Server'
  • sftp_password Char
    help='The password for the SFTP connection. If you specify a private key file, then this is the password to decrypt it.' oldname='sftppassword' string='SFTP Password'
  • sftp_port Integer
    default=22 help='The port on the FTP server that accepts SSH/SFTP calls.' oldname='sftpport' string='SFTP Port'
  • sftp_private_key Char
    help='Path to the private key file. Only the Odoo user should have read permissions for that file.' string='Private key location'
  • sftp_user Char
    help='The username where the SFTP connection should be made with. This is the user on the external server.' oldname='sftpusername' string='Username in the SFTP Server'
Public methods (8)
  • action_backup(self)
    @api.multi
    Run selected backups.
  • action_backup_all(self)
    @api.model
    Run all scheduled backups.
  • action_sftp_test_connection(self)
    @api.multi
    Check if the SFTP settings are correct.
  • backup_log(self)
    @api.multi@contextmanager
    Log a backup result.
  • cleanup(self)
    @api.multi
    Clean up old backups.
  • cleanup_log(self)
    @api.multi@contextmanager
    Log a possible cleanup failure.
  • filename(self, when)
    @api.model
    Generate a file name for a backup. :param datetime.datetime when: Use this datetime instead of :meth:`datetime.datetime.now`.
  • sftp_connection(self)
    @api.multi
    Return a new SFTP connection with found parameters.
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/9.0/auto_backup
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Grupo ESOC Ingeniería de Servicios, VanRoey.be - Yenthe Van Ginneken
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Grupo ESOC Ingeniería de Servicios, VanRoey.be - Yenthe Van Ginneken
COMMITTERS
COMMITTERSMaxime Chambreuil, GitHub, Stéphane Bidoul (ACSONE), OCA Transbot, Stefan Rijnhart (Opener), Dave Lasley, Moises Lopez - https://www.vauxoo.com/, oca-travis, Weblate, Eric @ Elico Corp
WEBSITE
WEBSITEhttp://www.vanroey.be/applications/bedrijfsbeheer/odoo
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - bus
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pysftp
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_backup_conf_form Automated Backups db.backup form New
view_backup_conf_search Automated Backups db.backup search New
view_backup_conf_tree Automated Backups db.backup tree New
Models touched (1)

New fields (9)
  • days_to_keep Integer
    default=0 help='Backups older than this will be deleted automatically. Set 0 to disable autodeletion.' oldname='daystokeep' required=True
  • folder Char
    default=<expr> help='Absolute path for storing the backups' oldname='bkp_dir' required=True
  • method Selection
    default='local' help='Choose the storage method for this backup.' selection=[('local', 'Local disk'), ('sftp', 'Remote SFTP server')]
  • name Char
    compute='_compute_name' help='Summary of this backup process' store=True string='Name'
  • sftp_host Char
    help='The host name or IP address from your remote server. For example 192.168.0.1' oldname='sftpip' string='SFTP Server'
  • sftp_password Char
    help='The password for the SFTP connection. If you specify a private key file, then this is the password to decrypt it.' oldname='sftppassword' string='SFTP Password'
  • sftp_port Integer
    default=22 help='The port on the FTP server that accepts SSH/SFTP calls.' oldname='sftpport' string='SFTP Port'
  • sftp_private_key Char
    help='Path to the private key file. Only the Odoo user should have read permissions for that file.' string='Private key location'
  • sftp_user Char
    help='The username where the SFTP connection should be made with. This is the user on the external server.' oldname='sftpusername' string='Username in the SFTP Server'
Public methods (8)
  • action_backup(self)
    @api.multi
    Run selected backups.
  • action_backup_all(self)
    @api.model
    Run all scheduled backups.
  • action_sftp_test_connection(self)
    @api.multi
    Check if the SFTP settings are correct.
  • backup_log(self)
    @api.multi@contextmanager
    Log a backup result.
  • cleanup(self)
    @api.multi
    Clean up old backups.
  • cleanup_log(self)
    @api.multi@contextmanager
    Log a possible cleanup failure.
  • filename(self, when)
    @api.model
    Generate a file name for a backup. :param datetime.datetime when: Use this datetime instead of :meth:`datetime.datetime.now`.
  • sftp_connection(self)
    @api.multi
    Return a new SFTP connection with found parameters.
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/8.0/auto_backup
VERSION
VERSION 1.0.4
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Grupo ESOC Ingeniería de Servicios, VanRoey.be - Yenthe Van Ginneken
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Grupo ESOC Ingeniería de Servicios, VanRoey.be - Yenthe Van Ginneken
COMMITTERS
COMMITTERSeLBati, Holger Brunn, Pedro M. Baeza, GitHub, Jairo Llopis, Stéphane Bidoul (ACSONE), OCA Transbot, Stefan Rijnhart (Opener), archetipo, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttp://www.vanroey.be/applications/bedrijfsbeheer/odoo
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - email_template
    - mail
    - base
    - base_setup
    - web_kanban
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pysftp
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_backup_conf_form Automated Backups db.backup form New
view_backup_conf_search Automated Backups db.backup search New
view_backup_conf_tree Automated Backups db.backup tree New
Models touched (1)

New fields (10)
  • days_to_keep Integer
    default=0 help='Backups older than this will be deleted automatically. Set 0 to disable autodeletion.' oldname='daystokeep' required=True
  • folder Char
    default=<expr> help='Absolute path for storing the backups' oldname='bkp_dir' required=True
  • method Selection
    default='local' help='Choose the storage method for this backup.' selection=[('local', 'Local disk'), ('sftp', 'Remote SFTP server')]
  • name Char
    compute='_compute_name' help='Summary of this backup process' store=True string='Name'
  • sftp_host Char
    help='The host name or IP address from your remote server. For example 192.168.0.1' oldname='sftpip' string='SFTP Server'
  • sftp_password Char
    help='The password for the SFTP connection. If you specify a private key file, then this is the password to decrypt it.' oldname='sftppassword' string='SFTP Password'
  • sftp_port Integer
    default=22 help='The port on the FTP server that accepts SSH/SFTP calls.' oldname='sftpport' string='SFTP Port'
  • sftp_private_key Char
    help='Path to the private key file. Only the Odoo user should have read permissions for that file.' string='Private key location'
  • sftp_user Char
    help='The username where the SFTP connection should be made with. This is the user on the external server.' oldname='sftpusername' string='Username in the SFTP Server'
  • tempdir Char
    help='Backups first go to a temporary directory. In case you need to put them somewhere else, fill in the directory here' string='Temporary directory'
Public methods (9)
  • action_backup(self)
    @api.multi
    Run selected backups.
  • action_backup_all(self)
    @api.model
    Run all scheduled backups.
  • action_sftp_test_connection(self)
    @api.multi
    Check if the SFTP settings are correct.
  • backup_log(self)
    @api.multi@contextmanager
    Log a backup result.
  • cleanup(self)
    @api.multi
    Clean up old backups.
  • cleanup_log(self)
    @api.multi@contextmanager
    Log a possible cleanup failure.
  • custom_tempdir(self)
    @api.multi@contextmanager
  • filename(self, when)
    @api.model
    Generate a file name for a backup. :param datetime.datetime when: Use this datetime instead of :meth:`datetime.datetime.now`.
  • sftp_connection(self)
    @api.multi
    Return a new SFTP connection with found parameters.
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/server-tools
PULL REQUEST
PULL REQUEST[19.0][MIG] auto_backup: Migration to 19.0 (#3592)