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
ReneeRenee
-
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 quickNayan– Nayan2022年05月22日 08:23:14 +00:00Commented 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 .bakRenee– Renee2022年05月22日 09:51:56 +00:00Commented 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 ?Renee– Renee2022年05月22日 09:59:46 +00:00Commented 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 .Renee– Renee2022年05月22日 10:09:30 +00:00Commented 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.Nayan– Nayan2022年05月22日 10:24:57 +00:00Commented May 22, 2022 at 10:24
1 Answer 1
You can do this with Microsoft® Data Migration Assistant.
Here's a tutorial: Tutorial: Migrate SQL Server to Azure SQL Database using DMS
answered May 22, 2022 at 8:24
-
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 ReviewDavid Maze– David Maze2022年05月22日 20:18:16 +00:00Commented May 22, 2022 at 20:18
lang-sql