Odoo Database Tools
5 March, 2021 by
Odoo Database Tools
Administrator
| No comments yet

This module add mainly two functionalities:

  • Database backups
  • Modules update management

This module depends on “server_mode” module so backups can be disable by server_mode

Installation

To install this module, you need to:

  1. Install fabric with “pip install fabric”

Configuration and usage

To configure this module, you need to:

  1. Backups:
    • by default backups are disable, you can enable them with “database.backups.enable” parameter
    • by default a database record is created for the database where you’ve installed this module. You can check this record on “Settings / Database Tools / Databases”
    • Some default preservation rules are loaded, you can modify them at your own need
    • You can restore database remotly by calling “restore_db” WS
    • You can check database backup status on “Settings / Configuration / Database Tools”
  2. Modules update management:
    • Database modules status and fixes can be run on “Settings / Configuration / Database Tools”
    • If database isn’t accessible you can try to fix it by running something like “http://localhost:8069/fix_db/<db_name>”

    https://apps.openerp.com/apps/modules/9.0/database_tools/

Sign in to leave a comment