Solved

Use Red Gate to backup and restore between servers

Posted on 2014-12-04
11
150 Views
Last Modified: 2014-12-05
Hello there,

I have 2 windows 2008 R2 server(calling them Production and Reporting). I have SQL server 2008 installed on both of them and I have my ERP application which is used by my users to do their every day work on the production server. Now I want to take backup of database from my production server every 2 hours and restore my Reporting DB with this backup automatically without the users coming to know or have to get disconnected from their work. So that my users using the reporting server can have their new data every 2 hours. Can I achieve this with SQL Backup Pro. At present I am doing the restore part and creating the Login manually on the reporting server every 2 hours from 9am to 4pm. As you can see this is becoming tedious job for me. I will appreciate your help if you can help me out.

cheers
Zolf
0
Comment
Question by:zolf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 49

Expert Comment

by:Vitor Montalvão
ID: 40481059
Why you thought in a Backup/Restore solution?
How big is the database? How fast is the network? And the disks?
You may take almost that 2h window only for backup & restore.

Since you are using SQL Server 2008 I would suggest you to think about a Replication solution.
0
 

Author Comment

by:zolf
ID: 40481111
Thanks Victor for you feedback. My db size is around 8 GB and increasing.  Will replication disconnect my production and Reporting users. Regarding using red gate is just because of its ease of use.both the servers are in local network but not setup as domain. They are in workgroup. Please help me to  solve my issue.

Cheers
Zolf
0
 
LVL 49

Expert Comment

by:Vitor Montalvão
ID: 40481117
Will replication disconnect my production and Reporting users.
No. That what's good with replication. They can continue working. With the restore they can't.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:zolf
ID: 40482283
Can you please tell me what type of replication I need to do.
0
 
LVL 49

Expert Comment

by:Vitor Montalvão
ID: 40482374
Since you want to update the database every 2h I would recommend Transactional Replication even it's more used for synchronous replication you can change the schedule of the log reader to run every 2h.
0
 

Author Comment

by:zolf
ID: 40482863
Thanks. What about log shipping.Will that work for me. Another question is if need to setup this on the production or reporting server. Or it would not make a difference.
0
 
LVL 49

Expert Comment

by:Vitor Montalvão
ID: 40482882
Log shipping won't work for you because the secondary database would be offline. You'ld need to find a solution to stop the log shipping, recover the secondary database and two hours after rebuild the log shipping.

Another question is if need to setup this on the production or reporting server. Or it would not make a difference.
This question is referring to the Replication or Log shipping?
0
 

Author Comment

by:zolf
ID: 40482951
So with replication both my database will not have to go or be offline. I mean my users won't be disconnected do from the database. Will replication restore the full database on my reporting server
0
 
LVL 49

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 40482972
After setting the replication, first thing to run is the Snapshot that will transfer all data configured in the replication from the Publisher to the Subscriber. This first step may take a while, depending on the size of the database but after that only the differences will be replicated (insert, delete and updates).
0
 

Author Closing Comment

by:zolf
ID: 40483109
Thanks a lot. Can you give me some good luck where it shows how to do the replication with snapshot.
0
 
LVL 49

Expert Comment

by:Vitor Montalvão
ID: 40483120
Give a look on my comment from 2014-12-05 at 09:24:29ID: 40482374.
There's a link to Transactional Replication. It explains how it works.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question