When managing multiple environments in Sanity, it’s essential to have a separate development environment for testing without affecting production data. In this guide, we’ll walk through how to export a Sanity production dataset and import it into a development environment using the command line on an Ubuntu machine.
Following these steps will ensure that your development environment mirrors production, allowing safe testing and debugging.