Replies: 3 comments 5 replies
-
We are using Directus CLI for export and importing schema (npx directus schema snapshot) and DB data dump (only tables other than directus_*). But we have problem with different users UUIDs at dev and production. I hope someone from Directus will explain any Best practice for migrating schema and data :) Also I found https://www.npmjs.com/package/directus-migrator but I haven't tried it yet. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your comments so far we will try to check/verify them and come back in terms of any result As mentioned we will check your suggestions |
Beta Was this translation helpful? Give feedback.
-
Hi, I've developped a CLI for this purpose: https://github.com/tractr/directus-sync |
Beta Was this translation helpful? Give feedback.
-
Hi Community,
we have two instances of directus running and wonder about how we can copy collections (incl. data) from one env. to another.
Example: Production > Staging without interferring Roles, Users, Permissions and especially API Tokens, which differ between Prod and Staging.
Any suggestions or other how went down this road?
Thx in advance
Ralf
Beta Was this translation helpful? Give feedback.
All reactions