Solved

restoring a sql backup being copied

Posted on 2011-09-19
3
179 Views
Last Modified: 2012-05-12
I need to copy over a backup from one server to another. I need to restore DB's on both too. Both have low resources and are old servers. The compressed backup size is 35 GB.

I was curious if I need to wait for the copy of backup to other server to complete? or can i kick of the restore on the first server while the copy is taking place? Which is faster? The problem is restore takes about 15 hours, due to the server specs.
0
Comment
Question by:sqlserverdba
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
venk_r earned 84 total points
ID: 36561470
You should be able to restore the databse while the copy is kicked off. The copy is more dependent on the network bandwith .
0
 
LVL 5

Assisted Solution

by:25112
25112 earned 166 total points
ID: 36562840

I experiemented the same here.. The restore as it is, did in 55MB/sec, when I copied the backup file at the same time reduced to 25MB/sec. The copy file alone took 25 seconds, but when did along with restore took 2 minutes..

basically, it is doing 2 reads and 2 writes at same time, instead of 1 read + 1 write.. memory, cpu and disk IO are all involved at the same time...

so from my experimentation, I would say do the copy first, and then restore.. you are not going to save time doing them in parallel, especially if the restore takes 15 hours already!!!

also take advantage of night/off peak hours for these kind of maintenances...
0
 
LVL 5

Assisted Solution

by:25112
25112 earned 166 total points
ID: 36563782
i tested it with a 1.5 GB backup file... JFYI...
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now