Redgate Test Data Manager

Downloading a subsetting treatment for CLI Use

Similar to anonymization, you can download subsetting treatments for use in CI/CD pipelines:

  1. Click the dropdown arrow next to Run Subset
  2. Select Download Treatment
  3. Test Data Manager downloads:
    • rgsubset.exe: The CLI executable
    • options.json: The subsetting configuration

Use these files to automate subsetting in your CI/CD pipeline. For more information, see Subsetting command-line reference.

Advanced Configuration Options

For more complex subsetting scenarios, you can use the CLI, but understanding them helps you plan your GUI-based treatments.

Static Data Tables

Mark reference tables (e.g., Countries, StatusCodes) as static data:

  • All rows from these tables are included
  • Only outgoing relationships from these tables are followed
  • Useful for lookup tables that don't need subsetting

Manual Relationships

Define relationships between tables that aren't formally defined as foreign keys in the database:

  • Useful for legacy databases without proper foreign key constraints
  • Required when application logic defines relationships instead of database constraints

For details on advanced configuration, see Subsetting options file.

Next steps

- Subsetting command-line reference

Related pages

← Back to Running a subsetting treatment
→ Subsetting command-line reference


Didn't find what you were looking for?