Subsetting command-line reference
Published 16 October 2023
Run
rgsubset run --database-engine [SqlServer | PostgreSQL | MySQL | Oracle] --source-connection-string "Server=[Your_Server_Address];Initial Catalog=[Your_Database_Name];User Id=[Your_Login_Name];Password=[Your_Password];Trust Server Certificate=true" --target-connection-string "Server=[Your_Server_Address];Initial Catalog=[Your_Database_Name];User Id=[Your_Login_Name];Password=[Your_Password];Trust Server Certificate=true;"
Flag syntax | Required? | Notes |
---|---|---|
--database-engine | Yes | The type of the database to classify. Must be one of:
|
--source-connection-string | Yes | The connection string of the database to subset. |
--target-connection-string | Yes | The connection string of the database to copy the subset to. |
--options-file | No | The file path to an options file. |
--target-database-write-mode | No | Whether to fail or remove the rows if data is present in the target database. Can be one of:
|
--output-file | No | The file to save a summary of what has been subsetted to. |
--output | No | The format of the output written to the console. Can be one of:
|
| No | The verbosity level to log at.
|
| No | Show help and usage information. |
Auth
rgsubset auth --agree-to-eula
Flag syntax | Required? | Notes |
---|---|---|
--agree-to-eula | Yes | Agree to the end-user license agreement. |
--start-trial | No | Start a free trial using the account that is currently logged in. |
--output | No | The format of the output written to the console. Can be one of:
|
| No | The verbosity level to log at.
|
| No | Show help and usage information. |