Redgate Test Data Manager

Creating a Database Model

Do not connect to production databases: Always create database models using non-production environments. Test Data Manager scans database metadata during model creation, and treatments will modify data in databases. Use dedicated test or development environments only.

Creating a Database Model

  1. Go to Database models in the left sidebar
  2. Click + Create database model
  3. Enter a name for your model (e.g., "Copy_of_Production_Database")
  4. Under Database connection, either:
    • Select an existing connection from the dropdown, OR
    • Click + Add connection to create a new one

If Creating a New Connection

  1. Select platform: Choose your database type (SQL Server, PostgreSQL, etc.)
  2. Connection input type:
    • Parameters (recommended): Fill in the form fields
    • Connection string: Paste a complete connection string for advanced scenarios
  3. Fill in connection details:
    • Server: Your database server name
    • Database name: The database to model
    • Authentication: Windows or SQL Authentication
    • Encrypt: Leave checked (enabled by default)
    • Trust certificate: Check if using self-signed certificates or service account access
  4. (Optional) Click Test connection to verify
  5. (Optional) Check Store this connection for future use and give it a name
  6. Click ConfirmCreate model



What Happens Next?

The model enters an Initializing status while TDM scans your database (usually takes a few seconds). You can navigate away—it continues in the background.

If initialization fails: Check the error logs in the UI. Common causes are incorrect credentials or insufficient permissions. Delete the failed model and create a new one with corrected settings.

Cannot edit models: Once created, models are read-only. If you need to change connection details, delete the model and create a new one.


Related Pages

← Back to Database Models Overview

→ Managing Database Models

→ Manage saved connections


Didn't find what you were looking for?