Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

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

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?
 
 
Categories:
  • Suggested answer
    Valentin Castravet Profile Picture
    Valentin Castravet 24,824 Super User 2024 Season 2 on at
    Create a copy of Production environment with only configuration/schema/tables
    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. 
     
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,698 Super User 2024 Season 2 on at
    Create a copy of Production environment with only configuration/schema/tables
    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
     
  • gdrenteria Profile Picture
    gdrenteria 12,183 Most Valuable Professional on at
    Create a copy of Production environment with only configuration/schema/tables
    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
    HeinKruger Profile Picture
    HeinKruger 40 on at
    Create a copy of Production environment with only configuration/schema/tables
    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans