auto_backup
in server-tools · source on GitHub
Backups database
Category: Tools · Yenthe Van Ginneken · Agile Business Group · Grupo ESOC Ingenieria de Servicios · LasLabs · AGPL-3
| Series | Status | Details | Code |
|---|---|---|---|
| 16.0 | ~Environment problem | External Python package version does not match: paramiko<4.0.0 · run 2026-08-26 | on GitHub |
| 17.0 | ✓Installs | · run 2026-08-20 · 17.0.1.1.1 | on GitHub |
| 18.0 | ~Environment problem | External Python package version does not match: paramiko<4.0.0 · run 2026-08-26 | on GitHub |
| 19.0 | ~Environment problem | External Python package version does not match: paramiko<4.0.0 · run 2026-08-26 | on GitHub |
| 20.0 | —Not tested | no branch |
Odoo 20.0 dev — development line
A different statement from the table above. There: the module as published, on a released platform. Here: the module’s code with its manifest version mechanically raised, on a platform that has not been released and changes daily.
| Status | Details |
|---|---|
| ~environment | External Python package version does not match: paramiko<4.0.0 · version 19.0.1.0.1 → 19.5.1.0.1, code unchanged · run 2026-09-10 · odoo 19.5 · modidx/odoo:master-deps-20260910 |
Log excerpt, 20.0 dev
2026-09-10 20:31:18,750 1 INFO job_a1650dec548c odoo.modules.loading: updating modules list
2026-09-10 20:31:18,756 1 INFO job_a1650dec548c odoo.addons.base.models.ir_module: ALLOW access to module.update_list on [] to user __system__ #1 via n/a
2026-09-10 20:31:40,446 1 INFO job_a1650dec548c odoo.addons.base.models.ir_module: ALLOW access to module.button_install on ['Database Auto-Backup'] to user __system__ #1 via n/a
2026-09-10 20:31:40,525 1 WARNING job_a1650dec548c odoo.modules.loading: Transient module states were reset
2026-09-10 20:31:40,527 1 ERROR job_a1650dec548c odoo.registry: Failed to load registry
2026-09-10 20:31:40,527 1 CRITICAL job_a1650dec548c odoo.service.server: Failed to initialize database `job_a1650dec548c`.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 353, in check_external_dependencies
manifest.check_manifest_dependencies()
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 309, in check_manifest_dependencies
check_python_external_dependency(pydep)
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 643, in check_python_external_dependency
raise MissingDependency(msg, pydep)
odoo.modules.module.MissingDependency: External dependency version mismatch: paramiko<4.0.0 (installed: 5.0.0)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1559, in preload_registries
registry = Registry.new(dbname, update_module=update_module, install_modules=config['init'], upgrade_modules=config['update'], reinit_modules=config['reinit'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 67, in locked
return func(inst, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/odoo/orm/registry.py", line 222, in new
contextvars.Context().run(
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 407, in load_modules
modules.button_install()
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 75, in check_and_log
return method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 424, in button_install
modules._state_update('to install', ['uninstalled'])
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 401, in _state_update
self.check_external_dependencies(module.name, newstate)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 373, in check_external_dependencies
raise UserError(msg) from e
odoo.exceptions.UserError: Unable to install module "auto_backup" because an external dependency is not met: paramiko<4.0.0
2026-09-10 20:31:40,534 1 INFO job_a1650dec548c odoo.service.server.ThreadedServer: Initiating shutdown
2026-09-10 20:31:40,534 1 INFO job_a1650dec548c odoo.service.server.ThreadedServer: Hit CTRL-C again or send a second signal to force the shutdown.
2026-09-10 20:31:40,535 1 INFO job_a1650dec548c odoo.sql_db: ConnectionPool(read/write;used=0/count=0/max=64): Closed 1 connectionsProvenance: __manifest__.py sha256 1d9c7819354e8598… · tree of 90 files without the manifest, sha256 e82e504787900ecd…
This does not say the module is compatible with Odoo 20.0, and does not say it installs on Odoo 20.0 — on a stock platform it will not, until its maintainer raises the version. Why we raise the version
Odoo 20.0 — the branch itself
The same frozen code, run again against the real 20.0 branch. The run above used Odoo’s development line before the branch was cut; this one used the branch, pinned to one commit.
| Status | Details |
|---|---|
| ~environment | External Python package version does not match: paramiko<4.0.0 · version 19.0.1.0.1 → 20.0.1.0.1, code unchanged · run 2026-09-18 · odoo 20.0 · modidx/odoo:20.0-deps-20260918 |
Log excerpt, 20.0 dev
2026-09-18 18:17:01,671 1 INFO job_6815ae10537e odoo.modules.loading: updating modules list
2026-09-18 18:17:01,676 1 INFO job_6815ae10537e odoo.addons.base.models.ir_module: ALLOW access to module.update_list on [] to user __system__ #1 via n/a
2026-09-18 18:17:24,460 1 INFO job_6815ae10537e odoo.addons.base.models.ir_module: ALLOW access to module.button_install on ['Database Auto-Backup'] to user __system__ #1 via n/a
2026-09-18 18:17:24,521 1 WARNING job_6815ae10537e odoo.modules.loading: Transient module states were reset
2026-09-18 18:17:24,523 1 ERROR job_6815ae10537e odoo.registry: Failed to load registry
2026-09-18 18:17:24,524 1 CRITICAL job_6815ae10537e odoo.service.server: Failed to initialize database `job_6815ae10537e`.
Traceback (most recent call last):
File "/opt/odoo/odoo/addons/base/models/ir_module.py", line 354, in check_external_dependencies
manifest.check_manifest_dependencies()
File "/opt/odoo/odoo/modules/module.py", line 309, in check_manifest_dependencies
check_python_external_dependency(pydep)
File "/opt/odoo/odoo/modules/module.py", line 643, in check_python_external_dependency
raise MissingDependency(msg, pydep)
odoo.modules.module.MissingDependency: External dependency version mismatch: paramiko<4.0.0 (installed: 5.0.0)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/odoo/odoo/service/server.py", line 1520, in preload_registries
registry = Registry.new(dbname, update_module=update_module, install_modules=config['init'], upgrade_modules=config['update'], reinit_modules=config['reinit'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/odoo/odoo/tools/func.py", line 67, in locked
return func(inst, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/odoo/odoo/orm/registry.py", line 222, in new
contextvars.Context().run(
File "/opt/odoo/odoo/modules/loading.py", line 410, in load_modules
modules.button_install()
File "/opt/odoo/odoo/addons/base/models/ir_module.py", line 75, in check_and_log
return method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/odoo/odoo/addons/base/models/ir_module.py", line 425, in button_install
modules._state_update('to install', ['uninstalled'])
File "/opt/odoo/odoo/addons/base/models/ir_module.py", line 402, in _state_update
self.check_external_dependencies(module.name, newstate)
File "/opt/odoo/odoo/addons/base/models/ir_module.py", line 374, in check_external_dependencies
raise UserError(msg) from e
odoo.exceptions.UserError: Unable to install module "auto_backup" because an external dependency is not met: paramiko<4.0.0
2026-09-18 18:17:24,533 1 INFO job_6815ae10537e odoo.service.server.ThreadedServer: Initiating shutdown
2026-09-18 18:17:24,534 1 INFO job_6815ae10537e odoo.service.server.ThreadedServer: Hit CTRL-C again or send a second signal to force the shutdown.
2026-09-18 18:17:24,535 1 INFO job_6815ae10537e odoo.sql_db: ConnectionPool(read/write;used=0/count=0/max=64): Closed 1 connectionsProvenance: __manifest__.py sha256 1d9c7819354e8598… · tree of 90 files without the manifest, sha256 e82e504787900ecd…
This does not say the module is compatible with Odoo 20.0, and does not say it installs on Odoo 20.0 — on a stock platform it will not, until its maintainer raises the version. Why we raise the version
The module’s code on 19.0
| Lines of code | python 586 · xml 137 |
| Tests | yes: 1 file(s), 246 lines |
| Migration scripts | no |
| Models | 1 new · 1 extensions |
Lines are physical, blanks and comments included, as wc -l. Tests are test_*.py files under tests/. Models are lines holding _name = and _inherit =. These are facts about the code, not a judgement: more lines is neither better nor worse. Measured 2026-08-28 on tree 0c8982039755.
The apps.odoo.com catalogue has a listing under the same technical name on 16.0: apps.odoo.com/apps/modules/16.0/auto_backup. A matching name does not prove matching code — how we counted this.
Depends on
| Module | Status | Checked |
|---|---|---|
| core | ships with Odoo |
External dependencies
Checked against modidx/odoo:19.0-deps-20260922.
| Kind | Package | In our image |
|---|---|---|
| python | paramiko<4.0.0 | in image |
| python | pysftp | in image |
| python | cryptography | in image |
History
| Last change | 2026-07-17 |
| Code commits, 12 months | 32 |
| Most active | simonev, Bhavesh Heliconia, Stefan Rijnhart |
| Files | 91 |
Translation and bot commits are excluded from the commit count.
Install log 19.0
2026-08-26 19:34:07,832 1 WARNING job_6caf9053f9e0 odoo.modules.loading: Transient module states were reset
2026-08-26 19:34:07,833 1 ERROR job_6caf9053f9e0 odoo.registry: Failed to load registry
2026-08-26 19:34:07,834 1 CRITICAL job_6caf9053f9e0 odoo.service.server: Failed to initialize database `job_6caf9053f9e0`.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 356, in check_external_dependencies
manifest.check_manifest_dependencies()
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 258, in check_manifest_dependencies
check_python_external_dependency(pydep)
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 614, in check_python_external_dependency
raise MissingDependency(msg, pydep)
odoo.modules.module.MissingDependency: External dependency version mismatch: paramiko<4.0.0 (installed: 5.0.0)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1585, in preload_registries
registry = Registry.new(dbname, update_module=update_module, install_modules=config['init'], upgrade_modules=config['update'], reinit_modules=config['reinit'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 88, in locked
return func(inst, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/odoo/orm/registry.py", line 189, in new
load_modules(
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 434, in load_modules
modules.button_install()
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 72, in check_and_log
return method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 427, in button_install
modules._state_update('to install', ['uninstalled'])
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 404, in _state_update
self.check_external_dependencies(module.name, newstate)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 376, in check_external_dependencies
raise UserError(msg) from e
odoo.exceptions.UserError: Unable to install module "auto_backup" because an external dependency is not met: paramiko<4.0.0Install log 18.0
Warn: Can't find .pfb for face 'Courier'
2026-08-26 19:33:11,830 1 WARNING job_382ad70e7032 odoo.modules.loading: Transient module states were reset
2026-08-26 19:33:11,831 1 ERROR job_382ad70e7032 odoo.modules.registry: Failed to load registry
2026-08-26 19:33:11,832 1 CRITICAL job_382ad70e7032 odoo.service.server: Failed to initialize database `job_382ad70e7032`.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 367, in check_external_dependencies
modules.check_manifest_dependencies(terp)
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 506, in check_manifest_dependencies
check_python_external_dependency(pydep)
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 498, in check_python_external_dependency
raise Exception(msg)
Exception: External dependency version mismatch: paramiko<4.0.0 (installed: 5.0.0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1414, in preload_registries
registry = Registry.new(dbname, update_module=update_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 97, in locked
return func(inst, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 118, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 456, in load_modules
modules.button_install()
File "/usr/lib/python3/dist-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 77, in check_and_log
return method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 434, in button_install
modules._state_update('to install', ['uninstalled'])
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 409, in _state_update
self.check_external_dependencies(module.name, newstate)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 375, in check_external_dependencies
raise UserError(msg)
odoo.exceptions.UserError: Unable to install module "auto_backup" because an external dependency is not met: External dependency version mismatch: paramiko<4.0.0 (installed: 5.0.0)Install log 16.0
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 399, in _state_update
self.check_external_dependencies(module.name, newstate)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 368, in check_external_dependencies
raise UserError(msg % (module_name, e.args[0]))
odoo.exceptions.UserError: Unable to install module "auto_backup" because an external dependency is not met: Python library version conflict: paramiko<4.0.0
2026-08-26 22:10:31,205 1 CRITICAL job_e8fd43147e3d odoo.service.server: Failed to initialize database `job_e8fd43147e3d`.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 538, in check_python_external_dependency
pkg_resources.get_distribution(pydep)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 466, in get_distribution
dist = get_provider(dist)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 342, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 628, in find
raise VersionConflict(dist, req)
pkg_resources.VersionConflict: (paramiko 5.0.0 (/usr/local/lib/python3.9/dist-packages), Requirement.parse('paramiko<4.0.0'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 360, in check_external_dependencies
modules.check_manifest_dependencies(terp)
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 560, in check_manifest_dependencies
check_python_external_dependency(pydep)
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 549, in check_python_external_dependency
raise Exception('Python library version conflict: %s' % (pydep,))
Exception: Python library version conflict: paramiko<4.0.0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1333, in preload_registries
registry = Registry.new(dbname, update_module=update_module)
File "<decorator-gen-16>", line 2, in new
File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 87, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 460, in load_modules
modules.button_install()
File "<decorator-gen-76>", line 2, in button_install
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 74, in check_and_log
return method(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 420, in button_install
modules._state_update('to install', ['uninstalled'])
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 399, in _state_update
self.check_external_dependencies(module.name, newstate)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 368, in check_external_dependencies
raise UserError(msg % (module_name, e.args[0]))
odoo.exceptions.UserError: Unable to install module "auto_backup" because an external dependency is not met: Python library version conflict: paramiko<4.0.0Result looks wrong? Tell us — we will show the log or run it again. Report a wrong result