v 8.0 v 9.0 v 10.0 v 11.0 v 12.0 Third Party 56875
Download for v 12.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 370
Technical Name auto_backup
LicenseLGPL-3
Websitehttp://www.odoo.yenthevg.com
Versions 10.0 8.0 9.0 13.0 15.0 16.0 14.0 11.0 12.0
You bought this module and need support? Click here!

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!

Start your free trial

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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Thanks
by
VooVoo
on 6/23/22, 4:17 AM

by
Methodoos
on 8/17/21, 3:25 AM

On Odoo 12 backup scheduler, when starts, is producing backups until server disk space ends. This is not happening in Odoo 13,14. Is there any trick that I miss to stop this behavior and execute the backup only once per day?

thanks in advance


by
alexey.homyakov@gmail.com
on 11/12/19, 3:36 AM

"No matching record found for external id 'model_db_backup'" - just restart odoo container or service and then install it again.

Re:
by
Yenthe
on 11/12/19, 8:52 AM Author

Thanks a lot for the feedback! I've had a few reports of these but nobody was ever able to reproduce it or tell me how to fix it. Hope this helps others. :)


I can't install this either.
by
Russ Schneider
on 6/9/19, 8:21 PM

I get the same error as others on Odoo12ce/Ubuntu 18.04.2 Exception: Module loading auto_backup failed: file auto_backup/security/ir.model.access.csv could not be processed: No matching record found for external id 'model_db_backup' in field 'Object' No matching record found for external id 'model_db_backup' in field 'Object' Missing required value for the field 'Object' (model_id) Missing required value for the field 'Object' (model_id)


I have to revert my post that it is not installing. 100% Working!
by
Jan Navarro
on 5/2/19, 12:42 PM

I went to github, and just commented out the paramiko in the models/db_backup.py lines. Now it works like a charm!


Great work!
by
ERP LABZ
on 1/28/19, 9:08 AM

by
Anil Jojo
on 1/15/19, 2:00 AM

by
Christian Kolbe
on 1/22/24, 8:51 AM

do this tool works under a V17 odoo.sh  instance ? 

our odoo implementation partner said to us that all backups require first a local backup via db manager on odoo.sh  




Great work, thanks.
by
fethallah
on 4/19/23, 8:53 AM



Odoo 12ce - Not working when list_db=False
by
Methodoos
on 6/18/21, 3:00 AM

Hello and thank you for the wonderful app. Is it possible to fix it in future releases? On v13,v14 works.



by
Bista Solutions Inc
on 2/19/21, 1:12 AM

Hello team, does this module can be used if my SFTP server is on Windows Server


Issues with scheduled database deletion
by
Rob Bro
on 1/7/20, 11:31 PM

Database backups are not deleted after the allotted days. In Odoo 12 and 13.


Installation Error
by
Eduardo Gonzalez
on 8/12/19, 9:09 AM

Dear, any solution to this error? Error: Odoo Server Error Traceback (most recent call last): File "/opt/odoo/odoo/odoo/http.py", line 656, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo/odoo/odoo/http.py", line 314, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/opt/odoo/odoo/odoo/tools/pycompat.py", line 87, in reraise raise value File "/opt/odoo/odoo/odoo/http.py", line 698, in dispatch result = self._call_function(**self.params) File "/opt/odoo/odoo/odoo/http.py", line 346, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/odoo/odoo/service/model.py", line 97, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/odoo/odoo/http.py", line 339, in checked_call result = self.endpoint(*a, **kw) File "/opt/odoo/odoo/odoo/http.py", line 941, in __call__ return self.method(*args, **kw) File "/opt/odoo/odoo/odoo/http.py", line 519, in response_wrap response = f(*args, **kw) File "/opt/odoo/odoo/addons/web/controllers/main.py", line 966, in call_button action = self._call_kw(model, method, args, {}) File "/opt/odoo/odoo/addons/web/controllers/main.py", line 954, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/opt/odoo/odoo/odoo/api.py", line 749, in call_kw return _call_kw_multi(method, model, args, kwargs) File "/opt/odoo/odoo/odoo/api.py", line 736, in _call_kw_multi result = method(recs, *args, **kwargs) File "", line 2, in button_immediate_install File "/opt/odoo/odoo/odoo/addons/base/models/ir_module.py", line 74, in check_and_log return method(self, *args, **kwargs) File "/opt/odoo/odoo/odoo/addons/base/models/ir_module.py", line 445, in button_immediate_install return self._button_immediate_function(type(self).button_install) File "/opt/odoo/odoo/odoo/addons/base/models/ir_module.py", line 561, in _button_immediate_function modules.registry.Registry.new(self._cr.dbname, update_module=True) File "/opt/odoo/odoo/odoo/modules/registry.py", line 86, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File "/opt/odoo/odoo/odoo/modules/loading.py", line 421, in load_modules loaded_modules, update_module, models_to_check) File "/opt/odoo/odoo/odoo/modules/loading.py", line 313, in load_marked_modules perform_checks=perform_checks, models_to_check=models_to_check File "/opt/odoo/odoo/odoo/modules/loading.py", line 222, in load_module_graph load_data(cr, idref, mode, kind='data', package=package, report=report) File "/opt/odoo/odoo/odoo/modules/loading.py", line 68, in load_data tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind, report) File "/opt/odoo/odoo/odoo/tools/convert.py", line 798, in convert_file convert_csv_import(cr, module, pathname, fp.read(), idref, mode, noupdate) File "/opt/odoo/odoo/odoo/tools/convert.py", line 845, in convert_csv_import raise Exception(_('Module loading %s failed: file %s could not be processed:\n %s') % (module, fname, warning_msg)) Exception: Fallo en la carga del módulo auto_backup: no se pudo procesar el archivo auto_backup/security/ir.model.access.csv: No se han encontrado registros coincidentes para id. externo 'model_db_backup' en el campo 'Object' No se han encontrado registros coincidentes para id. externo 'model_db_backup' en el campo 'Object' Falta el valor requerido para el campo 'Object' (model_id) Falta el valor requerido para el campo 'Object' (model_id)


cannot install on odoo 12 EE
by
Maa Althahab
on 5/27/19, 8:45 AM

I did everything and installed paramiko but still not working, and it shows the following error : Error: Odoo Server Error Traceback (most recent call last): File "C:\Program Files (x86)\Odoo 12.0e\server\odoo\http.py", line 654, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "C:\Program Files (x86)\Odoo 12.0e\server\odoo\http.py", line 312, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "C:\Program Files (x86)\Odoo 12.0e\server\odoo\tools\pycompat.py", line 87, in reraise raise value File "C:\Program Files (x86)\Odoo 12.0e\server\odoo\http.py", line 696, in dispatch result = self._call_function(**self.params) File "C:\Program Files (x86)\Odoo 12.0e\server\odoo\http.py", line 344, in _call_function return checked_call(self.db, *args, **kwargs) File "C:\Program Files (x86)\Odoo 12.0e\server\odoo\service\model.py", line 97, in wrapper return f(dbname, *args, **kwargs) File "C:\Program Files (x86)\Odoo 12.0e\server\odoo\http.py", line 337, in checked_call result = self.endpoint(*a, **kw) File "C:\Program Files (x86)\Odoo 12.0e\server\odoo\http.py", line 939, in __call__ return self.method(*args, **kw) File "C:\Program Files (x86)\Odoo 12.0e\server\odoo\http.py", line 517, in response_wrap response = f(*args, **kw) File "c:\program files (x86)\odoo 12.0e\server\odoo\addons\web\controllers\main.py", line 966, in call_button action = self._call_kw(model, method, args, {}) File "c:\program files (x86)\odoo 12.0e\server\odoo\addons\web\controllers\main.py", line 954, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "C:\Program Files (x86)\Odoo 12.0e\server\odoo\api.py", line 749, in call_kw return _call_kw_multi(method, model, args, kwargs) File "C:\Program Files (x86)\Odoo 12.0e\server\odoo\api.py", line 736, in _call_kw_multi result = method(recs, *args, **kwargs) File "", line 2, in button_immediate_install File "c:\program files (x86)\odoo 12.0e\server\odoo\addons\base\models\ir_module.py", line 73, in check_and_log return method(self, *args, **kwargs) File "c:\program files (x86)\odoo 12.0e\server\odoo\addons\base\models\ir_module.py", line 444, in button_immediate_install return self._button_immediate_function(type(self).button_install) File "c:\program files (x86)\odoo 12.0e\server\odoo\addons\base\models\ir_module.py", line 552, in _button_immediate_function modules.registry.Registry.new(self._cr.dbname, update_module=True) File "C:\Program Files (x86)\Odoo 12.0e\server\odoo\modules\registry.py", line 86, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File "C:\Program Files (x86)\Odoo 12.0e\server\odoo\modules\loading.py", line 421, in load_modules loaded_modules, update_module, models_to_check) File "C:\Program Files (x86)\Odoo 12.0e\server\odoo\modules\loading.py", line 313, in load_marked_modules perform_checks=perform_checks, models_to_check=models_to_check File "C:\Program Files (x86)\Odoo 12.0e\server\odoo\modules\loading.py", line 222, in load_module_graph load_data(cr, idref, mode, kind='data', package=package, report=report) File "C:\Program Files (x86)\Odoo 12.0e\server\odoo\modules\loading.py", line 68, in load_data tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind, report) File "C:\Program Files (x86)\Odoo 12.0e\server\odoo\tools\convert.py", line 797, in convert_file convert_csv_import(cr, module, pathname, fp.read(), idref, mode, noupdate) File "C:\Program Files (x86)\Odoo 12.0e\server\odoo\tools\convert.py", line 844, in convert_csv_import raise Exception(_('Module loading %s failed: file %s could not be processed:\n %s') % (module, fname, warning_msg)) Exception: Module loading auto_backup failed: file auto_backup\security/ir.model.access.csv could not be processed: No matching record found for external id 'model_db_backup' in field 'Object' No matching record found for external id 'model_db_backup' in field 'Object' Missing required value for the field 'Object' (model_id) Missing required value for the field 'Object' (model_id)


Not able to find the zip file created
by
Bilal Akmal
on 4/29/19, 5:04 AM

I have installed your module successfully, initially it required "paramiko" to be installed so I installed it on the server and have added SFTP settings and the settings work well. but when I run the scheduler it is not creating any zip file to the path mentioned. Is it saving somewhere else?


Odoothaidev
by
sudtana
on 4/28/19, 4:15 PM

After my database got hacked , this is the most App that i love Thank you Yenthe for share it 5 star // Odoo 12 install working fine

Re: Odoothaidev
by
Yenthe
on 5/8/19, 9:42 AM Author

Thanks! I'm happy to hear that you like it.


It is not installing
by
Jan Navarro
on 4/25/19, 7:54 AM

Hello this is not usable in Odoo 12. There is an error when you install it. Do you have any fix for this? Thanks.

Re: It is not installing
by
Yenthe
on 4/26/19, 11:55 AM Author

What error are you getting exactly? It should work fine. Can you please make a detailed report at https://github.com/Yenthe666/auto_backup ?


cannot install on odoo 12 CE
by
Ferry R
on 2/7/19, 7:18 AM

Hi, when i click install in apps, this showed up, please help Error: Odoo Server Error Traceback (most recent call last): File "/odoo/odoo-server/odoo/http.py", line 654, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/odoo/odoo-server/odoo/http.py", line 312, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/odoo/odoo-server/odoo/tools/pycompat.py", line 87, in reraise raise value File "/odoo/odoo-server/odoo/http.py", line 696, in dispatch result = self._call_function(**self.params) File "/odoo/odoo-server/odoo/http.py", line 344, in _call_function return checked_call(self.db, *args, **kwargs) File "/odoo/odoo-server/odoo/service/model.py", line 97, in wrapper return f(dbname, *args, **kwargs) File "/odoo/odoo-server/odoo/http.py", line 337, in checked_call result = self.endpoint(*a, **kw) File "/odoo/odoo-server/odoo/http.py", line 939, in __call__ return self.method(*args, **kw) File "/odoo/odoo-server/odoo/http.py", line 517, in response_wrap response = f(*args, **kw) File "/odoo/odoo-server/addons/web/controllers/main.py", line 966, in call_button action = self._call_kw(model, method, args, {}) File "/odoo/odoo-server/addons/web/controllers/main.py", line 954, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/odoo/odoo-server/odoo/api.py", line 749, in call_kw return _call_kw_multi(method, model, args, kwargs) File "/odoo/odoo-server/odoo/api.py", line 736, in _call_kw_multi result = method(recs, *args, **kwargs) File "", line 2, in button_immediate_install File "/odoo/odoo-server/odoo/addons/base/models/ir_module.py", line 73, in check_and_log return method(self, *args, **kwargs) File "/odoo/odoo-server/odoo/addons/base/models/ir_module.py", line 444, in button_immediate_install return self._button_immediate_function(type(self).button_install) File "/odoo/odoo-server/odoo/addons/base/models/ir_module.py", line 553, in _button_immediate_function modules.registry.Registry.new(self._cr.dbname, update_module=True) File "/odoo/odoo-server/odoo/modules/registry.py", line 86, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File "/odoo/odoo-server/odoo/modules/loading.py", line 421, in load_modules loaded_modules, update_module, models_to_check) File "/odoo/odoo-server/odoo/modules/loading.py", line 313, in load_marked_modules perform_checks=perform_checks, models_to_check=models_to_check File "/odoo/odoo-server/odoo/modules/loading.py", line 222, in load_module_graph load_data(cr, idref, mode, kind='data', package=package, report=report) File "/odoo/odoo-server/odoo/modules/loading.py", line 68, in load_data tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind, report) File "/odoo/odoo-server/odoo/tools/convert.py", line 797, in convert_file convert_csv_import(cr, module, pathname, fp.read(), idref, mode, noupdate) File "/odoo/odoo-server/odoo/tools/convert.py", line 844, in convert_csv_import raise Exception(_('Module loading %s failed: file %s could not be processed:\n %s') % (module, fname, warning_msg)) Exception: Module loading auto_backup failed: file auto_backup/security/ir.model.access.csv could not be processed: No matching record found for external id 'model_db_backup' in field 'Object' No matching record found for external id 'model_db_backup' in field 'Object' Missing required value for the field 'Object' (model_id) Missing required value for the field 'Object' (model_id)


Can not install on Odoo12.
by
Asia Matrix
on 11/30/18, 12:49 AM

Error: Odoo Server Error Traceback (most recent call last): File "/opt/odoo/odoo11/odoo/http.py", line 654, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo/odoo11/odoo/http.py", line 312, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/opt/odoo/odoo11/odoo/tools/pycompat.py", line 87, in reraise raise value File "/opt/odoo/odoo11/odoo/http.py", line 696, in dispatch result = self._call_function(**self.params) File "/opt/odoo/odoo11/odoo/http.py", line 344, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/odoo11/odoo/service/model.py", line 97, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/odoo11/odoo/http.py", line 337, in checked_call result = self.endpoint(*a, **kw) File "/opt/odoo/odoo11/odoo/http.py", line 939, in __call__ return self.method(*args, **kw) File "/opt/odoo/odoo11/odoo/http.py", line 517, in response_wrap response = f(*args, **kw) File "/opt/odoo12/addons/web/controllers/main.py", line 966, in call_button action = self._call_kw(model, method, args, {}) File "/opt/odoo12/addons/web/controllers/main.py", line 954, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/opt/odoo/odoo11/odoo/api.py", line 749, in call_kw return _call_kw_multi(method, model, args, kwargs) File "/opt/odoo/odoo11/odoo/api.py", line 736, in _call_kw_multi result = method(recs, *args, **kwargs) File "", line 2, in button_immediate_install File "/opt/odoo12/addons/base/models/ir_module.py", line 71, in check_and_log return method(self, *args, **kwargs) File "/opt/odoo12/addons/base/models/ir_module.py", line 442, in button_immediate_install return self._button_immediate_function(type(self).button_install) File "/opt/odoo12/addons/base/models/ir_module.py", line 535, in _button_immediate_function modules.registry.Registry.new(self._cr.dbname, update_module=True) File "/opt/odoo/odoo11/odoo/modules/registry.py", line 86, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File "/opt/odoo/odoo11/odoo/modules/loading.py", line 421, in load_modules loaded_modules, update_module, models_to_check) File "/opt/odoo/odoo11/odoo/modules/loading.py", line 313, in load_marked_modules perform_checks=perform_checks, models_to_check=models_to_check File "/opt/odoo/odoo11/odoo/modules/loading.py", line 222, in load_module_graph load_data(cr, idref, mode, kind='data', package=package, report=report) File "/opt/odoo/odoo11/odoo/modules/loading.py", line 68, in load_data tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind, report) File "/opt/odoo/odoo11/odoo/tools/convert.py", line 797, in convert_file convert_csv_import(cr, module, pathname, fp.read(), idref, mode, noupdate) File "/opt/odoo/odoo11/odoo/tools/convert.py", line 844, in convert_csv_import raise Exception(_('Module loading %s failed: file %s could not be processed:\n %s') % (module, fname, warning_msg)) Exception: Module loading auto_backup failed: file auto_backup/security/ir.model.access.csv could not be processed: No matching record found for external id 'model_db_backup' in field 'Object' No matching record found for external id 'model_db_backup' in field 'Object' Missing required value for the field 'Object' (model_id) Missing required value for the field 'Object' (model_id)


I have this problem
by
kirubanidhi
on 11/27/18, 1:10 AM

I installed this module lost day in my odoo v11 version. Today i am running my odoo. It getting below error OperationalError: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432? I could not able to access the database


i have this problem
by
Volodymyr Tomchak
on 10/30/18, 5:10 PM

Error while importing module 'auto_backup': "Module loading auto_backup failed: file /tmp/tmpeuqc1ukp/auto_backup/security/ir.model.access.csv could not be processed:\n No matching record found for external id 'model_db_backup' in field 'Object'\nNo matching record found for external id 'model_db_backup' in field 'Object'\nMissing required value for the field 'Object' (model_id)\nMissing required value for the field 'Object' (model_id)"