Import - Export

Export templates store into zip file and later recover the state or import to a different instance

export

Migrating templates

This extension can be used to move templates to different servers as well to different servers using different template stores. This means you can for example copy templates from default file system store to mssql store or postgres store.

API

Export into zip stream

POST: /api/export
BODY: {
  //optional
  selection: ["id1", "id2" ...]
}

Import zip stream

POST: /api/import
BODY: /* multipart import.zip */

Important - make sure the multipart key for uploaded zip is import.zip

You can find how to send multiplart through postmant here.