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 :
Small and medium business | Business Central, N...
Suggested Answer

Create a copy of Production environment with only configuration/schema/tables

(1) ShareShare
ReportReport
Posted on by 4
Hi,
 
I'm new to Business Central Online (it doesn't usually fall under my responsibility, but since we're shorthanded I've been assigned to set this up).
 
I have a business requirement where I need to create copies of our production environments without business data, for the purpose of a development pipeline (development isn't in BC, but rather data flow integrations between BC and Dataverse).
 
The idea would be to first create copies of our 7 production environments (without data), and then use the "Copy" function in BC Admin to copy the production-like environments (without data) for all the pipeline stages.
 
We have several ISV's and PTE's in the environments.
 
Is it possible to achieve this and what would be the most straightforward route?
 
 
I have the same question (0)
  • Suggested answer
    HeinKruger Profile Picture
    on at
    Hi,
    Its a bit of a tricky one. 

    The best way would be to Create a new company with No Data. 
    Then from the company you need the setups from Extract all tables via config packages.
    In the New Company import the Config Packages. 
    Now you have the setups in a new company.
    See the Video:
    https://www.youtube.com/watch?v=BjfHPTm55tQ

    Phase 2: Would be to Copy the Environment to a sandbox Environment. you can do this from the Admin Center. 
    When the New Environment is Ready open it up on the New Company. Then Go to Companies and delete te rest of the Companies. 

    https://www.youtube.com/watch?v=G7-GedeGbS4
  • Gerardo Rentería García Profile Picture
    25,213 Most Valuable Professional on at
    Hi
    If you want a company with only configuration data and without registered operations.
    You can copy the environment and then proceed to delete the data from the log tables using some tools such as the following:
     
    BR
    GR
  • Suggested answer
    YUN ZHU Profile Picture
    95,331 Super User 2025 Season 2 on at
    Hi, the first thing to note is that the production environment is not completely free...If you want 7 production environments, you will pay at least $1,800 more per month.
    In addition, when copying the environment, developers can use the following method to clean up some unnecessary data. But it looks like you have to clean up a lot, so I don't recommend this approach.
    Dynamics 365 Business Central: How to clean up your data when copying to a sandbox environment (Sandbox Clean up)
     
    It is recommended to use Configuration Package to export the data you need, and then import it into the new environment.
     
    Hope this helps.
    Thanks.
    ZHU
     
  • Suggested answer
    Valentin Castravet Profile Picture
    31,340 Super User 2025 Season 2 on at
    Several good options have been presented, personally in these cases I prefer to copy a company/environment with data, and then use the following tool to delete the transactional data - Record Deletion Tool - Business Central Deep Dive (navinsights.net). This will leave you with only the setup data. 
     

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans