We help IT Professionals succeed at work.

Use Red Gate to backup and restore between servers

zolf
zolf asked
on
168 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
Comment
Watch Question

Vitor MontalvãoIT Engineer
CERTIFIED EXPERT
Distinguished Expert 2017

Commented:
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.

Author

Commented:
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
Vitor MontalvãoIT Engineer
CERTIFIED EXPERT
Distinguished Expert 2017

Commented:
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.

Author

Commented:
Can you please tell me what type of replication I need to do.
Vitor MontalvãoIT Engineer
CERTIFIED EXPERT
Distinguished Expert 2017

Commented:
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.

Author

Commented:
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.
Vitor MontalvãoIT Engineer
CERTIFIED EXPERT
Distinguished Expert 2017

Commented:
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?

Author

Commented:
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
IT Engineer
CERTIFIED EXPERT
Distinguished Expert 2017
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Thanks a lot. Can you give me some good luck where it shows how to do the replication with snapshot.
Vitor MontalvãoIT Engineer
CERTIFIED EXPERT
Distinguished Expert 2017

Commented:
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.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.