#community-help

Cloning a Cluster and Progress on a GitHub Issue

TLDR Shaun asked about cloning an existing cluster and inquired about progress on a GitHub issue. Jason suggested exporting/importing data and provided a timeline for the issue resolution.

Powered by Struct AI

1

1

12
5mo
Solved
Join the chat
Apr 18, 2023 (5 months ago)
Shaun
Photo of md5-9dd01dbbef7bac5e85a472a52dc35647
Shaun
07:21 AM
hey guys, is there a way to clone/copy an existing cluster to another? Our development cluster is up and would like to make a copy into a newly provisioned one for production data. Or is the only way to re-create each collection manually and then push the data from the production source DB?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
07:22 AM
You could use the documents/export endpoint to export data from one collection and import it into another using the documents/import endpoint
07:22
Jason
07:22 AM
But in general, syncing from your primary data store would be the most ideal since that has the latest copy of the data
Shaun
Photo of md5-9dd01dbbef7bac5e85a472a52dc35647
Shaun
07:23 AM
gotcha
07:23
Shaun
07:23 AM
and just create each schema manually in the new cluster ?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
07:24 AM
Preferably programmatically via a script, so it’s version-controlled, etc
Shaun
Photo of md5-9dd01dbbef7bac5e85a472a52dc35647
Shaun
07:24 AM
yeah makes sense
07:24
Shaun
07:24 AM
ok thanks

1

07:52
Shaun
07:52 AM
Diff question - hows progress on https://github.com/typesense/typesense/issues/229 going ? Would be a game changer when completed 😄
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
03:53 PM
We started work on it, but paused as other higher priority items came up. We’ll be resuming work on it in a month or so.
Apr 19, 2023 (5 months ago)
Shaun
Photo of md5-9dd01dbbef7bac5e85a472a52dc35647
Shaun
01:57 AM
ok cool, thanks for the update
01:57
Shaun
01:57 AM
I think this will be one of the best features you can add in terms of power it will give to the entire system - eagerly awaiting 😄

1