#Migration of the database to the new instance without configuring tables and column

3 messages · Page 1 of 1 (latest)

random flax
#

hey, when I migrate the db all configurations for tables and columns disappear. Is there a way to avoid this and migrate everything with the existing configurations?

copper socketBOT
#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:

  • Adding an explanation of exactly what you're trying to achieve.
  • Adding any and all related code or previous attempts.
  • Describing the exact issue or error you are facing.
  • Posting any screenshots if applicable.
  • Reading through https://stackoverflow.com/help/how-to-ask.

When you're done with this thread, please close it. Thanks! ✨

(If you have a support agreement and need help, please contact the core team via email.)

honest tree
#

If you migrate all the tables, also the directus_xxx ones, that configuration should just work on the new instance. If you actually want to only migrate the schema plus collection/field configuration but not data, you can try the cli snapshot feature. But to transfer system data like permissions, flows, etc without your custom data, there is not yet a standard way to do it, though there is a tool by the community who does some parts of that, which will even be extended to migrate all data as stated recently. #general message