Sanity 兩環境共用一資料集:安全拆分方法
Sanity staging and production on one dataset: how to split it safely
重點導讀
Sanity 的 staging 與 production 共用同一資料集會帶來資料誤寫與預覽洩漏風險,本文提供完整拆分流程與實務檢查步驟。
- 備份:先使用
npx sanity dataset export production ./backups/production-before-split.tar.gz產生可還原的完整備份。
AI 伴隨問答
針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:
信源出處dev.to
Sanity staging and production on one dataset: how to split it safely
本文為 888news 精選之重點導讀。若需閱讀作者完整原文、技術細節與官方討論,請前往原始網站。
來源: Dev.to Top Tech (dev.to)
開啟原文