How to transfer data from ONE Sql server DB to another Sql Server DB

kk123
Member Posts: 13
Hi All,
We are using two Sql servers in different locations. Is it possible to transfer table data from one Sql server DB to another sql server DB without manual intervention. This sync has to be done on daily basis.
Please share your ideas.
Thanks & Regards,
Kishore
We are using two Sql servers in different locations. Is it possible to transfer table data from one Sql server DB to another sql server DB without manual intervention. This sync has to be done on daily basis.
Please share your ideas.
Thanks & Regards,
Kishore
0
Answers
-
You mean you want to keep both databases exactly the same in terms of data?
I believe MSSQL has a system for Replication already, take a look at the link below to see if thats what you need.
https://learn.microsoft.com/en-us/sql/relational-databases/replication/sql-server-replication0 -
Is it possible to transfer data by using ODBC in Business central?0
-
Hmmm, in Business Central.. perhaps if you're OnPrem? But then you'd have to program everything yourself. I can imagine it will really affect performance and be much more prone to problems and errors.
Why do you want to use ODBC?0 -
Hi Resolus,
Otherthan ODBC can you suggest any third party tools or suggest how to solve this. Thanks
Regards,
Kishore0 -
Well, if you use SQL Server right now, which I assume you do, then you can just use the built-in functionality for SQL Server Replication.
Unfortunately I can't help you with how that works or has to be set-up.
Google might be able to help you, or someone else on here.0 -
You have the following options, chose the one that matches your scenario and performance requirements:
1. Availability Groups with a R/O replica (if you need to write into the other database this is not an option)
2. TL Shipping
3. Replication if you need just certain tables, fields - but if you need to many you want to look at 1 or 2 above
4. backup and restore (bleah, but it works)
5. Linked servers with stored procedures (can be done but you need to build a delta between tables and it's a more complex solution which shouldn't be used unless there's a very good reason for that)
Of course, you can go for ODBC and build something from scratch, but it's going to be much more complex. I wouldn't chose that.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions