directus / v8-archive

Directus Database API — Wraps Custom SQL Databases with a REST/GraphQL API
https://docs.directus.io/api/reference.html
505 stars 204 forks source link

Add /export and /import endpoints #31

Closed rijkvanzanten closed 5 years ago

rijkvanzanten commented 6 years ago

It would be extremely cool if Directus had a native way of exporting and importing (existing) data and whole Directus setups. Moving from a locally installed Directus to hosted should/could be as easy as hitting export, logging in to hosted, and hitting import.

Different "types" of import/export?:

Thoughts @WellingGuzman @benhaynes ?

tchapi commented 3 years ago

Thanks for your answer.

When you're talking about v9 BTW, you're talking about the Node/Vue v9 API + APP (directus/next), or the PHP v9 (directus/api-next, which is only the API and not the admin panel if I'm not mistaken ? Not sure that I understand correctly the differences here to be honest, pardon my newbie question)

rijkvanzanten commented 3 years ago

@tchapi this might clear up a couple things: https://github.com/directus/next/discussions/425#discussioncomment-86139 🙂

tchapi commented 3 years ago

Oh, that's great, thanks so much! I hadn't seen that comment previously, sorry. Great work on v9 (node) BTW and I'm eager to test more the future release candidates ;)

nithiz commented 3 years ago

@rijkvanzanten The link to the discussion does not seem to work, i think the whole repo is gone?

benhaynes commented 3 years ago

The repos have been renamed... this is the repo he was linking to, but I don't know the specific Discussion.

https://github.com/directus/directus/discussions