Documentation Index
Fetch the complete documentation index at: https://openmetadata-feat-feat-2mbfixdeploy.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
How do the Upgrade & Backup work?
If this is the first time you are trying to upgrade OpenMetadata, or you just have some doubts on how the backup and upgrade process work, this is the place to be. We will cover:- What is being backed up?
- When should we restore?
- What happens during the migration?
Architecture Review
Let’s start with a simplified design review of OpenMetadata. You can find further details here, but we’ll now focus on the Server & the Database:
1. What is being backed up?
When we backup the data, we are creating an SQL file that follows the shape of the database of a specific version. Thus, if we have some issues on our instance, and we ever need to restore that data, it will only fit to a database with that same version shape.
2. When should we restore?
Now that we understand what is being backed up and how it looks like, when (and where) should we restore?- When: We restore the data if we need to get back in time. Restoring is never needed during the upgrade process.
- Where: We will restore the data to a clean database with the Flyway migrations at the same version as the backed up data. The usual process will be:
3. What happens during the migration?
We have been explaining how each OpenMetadata Server relies on a specific data model to store the metadata. What happens when we upgrade from version X to Y?