web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Restore Production DB to On-Prem Sandbox Dev Envrionment

(0) ShareShare
ReportReport
Posted on by 10

Hello,

We are using D365 F&O in clould. I need to create On-Prem Dev Enviroment for development. I have downloaded VHD from LCS. Now need to restore Production environment at my local sandbox to start development. Can anyone help how to accomplish the task. ?

  • Suggested answer
    Sukrut Parab Profile Picture
    71,741 Moderator on at

    You have to first restore production DB back up on UAT environment. You can use LCS for that . once that is done you can covert  the bacpac file to restore on it your local dev machine. You can  refer below link to get more information about database movements.

    docs.microsoft.com/.../dbmovement-operations

  • Imran.IDAP Profile Picture
    10 on at

    I export the Prod .bak file and data restored successfully at my Dev-Machine. But the customization done by Partner is not there. Also as we are now on plateform 28 at UAT, vpc plateform version is 15. How would I be able to upgrade it to latest version.

  • WillWU Profile Picture
    22,363 on at

    Hi Imran,

    I think that you have downloaded the wrong VHD.

    If you want to create a new development environment, you can refer to the following article.

    https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-tools/access-instances

    And if you want to do some iterative development, you can read this article to copy an instance.

    https://docs.microsoft.com/en-us/dynamics365/admin/copy-instance

    Please let me know if there are any problems .

    Best regards,

    Will

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    The database doesn't contain any code or metadata. You will get the customizations from source control (Azure DevOps) by configuring workspace in your Visual Studio and getting latest. I hope you are using source control?

    The correct sequence is to first setup your workspace and get latest. Then build all custom&ISV code succesfully. Then restore the database. Then do database synchronization.

    I recommend you talk with your partner on how to set up the dev system. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 475 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 399 Super User 2026 Season 2

#3
CU10121822-0 Profile Picture

CU10121822-0 374

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans