Import bacpac file

 


Steps:

Note : Take a backup before importing .bacpac file.

1. Download SQL package from this URL (https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/database/dbmovement-scenario-exportuat)



2: Go to SQL package folder 

3: Open CMD as administrator and go to SQL package directory

4: Run command (SqlPackage.exe /a:import /sf:C:\Users\Adminab1850da5a\Downloads\11012023\SZY-UATbackup.bacpac /tsn:localhost /tdn:AXDB_UAT /p:CommandTimeout=9999 /TargetEncryptConnection:false)

5: In this command give bacpac file directory path and give database name

6: Once bacpac file restore. Stops services (word wide web, Microsoft Unified, Data Import Export, Batch Mangement) and rename the database.

7: After restoring DB synchronization DB.

8: Run admin provisioning tool(k:AosService/PackagesLocalDirectory/Bin)


Comments

Popular posts from this blog

Assembly reference containing type is not referenced, Object 'CLRObject' could not be created

Open Packing slip posting form when updating Generate picking list

Extract data of PO from the System in Ax 2012