Loading YugabyteDB Into Developer Containers
Load YugabyteDB into new containers using ysql_dump or copy physical files via Docker images or external volumes for faster development.
You have a production YugabyteDB and you need to create multiple developer databases. To achieve this, you may have to anonymize certain data and prepare a database that the developers can use. Furthermore, the developers want to run it in their own Docker container. The question is, how can you load this database into new containers? One solution is to use ysql_dump to export the database and import it into an empty developer container. This may take several minutes for large databases in YugabyteDB if you have thousand of tables, indexes and referential integrity constraints. To achieve a fa...