Hi everyone! I have a quick question and was hopin...
# community-help
d
Hi everyone! I have a quick question and was hoping someone in the community could help us understand it better. We're working on setting up an "environment refresh" process in Typesense, where we replicate production data to a development environment. The idea is to take a snapshot of the production cluster and move the files from the snapshot to the development environment. Then, on the development node, we run rm -rf /var/lib/typesense and restore the snapshot from production. However, we noticed a small inconsistency with the API keys. In one test, we wanted to clear the data, and all the API keys were removed after the restore, which was a problem because we had to manually recreate the monitoring and administration keys. However, in another test, the API keys were replaced with the production API keys. Could someone clarify how Typesense handles API keys during this type of snapshot restore? Is there a reliable way to restore everything except the API keys, or at least understand when and why they're overwritten? Thank you so much in advance! Any thoughts or experience would be greatly appreciated.