Export-related Procedures
SYSADMIN.getAuthMechanism
This procedure returns the current authentication mechanism configured: LDAP or the default mechanism.
SYSADMIN.getAuthMechanism(OUT authMechanism string NOT NULL RESULT)
SYSADMIN.getCreateTempTablesPermissions
deprecated
SYSADMIN.getCreateTempTablesPermissions deprecated since v4.1
SYSADMIN.exportSQLConfiguration
This procedure allows to generate the export script.
CALL "SYSADMIN.exportSQLConfiguration"(
"additionalExportInfo" => 'string_additionalExportInfo',
"skipAggr" => boolean_skipAggr,
"dsValidation" => boolean_dsValidation,
"optValidation" => boolean_optValidation,
"viewProcValidation" => boolean_viewProcValidation,
"exportMatTableState" => boolean_exportMatTableState,
"exportJobSpecificEmailNotifications" => boolean_exportJobSpecificEmailNotifications,
"exportGlobalJobEmailNotifications" => boolean_exportGlobalJobEmailNotifications,
"exportJobSpecificSlackNotifications" => boolean_exportJobSpecificSlackNotifications,
"exportGlobalJobSlackNotifications" => boolean_exportGlobalJobSlackNotifications,
"exportSmtpConfiguration" => boolean_exportSmtpConfiguration,
"purgeSystemData" => boolean_purgeSystemData,
"useMaintenanceMode" => boolean_useMaintenanceMode,
"exportJbossSettings" => boolean_exportJbossSettings,
"exportModularConnectors" => boolean_exportModularConnectors,
"defaultOptions" => 'string_defaultOptions',
"systemProperties" => 'string_systemProperties',
"sshTunnelNames" => 'string_sshTunnelNames',
"exportCorrespondingSshKeyPairs" => boolean_exportCorrespondingSshKeyPairs,
"sshKeyPairIds" => 'string_sshKeyPairIds',
"dataSources" => 'string_dataSources',
"dataSourceFunctions" => 'string_dataSourceFunctions',
"virtualSchemas" => 'string_virtualSchemas',
"virtualViews" => 'string_virtualViews',
"virtualProcedures" => 'string_virtualProcedures',
"virtualFunctions" => 'string_virtualFunctions',
"optimizationIds" => 'string_optimizationIds',
"jobIds" => 'string_jobIds',
"scheduleIds" => 'string_scheduleIds',
"exportQueueHandlers" => boolean_exportQueueHandlers,
"users" => 'string_users',
"roles" => 'string_roles',
"permissionIds" => 'string_permissionIds',
"attributes" => 'string_attributes',
"dataShops" => 'string_dataShops'
);;
This procedure takes the following parameters:
To view the full table, click the expand button in its top right corner
Parameter | In/Out | Type | Nullable? | Description | Default Value |
|---|---|---|---|---|---|
| In | String | Yes | Additional information that will be added to the beginning of the export script | |
| In | Boolean | Yes | Skips aggregation optimizations during export |
|
| In | Boolean | Yes | Validates data sources on import |
|
| In | Boolean | Yes | Validates optimizations on import |
|
| In | Boolean | Yes | Validates virtual views and procedures on import |
|
| In | Boolean | Yes | Exports materialized table states. Please note that if you want to export the MatTable state, you have to set |
|
| In | Boolean | Yes | Exports job-specific email notifications |
|
| In | Boolean | Yes | Exports global job email notifications |
|
| In | Boolean | Yes | Exports job-specific Slack notifications |
|
| In | Boolean | Yes | Exports global job Slack notifications |
|
| In | Boolean | Yes | Exports SMTP configuration |
|
| In | Boolean | Yes | Purges system data before export |
|
| In | Boolean | Yes | Runs export in maintenance mode |
|
| In | Boolean | Yes | Exports JBoss settings |
|
| In | Boolean | Yes | Exports deployed modular connectors |
|
| In | String | Yes | Comma-separated default option names to export. If not set, all default options will be exported. Use empty string '' to exclude all default options | |
| In | String | Yes | Comma-separated system properties to export. If not set, all system properties will be exported, use empty string '' to exclude all system properties | |
| In | String | Yes | Comma-separated SSH tunnel names to export. If not set, all SSH tunnels will be exported, use empty string '' to exclude all SSH tunnels | |
| In | Boolean | Yes | Exports corresponding SSH key pairs. If not set, all SSH key pairs will be exported, use empty string '' to exclude all SSH key pairs |
|
| In | String | Yes | Comma-separated SSH key pair IDs to export. If not set, all SSH key pairs will be exported, use empty string '' to exclude all SSH key pairs | |
| In | String | Yes | Comma-separated data source names to export. If not set, all data sources will be exported, use empty string '' to exclude all data sources | |
| In | String | Yes | Comma-separated data source functions to export. If not set, all data source functions will be exported, use empty string '' to exclude all data source functions | |
| In | String | Yes | Comma-separated virtual schema names to export. If not set, all virtual schemas will be exported, use empty string '' to exclude all virtual schemas | |
| In | String | Yes | Comma-separated virtual view full names to export. If not set, all virtual views will be exported, use empty string '' to exclude all virtual views | |
| In | String | Yes | Comma-separated virtual procedure full names to export. If not set, all virtual procedures will be exported, use empty string '' to exclude all virtual procedures | |
| In | String | Yes | Comma-separated virtual function full names to export. If not set, all virtual functions will be exported, use empty string '' to exclude all virtual functions | |
| In | String | Yes | Comma-separated optimization IDs to export. If not set, all optimizations will be exported. Use empty string '' to exclude all optimizations | |
| In | String | Yes | Comma-separated job IDs to export. If not set, all jobs will be exported. Use empty string '' to exclude all jobs | |
| In | String | Yes | Comma-separated schedule IDs to export. If not set, all schedules will be exported. Use empty string '' to exclude all schedules | |
| In | Boolean | Yes | Exports queue handlers. If not set, all queue handlers will be exported. Use empty string '' to exclude all queue handlers |
|
| In | String | Yes | Comma-separated users to export. If not set, all users will be exported. Use empty string '' to exclude all users | |
| In | String | Yes | Comma-separated roles to export. If not set, all roles will be exported. Use empty string '' to exclude all roles | |
| In | String | Yes | Comma-separated permission IDs to export. If not set, all permissions will be exported. Use empty string '' to exclude all permissions | |
| In | String | Yes | Comma-separated attributes in the format | |
| In | String | Yes | Comma-separated data shops to export. If not set, all data shops will be exported. Use empty string '' to exclude all data shops | |
| Out | Integer | No | Position of the script part in the overal export script | |
| Out | String | No | Type of exported objects | |
| Out | String | No | Export script |
SYSADMIN.exportSQLConfiguration available since v25.3