You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FR] ensure restore of backups only works in correct enviroments #11214
Please verify that this feature request has NOT been suggested before.
I checked and didn't find a similar feature request
Problem statement
User might restore backups in too old environments. This can cause unreliability and data loss
Suggested solution
Use Archmonger/django-dbbackup#663 once it is merged and released to enrich backup metadata with data around api and software version as well as plugin state
@SchrodingersGat not really with this mechanism but we can certainly look into it.
Have you ever checked if the plugin model data is included in backups? Maybe it is just a question of ensuring plugins are loaded during backup/restore - which would be nice and easy to do, compared to anything else that I can imagine being the issue.
changed the title [-][FR] ensure restore of plugins only works in correct enviroments[/-][+][FR] ensure restore of backups only works in correct enviroments[/+]on Feb 1, 2026
Activity
SchrodingersGat commentedon Jan 29, 2026
Is there scope here for performing backup / restore of plugin tables? This is a current blocker for extracting data from setups with custom DB tables
matmair commentedon Jan 30, 2026
@SchrodingersGat not really with this mechanism but we can certainly look into it.
Have you ever checked if the plugin model data is included in backups? Maybe it is just a question of ensuring plugins are loaded during backup/restore - which would be nice and easy to do, compared to anything else that I can imagine being the issue.
SchrodingersGat commentedon Feb 1, 2026
I think we just have to ensure that the correct plugins are enabled before updating.
So we may need to ensure that the data is re-imported in a correct sequence:
matmair commentedon Feb 1, 2026
sounds reasonable; can we shift that to another issue?
SchrodingersGat commentedon Feb 1, 2026
If you would like to scope it do a different issue, that's fine :)
[-][FR] ensure restore of plugins only works in correct enviroments[/-][+][FR] ensure restore of backups only works in correct enviroments[/+]matmair commentedon Feb 1, 2026
I opened #11235 to track that issue
matmair commentedon Feb 18, 2026
working on this now
[FR] ensure restore of backups only works in correct enviroments
feat(backend): ensure restore of backups only works in correct enviro…
feat(backend): ensure restore of backups only works in correct enviro…
Add "updated_at" field to Orders model (#11374)