Move Database from Dynamics 365 F&O Tier 2 to Dev Environment


Hello everyone,

Today, I'm sharing a concise guide on transferring data from your Microsoft Dynamics 365 F&O Tier 2 environment to your development machine. This blog will focus on the steps for importing a bacpac file that you've prepared on your Lifecycle Services (LCS) platform.

To Restore a .bacpac File in Your Microsoft Dynamics 365 F&O Dev VM:

Step 1: Download the bacpac file from LCS to your Dev environment.

Step 2: If this is your first time importing a bacpac file into your VM, download the "Windows .NET 6" zip file and extract it to the C:\Temp folder. You can find it here: Download Link

Step 3: Locate the Sqlpackage.exe file within the extracted folder.

Step 4: Open a Command Prompt in Administrator mode and navigate to the folder containing Sqlpackage.exe.

Step 5: Execute the following command to import the bacpac file:

SqlPackage.exe /Action:Import /TargetServerName:"localhost" /TargetDatabaseName:"Testbackup" /TargetTrustServerCertificate:True /SourceFile:"J:\MSSQL_BACKUP\mybackup.bacpac" /p:CommandTimeout=6200

Please note that the import process may take a while depending on the size of the database.

This streamlined guide should help you smoothly transfer your data from Tier 2 to your development environment in Microsoft Dynamics 365 F&O.

Comments

Popular posts from this blog

SSRS Report error "The parameter panel layout for this report contains more parameters than total cells available D365" Finance and Operation

Simplifying the Connection of Your Dev VM to Tier 2 Environment in D365D

Increase Your Storage in Azure Dev VM to fix disk size issue while D365 F&O DB restore.