Solved

Slow SQL backup across network

Posted on 2014-01-07
4
479 Views
Last Modified: 2014-02-24
We currently have a SQL (2008) job that creates a backup of a 200Gb database and uses another networked server as a target. Both servers are on a Gig backbone. From there the file is backed up daily to tape.

The time taken to create the SQL backup on the target server is becoming excessive, ranging from 9 hours upward.

Backing up the file from the target server to tape (Netbackup) is magnitudes faster and I'm left wondering if we are going about things the wrong way. I don't believe this is a network issue and have monitored both servers/network for bottlenecks.

Questions;
1) This backup process is a hold-over from an old, non-SQL based system which was recently replaced. What is best practice/the fastest way to back up large SQL databases? Would we be better off installing a Netbackup SQL agent on the source server (and if so why)?

2) What sort of transfer rates are others seeing when creating a SQL backup across the network in such a fashion?

We're pulling our hair out trying to prove/disprove theories at this point so guidelines from anyone with experience in this field would be welcomed.

Thanks!
0
Comment
Question by:agradmin
4 Comments
 
LVL 10

Accepted Solution

by:
PadawanDBA earned 500 total points
ID: 39763311
With things as touchy/crucial as backups, I generally like to backup my databases to a local backup LUN on the SQL Server and then copy the completed backup from the local LUN to our backup server.  Reason for this is you eliminate the network overhead from your backups as well as the chances for corruption.  It also gives you a clearly defined source of the overhead, whereas if you're backing up to a network location: is SQL Server bottlenecking you, or is it the source disk, or is it the source cpu, or is it the destination disk ?

Edit:
As for the other part of your question.  I always like to have native SQL Server backups for something so crucial to everything.  Native compression has come a loooong way for speeding up the backup/recovery times. (Our 1.2 TB database takes about an hour and 15 minutes for a full backup)
0
 
LVL 38

Expert Comment

by:Jim P.
ID: 39766290
Also are you trying to do a verify as part of the process?

If you are that takes a significant amount of time because it is basically unpacking the backup.

I agree with Padawan -- see if you can do a local backup and copy the resulting file over.

If you have to do it to the UNC then skip the verify. You can always setup a SQL instance on the other server just to do a verify. Not used for any other purpose it shouldn't need a license.

I still have not found a SQL backup agent that I trust.
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 39770077
In addition to backing up to a local drive, if you have an edition that supports it consider using compression.  If you don't consider purchasing a third party tool such as Red-Gate's SQL Backup
0
 

Author Closing Comment

by:agradmin
ID: 39884156
Thanks for the help. We are still trying to speed things up but the information will help us make decisions.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

896 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

18 Experts available now in Live!

Get 1:1 Help Now