First run

Now that you've completed the basic configuration, it's time to run a subsetting command.

With no further config, the copy command will copy the schema of your real database only - leaving the tables empty.

databaseci copy databaseci.yaml

You'll see output like this:

$ databaseci copy realtest.yaml
Inspecting database...
Inspection complete.

Replicating schema on copy.
Copy setup complete.

Copying subsetted rows...

TABLE                    LOADED REMAINING
"public"."order"              0         0
"public"."product"            0         0
"public"."product_order"      0         0

Rows copied.

Applying constraints on copy...
Complete.

Now you can extend this configuration to choose the rows you wish to include.

Next step: Configuring snapshots

Give feedback