question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Model `db.backup` does not exist.

See original GitHub issue

Some users report that they get a traceback / error saying that the db.backup model is not found. This issue also seems to be possible if you have the module already installed and seems to happen somewhere randomly in time. Example from one of my production logs:

	Line 325566: 2017-08-20 18:45:26,657 7423 INFO mydb openerp.addons.auto_backup.backup_scheduler: Copying File /odoo/backups/20_08_2017_18_00_20_mydb.zip------ success
	Line 373775: 2017-08-21 18:00:03,605 2609 WARNING mydb openerp.addons.base.ir.ir_cron: Model `db.backup` does not exist.
	Line 418334: 2017-08-22 18:00:11,203 2609 WARNING mydb openerp.addons.base.ir.ir_cron: Model `db.backup` does not exist.
	Line 462467: 2017-08-23 18:00:23,201 2609 WARNING mydb openerp.addons.base.ir.ir_cron: Model `db.backup` does not exist.
	Line 526564: 2017-08-24 18:00:32,859 2609 WARNING mydb openerp.addons.base.ir.ir_cron: Model `db.backup` does not exist

As you can see this in this logfile the backup worked fine the 20 augustus and since the 21’st of august is spits out Model db.backup does not exist. for some reason.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
morrillocommented, May 23, 2018

I got the same error, “Model db.backup does not exist”. The problem is the module does not install due to problems with pyOpenSSL. This python dependency is either outdated or not installed. Can be installed with

pip install pyOpenSSL --upgrade

0reactions
prajithpiptcommented, Jun 19, 2019

@Yenthe666 I have an error during the installation of auto_backup in Odoo 12

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)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot perform a differential backup for database because a ...
This error occurs because the SQL Server backup chain for the specified database is being invalidated. Let's review possible causes.
Read more >
Msg 3035, Level 16 - Cannot Perform a Differential Backup for ...
Cannot perform a differential backup for database “HRMS”, because a current database backup does not exist. Perform a full database backup by ...
Read more >
SQL Differential backups failing with "current database backup ...
Perform a full database backup by reissuing BACKUP DATABASE, omitting the WITH DIFFERENTIAL option. BACKUP DATABASE is terminating abnormally.".
Read more >
You cannot restore system database backups to a different ...
The backup of the system database on device d:\temp\master.bak cannot be restored because it was created by a different version of the server...
Read more >
How can I fix "Cannot perform a differential backup ... a current ...
If something is taking a snapshot behind the scenes that breaks SQL differential backups causing a full to need to be taken before...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found