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...
Answered

Moving data from one Database to another using date range

(1) ShareShare
ReportReport
Posted on by 22
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 Super User 2025 Season 2 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

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 2,135

#2
YUN ZHU Profile Picture

YUN ZHU 733 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 612

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans