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

Moving data from one Database to another using date range

(1) ShareShare
ReportReport
Posted on by 38
I have an old database that have a lot of issues. I have setup a new database in Bussiness Central 365 . I want to move only data from 1st January 2023 to Data into the new database. How will :
 
1. Identify the tables that has the Data and 
2. How do I do it perfectly
 
 
Regards
John Dakurugu
I have the same question (0)
  • Verified answer
    Dr Gomathi MVP, MCT Community lead, MLE Profile Picture
    395 Moderator on at
    Migrating data selectively from an old Business Central (BC) database to a new one based on a date range requires careful planning. Below is a structured approach to identify and transfer the required data efficiently.
     

    Step 1: Identify Relevant Tables

    • Check key tables like G/L Entry, Sales Invoice, Purchase Ledger, Customer & Vendor Ledger, Item Ledger for date-based records.
    • Use BC Configuration Packages (SaaS) or SQL Queries (On-Prem) to filter tables containing transactional data from 2023 onward.

    Step 2: Move Data to the New Database

    For BC SaaS:

    1. Export tables via Configuration Packages in BC.
    2. Filter records in Excel for transactions from Jan 1, 2023, onwards.
    3. Import the cleaned data into the new database.

    For BC On-Prem:

    1. Export filtered records from the old DB.
    2. Import data into the new database, ensuring table mappings match.

    Step 3: Validate & Test

    • Compare record counts in both databases.
    • Verify balances (Customer, Vendor, Inventory) to ensure consistency.
    • Run test transactions in the new environment before going live.
    Regards,
    Dr. Gomathi S

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,875 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 926 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 642 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans