Solved

restoring a sql backup being copied

Posted on 2011-09-19
3
190 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
[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
  • 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

Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

Question has a verified solution.

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

In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

717 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