astronomer / ask-astro

An end-to-end LLM reference implementation providing a Q&A interface for Airflow and Astronomer
https://ask.astronomer.io/
Apache License 2.0
196 stars 47 forks source link

Migrate Firestore Database Between GCP Accounts (from CSE Dev to Ask-Astro) #28

Closed sunank200 closed 1 year ago

sunank200 commented 1 year ago

Description: Migrate Firestore database from one GCP account to another. Proposed solution: Export data from the source Firestore, transfer it to the destination GCP account's GCS bucket, and import into the destination Firestore. Steps and detailed guide in the comments.

Steps:

  1. Export data from the source Firestore.
  2. Transfer data to the destination GCP account's GCS bucket.
  3. Import data into the destination Firestore.

Acceptance Criteria:

sunank200 commented 1 year ago

Done here: https://console.cloud.google.com/firestore/databases/-default-/data/panel/ask-astro-dev-actions/0XSzVMlbaafjik5iqivE?hl=en&project=ask-astro

sunank200 commented 1 year ago

Need to add the documentation for this

sunank200 commented 1 year ago

PR for documentation: https://github.com/astronomer/ask-astro/pull/48

sunank200 commented 1 year ago

Backup of the old firestore can be found here.