What is serialization?
Serialization is the process of storing the state of an application or other object as a file, so that it can be reloaded (or deserialized) later. In the serialization process, that complex object gets converted to a stream of data, one that’s much easier to transfer over a network or copy to a new instance. Think of serialization like taking a snapshot of some application, but with the power to turn that flattened snapshot back into a live object whenever you’re ready.
Serialization comes in handy if you need to manage multiple instances of an app, like development or staging instances in addition to the ones you use for production. Serialization can also be used to customize an initial state of an application, like preloading a Metabase instance with connection details to a database, predefined groups, dashboards, and so on.
Serialization in Metabase
Metabase’s serialization feature lets you capture and export the contents of your Metabase so that you can reload them into another instance — or several.
- Serialization: preloading dashboards in a new Metabase instance
- Docs on serialization
- Metabase at scale
Did this article help you?
Thanks for your feedback!