Converting Database from Tier 2 ( .bacpac ) to Tier 1 ( .bak ) on new developer VM released with 10.0.21

The path to find SqlPackage.exe on the new developer VM released for Microsoft Dynamics Finance and Operations image is below:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\Extensions\Microsoft\SQLDB\DAC\150

Below is the script which is used for conversion

SqlPackage.exe /a:import /sf:J:\UAT\uat.bacpac /tsn:localhost /tdn:AXDB_UAT /p:CommandTimeout=1200

Advertisement

Author: Rachit Garg

Microsoft Dynamics 365 Finance and Operations Architect

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: