sanity/cli export/import specify projectId #3653
Unanswered
gadkadosh
asked this question in
Sanity Studio Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am trying to export dataset types from one project to import into another. Both projects are under the same user and same studio codebase.
sanity dataset export production production.tar.gz
seems to always export from the same projectId, incidentally not the one set insanity.json
.SANITY_STUDIO_API_PROJECT_ID
env variable also doesn't affect this.Is there a way to specify a projectId for export to use?
I know I can use the endpoint, but that doesn't include assets, which I suppose is why the cli export command exists.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions