Solved

restoring a sql backup being copied

Posted on 2011-09-19
3
182 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sql query 107 64
SQL Server - Date Calc for 1st Day of Current Month for LAST YEAR? 3 38
Loop through SQL parameters and insert to temp table? 4 41
While in ##Table - Help 4 16
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

831 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