Automated backups
A tool for all your back-ups, internal and external!
 
            Keep your Odoo data safe with this module. Take automated back-ups, remove them automatically and even write them to an external server through an encrypted tunnel. You can even specify how long local backups and external backups should be kept, automatically!
Connect with an FTP Server
Keep your data safe, through an SSH tunnel!
Want to go even further and write your backups to an external server? You can with this module! Specify the credentials to the server, specify a path and everything will be backed up automatically. This is done through an SSH (encrypted) tunnel, thanks to pysftp, so your data is safe!
 
            Test connection
Checks your credentials in one click
 
		     
            Want to make sure if the connection details are correct and if Odoo can automatically write them to the remote server? Simply click on the 'Test SFTP Connection' button and you will get message telling you if everything is OK, or what is wrong!
E-mail on backup failure
Stay informed of problems, automatically!
Do you want to know if the database backup failed? Check the checkbox 'Auto. E-mail on backup fail' and fill in your e-mail. Every time a backup fails you will get an e-mail in your mailbox with technical details.
 
            Contact / Support
Need help or want extra features?
Need help with the configuration or want this module to have more functionalities? Please create a bug report on the Github issue tracker
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedUpgrade to v17.0
Upgrade
Hi, please upgrade this module to v17.0.
installation does not work
The installation needs a module "paramiko". :-(
Full video Satup :
Upgrade addone to odoo 17
Hi
Please upgrade this backup addons to odoo 17
Thnks
Can't find Configure back-ups page
The installation was successful, but where can I enter the Configure back-ups page Please?
App is not installing
Unable to install module "auto_database_backup" because an external dependency is not met: Python library not installed: dropbox
Even if it is installed, it is not getting installed.
i have a large db and the backups fail at 2 GB file size of zip file
Paramiko has been installed, but the installation still fails with persistent errors
Traceback (most recent call last): File "/opt/odoo/odoo14/odoo/addons/base/models/ir_http.py", line 237, in _dispatch result = request.dispatch() File "/opt/odoo/odoo14/odoo/http.py", line 685, in dispatch result = self._call_function(**self.params) File "/opt/odoo/odoo14/odoo/http.py", line 361, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/odoo14/odoo/service/model.py", line 94, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/odoo14/odoo/http.py", line 349, in checked_call result = self.endpoint(*a, **kw) File "/opt/odoo/odoo14/odoo/http.py", line 908, in __call__ return self.method(*args, **kw) File "/opt/odoo/odoo14/odoo/http.py", line 533, in response_wrap response = f(*args, **kw) File "/opt/odoo/odoo14/addons/web/controllers/main.py", line 1376, in call_button action = self._call_kw(model, method, args, kwargs) File "/opt/odoo/odoo14/addons/web/controllers/main.py", line 1364, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/opt/odoo/odoo14/odoo/api.py", line 399, in call_kw result = _call_kw_multi(method, model, args, kwargs) File "/opt/odoo/odoo14/odoo/api.py", line 386, in _call_kw_multi result = method(recs, *args, **kwargs) File "", line 2, in button_immediate_install File "/opt/odoo/odoo14/odoo/addons/base/models/ir_module.py", line 74, in check_and_log return method(self, *args, **kwargs) File "/opt/odoo/odoo14/odoo/addons/base/models/ir_module.py", line 478, in button_immediate_install return self._button_immediate_function(type(self).button_install) File "/opt/odoo/odoo14/odoo/addons/base/models/ir_module.py", line 596, in _button_immediate_function modules.registry.Registry.new(self._cr.dbname, update_module=True) File "/opt/odoo/odoo14/odoo/modules/registry.py", line 89, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File "/opt/odoo/odoo14/odoo/modules/loading.py", line 461, in load_modules loaded_modules, update_module, models_to_check) File "/opt/odoo/odoo14/odoo/modules/loading.py", line 349, in load_marked_modules perform_checks=perform_checks, models_to_check=models_to_check File "/opt/odoo/odoo14/odoo/modules/loading.py", line 179, in load_module_graph load_openerp_module(package.name) File "/opt/odoo/odoo14/odoo/modules/module.py", line 385, in load_openerp_module __import__('odoo.addons.' + module_name) File "/opt/odoo/odoo14-custom-addons/auto_backup/__init__.py", line 1, in from . import models File "/opt/odoo/odoo14-custom-addons/auto_backup/models/__init__.py", line 2, in from . import db_backup File "/opt/odoo/odoo14-custom-addons/auto_backup/models/db_backup.py", line 20, in 'This module needs paramiko to automatically write backups to the FTP through SFTP. ' Exception The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/opt/odoo/odoo14/odoo/http.py", line 641, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo/odoo14/odoo/http.py", line 317, in _handle_exception raise exception.with_traceback(None) from new_cause ImportError: This module needs paramiko to automatically write backups to the FTP through SFTP. Please install paramiko on your system. (sudo pip3 install paramiko)Backup still running while auto_backup app is uninstalled
I have uninstalled auto_backup app and backup configuration has been removed as well; however, the backup process still running periodically. Please help this issue.
Thank you
/bin/python3 -m pip install paramiko
run this comand sudo pip3 install paramiko
backup odoo 17
Hi
i try Your backup on odoo 16 addons is Perfect thanks
Please upgrade your addons backup 16 to odoo 17
more then 1 GB can not working
Hi
more then 1 GB can not working
anyone face this problems ?
Already find Configure back-ups page
Need to: Set user to : Auto backup access = Manager
Then you can find it at: Settings - Technical - Configure back-ups
Errror
Traceback (most recent call last):
File "/opt/odoo16/odoo16/odoo/http.py", line 1584, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/opt/odoo16/odoo16/odoo/service/model.py", line 133, in retrying
result = func()
File "/opt/odoo16/odoo16/odoo/http.py", line 1611, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/opt/odoo16/odoo16/odoo/http.py", line 1815, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/opt/odoo16/odoo16/addons/website/models/ir_http.py", line 237, in _dispatch
response = super()._dispatch(endpoint)
File "/opt/odoo16/odoo16/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
result = endpoint(**request.params)
File "/opt/odoo16/odoo16/odoo/http.py", line 697, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/odoo16/odoo16/addons/web/controllers/dataset.py", line 46, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/opt/odoo16/odoo16/addons/web/controllers/dataset.py", line 33, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo16/odoo16/odoo/api.py", line 461, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo16/odoo16/odoo/api.py", line 448, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/odoo16/odoo16/custom-addons/auto_backup/models/db_backup.py", line 114, in test_sftp_connection
raise Warning(message_title + '\n\n' + message_content)
odoo.exceptions.Warning: Connection Test Succeeded!
Everything seems properly set up for FTP back-ups!
The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
RPCError@https://erp.xpayback.in/web/assets/416-fbda50e/web.assets_backend.min.js:981:274
makeErrorFromResponse@https://erp.xpayback.in/web/assets/416-fbda50e/web.assets_backend.min.js:985:163
jsonrpc/promisehttps://erp.xpayback.in/web/assets/416-fbda50e/web.assets_backend.min.js:993:34
"Thank you very much! This plugin has helped me to achieve a full backup of the database. Can this plugin also be used for incremental backup?"