So I backup the database regulary with pg_dump and restore from time to time on different test-machines running different version of netbox.
Today I installed netbox v2.10.6 and imported .sql file with psql -U User database <
db.sql from v2.8.
Import was successful but after the restart of services I get :
Server Error
There was a problem with your request. Please contact an administrator.
The complete exception is provided below:
<class 'django.contrib.contenttypes.models.ContentType.DoesNotExist'>
ContentType matching query does not exist.
Python version: 3.6.8
NetBox version: 2.10.6
I'm not sure where the issue is. I wanted to continue with v2.10.6 as production machine after the database restore but I'm blocked now.