Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Backup without transaction data in D365 F&O

(0) ShareShare
ReportReport
Posted on by
I need to copy data from Tier 2 environment to Tier 1 environment without transactional data. Only need master and configuration data. Is there any way where I can achieve this without taking whole database backup through LCS or avoiding manual export/import through DMF?
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,996 Super User 2025 Season 1 on at
    Backup without transaction data in D365 F&O
    Hi,

    A small addition to the option using the class SysDatabaseTransDelete mentioned by Martin. I do assume you don't want to delete the transactions from your Tier-2 environment. In that case, you would first need to restore a full backup and then delete the transactions. The alternative would be the (manual) export and import.
    What is the exact underlying business requirement? Do you want to create a golden configuration environment or would it be a database refresh for testing purposes?
  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 230,853 Most Valuable Professional on at
    Backup without transaction data in D365 F&O
    Well, there is a deprecated class for deleting transactions (SysDatabaseTransDelete), but it's not something I would rely on. You can try it, though; maybe it'll be good enough for your purposes. Exporting and importing the right entities (possibly with help of data packages) is the recommended approach.
     
    By the way, please ask F&O-specific questions in F&O forums, such as the Finance forum. This forum is about D365 in general, which includes other products such as D365 Business Central or Sales.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,996 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,853 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans