2

I have a large database, about 6Gig in size , its a .bacpac file and I want to copy it to Azure. I am using SSMS and selecting "Import Data-tier Application". It takes a very long time and i get an error "System out of memory exception"

How can I transfer the database to Azure ?

asked May 22, 2022 at 8:12
6
  • check if this can be helpful. learn.microsoft.com/en-us/azure/azure-sql/database/… you can try creating .bak extension of backup export use SSMS to restore which is quick Commented May 22, 2022 at 8:23
  • How can i get a .bak file ? I just connect to the Azure Sql Server -> right click on the database and select Tasks->Export Dat-Tier Application and it saves as .bacpac not .bak Commented May 22, 2022 at 9:51
  • So cant i just open the database and use the Copy option (being that the copy is in the same subscription ? Just enter the Destination database in Azure Portal ? Commented May 22, 2022 at 9:59
  • If i use Azure Copy , the source db is a Live db , will the their possibly be any issues like locks when the Copy is in progress ? This might be a better option for 5G db . Commented May 22, 2022 at 10:09
  • .bak file extension -> support.solarwinds.com/SuccessCenter/s/article/… if sourcedb is livedb, migration recommended to go to SQL Managed Instance. If ready to use PaaS (Azure SQL Database), then either Migration Assistant or Backup/Restore by uploading db file to storage account and import or SSMS. Commented May 22, 2022 at 10:24

1 Answer 1

1
answered May 22, 2022 at 8:24
1
  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review Commented May 22, 2022 at 20:18

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.