SQL Backup takes too much time
Hello,
I need some advice.
Running Symantec Netbackup 7.5.0.6 on windows server 2008 R2 SP1.
SQL server is 2008 running on server 2008 R2.
Everything works fine, all the databases finish their backups, but unfortunately it takes too long.
We have many instances on the SQL server, and many databases for each instance. Each database is about 4-10 MB.
Their backups take only 10-20 sec. The problem is that untill they start to backup it takes a long time.
I can see the job is Active but writing to disk only starts after 5-10 min. As a result of this, the instance that has 800 samll databases doesn't finish its whole backup during the night
Please suggest what should i change to improve the time period until the job actually starts to backup.
This is the script that backups all the databases:
OPERATION BACKUP
DATABASE $ALL
EXCLUDE "master"
SQLHOST "bronko"
SQLINSTANCE "instance1"
NBSERVER "MSbackup"
MAXTRANSFERSIZE 6
BLOCKSIZE 7
DUMPOPTION INCREMENTAL
NUMBUFS 2
SQLCOMPRESSION TRUE
RESTARTTYPE AUTO
RESTARTWAITSECONDS 60
NUMRESTARTS 3
BATCHSIZE 20
ENDOPER TRUE
eventually, I fix the problem by changing the storage unit from OpenStorage disk device to an advanced disk device.