

Remove the Data Sync metadata objects from the copy. (there is also documentation for doing this using T-SQL or PowerShell)
#Azure data studio export database how to
You can check how to create a copy of the database using the portal at In order to successfully export the database, we need to: When the database is/was used as SQL Data Sync metadata database we need to rely on the second method because there are some security-related objects that are not supported in export at the moment. The way to ensure that the backup file is consistent is to export a database that has no write activity during the export orĬreate a copy of the database and do the export based on that copy. bacpac file, you must take into account this lack of transactional consistency. Independently of the chosen method to generate the. This kind of files can be seen as a table by table export and are not transactionally consistent. In Azure Data Studio, there are several ways to open a new query editor. The supported format for Azure SQL Database export and import is. To create a database in Azure Data Studio, you simply open a new query editor and run a CREATE DATABASE query. One or more unsupported elements were found in the schema used as part of a data package.Įrror SQL71501: Error validating element : When trying to export a database that is or was used as SQL Data Sync metadata database you can encounter errors like:Įrror encountered during the service operation.Ĭould not extract package from specified database.
