简体   繁体   中英

Restore database .bak file to azure elastic pool database from VM

Restore database.bak file to azure elastic pool database from VM

How to restore database.bak file to azure elastic pool databases directly, I used the option "Deploy Database to Microsoft Azure SQL Database" but every time creates a new database outside of the elastic pool.

We are looking for a solution to create a new database in an elastic pool only, any alternative methods we can achieve.

Azure SQL Database does not currently support that customers use bak file as a restore to generate a new database on Azure SQL Database. The only method used to restore in Azure SQL Database is to import from BACPAC files by following this document: https://docs.microsoft.com/en-us/azure/azure-sql/database/database-import?tabs=azure-powershell .

So according to the situation, you use the option "Deploy Database to Microsoft Azure SQL Database" then migrate the database to azure elastic pool. Regarding how to migrate it, please refer to https://www.fmsinc.com/microsoft-azure/sql-server/pooled/index.htm

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM