PostgreSQL · MySQL · SQL Server
Browse desktop documentation

Copy selected database rows for development and QA

Copy selected database rows for development and QA. Account for their relationships and review how existing destination data will be handled before starting a same-engine refresh.

Choose your trial
On this page

01 / FEATURES

Define the record scope

Per-table settings support selected primary keys, a custom WHERE condition and row limits. Inspect a subset before choosing the final scope. Start with the application case you need to test, then include the data that makes that case meaningful.

02 / FEATURES

Turn selected records into a useful test dataset.

Prepare a selected test dataset between connections of the same database engine.

03 / FEATURES

Bring the required relationships

Dependency ordering helps copy parents before children. Filters still need your attention: selected orders are useful only when their customers and other required records exist at the destination. Verify those relationships in the application after the refresh.

04 / FEATURES

Decide what the destination should keep

Choose replace, append or upsert behavior where supported. Review existing rows, fixed column overrides and engine-specific identity or generated-column handling. Destination settings should reflect the environment’s purpose, not merely repeat the values from production.

05 / FEATURES

Review masking and trigger behavior

Apply reviewed masking rules to values the test does not need. Target triggers can change data or invoke other behavior, so make an explicit trigger decision. The destination application’s email, payment and other integrations remain part of your environment preparation.

06 / FEATURES

Rehearse and inspect the outcome

Read the reported rehearsal mode and check warnings. Eligible replace-copy verification can compare checksums, with exclusions for masked, overridden or generated values and other restrictions. If a run partially fails, inspect completed work before retrying; append and upsert retries can change the result.

07 / FEATURES

Define success before refreshing the target

Write down a small set of checks for the scenario you need to test. A row count can reveal a missing batch, but equal counts do not establish equal values or complete relationships. Use known record identifiers and one application path to check the result.

Choose a stable primary-key selection or a reviewed WHERE condition when the same scenario must be reproduced. A row limit bounds work; it is not a promise of random or representative sampling. Required parent and child records still need an explicit scope decision.

Review final column overrides as well as masking rules because overrides are applied after masking. After the copy, check the transformed values at the target and keep the test application’s outgoing integrations appropriate for the environment. A database copy does not configure external services.

Define success before refreshing the target
Before the copyAfter the copy
Identify the application scenario and selected record keys.Open those records in the target and exercise the intended application path.
List required parent and child relationships.Check that the selected records still resolve their required relationships.
Review sensitive fields, masking and final overrides.Inspect representative target values and confirm that required transformations were applied.
Choose supported destination behavior and inspect existing keys.Review completed operations, warnings and verification limits before retrying a partial run.
Walk through a copy and masking task ↗Review masking coverage and validation ↗

Questions & answers

Can I copy between different database engines?

No. The released Data Copy workflow uses source and target connections of the same engine.

Does verification prove two databases are identical?

No. Checksum verification applies only to supported modes and eligible columns. Validate constraints, transformed fields and the application scenario separately.

Workflow illustration

DATA COPY · SAME DATABASE ENGINESource records1001selected1002selected1003excluded1004excludedcustomers1001 1002Selected parent recordsordersFK → customer_idInclude the related rows you need.Choose rows, relationships and the destination behavior.