CmdID / az / az datamigration
az datamigration sql-server-schema
Migrate schema from the source Sql Servers to the target Azure Sql Servers. Azure CLI extensions reference
6 options Its page in the Azure CLI extensions reference
Options
--actionSelect one schema migration action.--config-file-pathPath of the ConfigFile.--input-script-file-pathLocation of an editable TSQL schema script.--output-folderDefault: %LocalAppData%/Microsoft/SqlSchemaMigration) Folder where logs will be written and the generated TSQL schema script by GenerateScript Action.--src-sql-connection-strConnection string for the source SQL instance, using the formal connection string format.--tgt-sql-connection-strConnection string for the target SQL instance, using the formal connection string format.