Importing Database from Uat to Dev Enviroment in D365 FO
.. First Move Uat Database From LCS
Once downloaded Run this command in SSMS
ALTER DATABASE AxDB SET SINGLE_USER WITH ROLLBACK IMMEDIATE
GO
ALTER DATABASE AxDB MODIFY NAME = AxDBOrign
GO
ALTER DATABASE AxDBOrign SET MULTI_USER;
GO
After that change the path of your file and run this command in CMD
SqlPackage.exe /a:import /sf:D:\Exportedbacpac\my.bacpac /tsn:localhost /tdn:AxDB /p:CommandTimeout=30000 /TargetTrustServerCertificate:True
Regards
Muhammad Farraz
email: farazjaved01@gmail.com
Comments
Post a Comment