May 26 2021 02:33 PM
Hi Community,
Is there a way to backup and restore just a single Azure schema in an Azure SQL Database?
And/or is there a way to take an export copy a single Azure schema and then import it back in to same Azure SQL Database?
Thank you for your time.
Best Regards,
Donald
May 26 2021 03:02 PM - edited May 26 2021 03:26 PM
Hi
May be you can use
Sql Management Studio to do export
: https://codebots.com/docs/export-schema-using-sql-server-management-studio-ssms
and Sql Cmd to do the import :
https://azurecloudai.blog/2016/02/23/import-database-schema-in-azure-sql-db-from-sql-files-programma...
May 27 2021 04:29 AM
May 27 2021 04:40 AM
Hi no problem
As far i know the only native tool that is available for import / export operations is the use of BACPAC file which encapsulates not only database's schema but also the data.
https://docs.microsoft.com/en-us/azure/azure-sql/database/database-import?tabs=azure-powershell