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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

How to take backup of database from Production server and restore it in Development Server

(3) ShareShare
ReportReport
Posted on by 214
I want to know a way for how to create backup of database from Production server and restore it in Development Server?
Categories:
I have the same question (0)
  • Suggested answer
    Zain Mehmood Profile Picture
    4,187 Most Valuable Professional on at
    Hi, 

    In D365 F&O (Cloud-hosted), you can't directly access the production SQL database, so Microsoft provides a controlled way to move the production database to a development environment using Lifecycle Services (LCS).

    To do this, go to LCS, select your Production environment, and use the "Export Database" or "Point-in-time Restore" option. This will create a .bacpac file and place it in your Asset Library under the Database backups section.

    Once the .bacpac is available, download it from the Asset Library and import it into your development environment using SQL Server Management Studio (SSMS). Use the "Import Data-tier Application" option and restore the database under a temporary name (e.g., AxDB_temp).

    After the import, stop the AOSService, rename the current AxDB to something like AxDB_old, then rename AxDB_temp to AxDB. Start the AOSService again.

    Don’t forget to run the AdminUserProvisioningTool to regain admin access. You’ll also need to reconfigure environment-specific settings such as batch jobs, email parameters, and any integrations.

    Further more you can see, Restore Production database to DEV environment in D365FO using Bacpac File | LinkedIn

    Let me know if this answers your question, 

    Warm Regards,

    Zain 

  • Martin Dráb Profile Picture
    237,967 Most Valuable Professional on at
    There is no universal way for all Microsoft Dynamics products; you'll have to tell us which one you mean.
    Note that this extra information wouldn't be needed if you asked in a forum about the product you're interested in, rather then in this general one.
  • Suggested answer
    Waed Ayyad Profile Picture
    9,039 Super User 2025 Season 2 on at
    Hi,
     
    If you want to restore Production data to Dev box, check my article about it: https://butterflywaeda.hashnode.dev/step-by-step-guide-to-restoring-production-database-in-d365-fo-development
     
     

     

    Thanks,

    Waed Ayyad

    If this helped, please mark it as "Verified" for others facing the same issue

  • André Arnaud de Calavon Profile Picture
    301,130 Super User 2025 Season 2 on at
    Hi,

    Can you tell us what Dynamics 365 application this question is related to? There are several different solutions in the Dynamics 365 family, like: Sales, Finance, Supply Chain Management, Project Operations, and Business Central. If you can clarify the product, we can move the question to the dedicated forum for that solution. As Martin mentioned, the options available are different per Dynamics 365 product.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 45 Most Valuable Professional

#2
iampranjal Profile Picture

iampranjal 36

#3
Satyam Prakash Profile Picture

Satyam Prakash 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans