Replies: 2 comments 1 reply
-
There isn't a CLI/direct way to migrate data yet, but currently you can get all of them via the API and add them in via the API again or via custom migration files (you might need to strip things like ID/primary key for example if you're adding to a new instance rather than updating an existing one). |
Beta Was this translation helpful? Give feedback.
-
I've developed a CLI tool for synchronizing Directus settings, available here: https://github.com/tractr/directus-sync. It's crafted to facilitate the export and import of Directus configurations like schema, This method ensures a safe, incremental update process. For a detailed walkthrough, please consult the tutorial I authored: https://medium.com/tractr/streamlining-directus-workflows-with-directus-sync-a-comprehensive-guide-baf33b9cc399. I hope it helps. |
Beta Was this translation helpful? Give feedback.
-
I can migrate the schema with the commands:
npx directus schema snapshot schema.yaml
npx directus schema apply schema.yaml
But there are any option to migrate the
Project Settings
? And thePresets & Bookmarks
?Beta Was this translation helpful? Give feedback.
All reactions