| Author |
Topic  |
|
|
ksr39
Posting Yak Master
India
173 Posts |
Posted - 09/07/2012 : 00:28:39
|
Hi Experts,
Today one of my database took more than expected time for backup i have no idea why it took much time, can any one help me in this if any one gone through this condition/situation. your suggections could help me out in future.
The size of the backup is 30GB and the server is SQL Server 2005 enterprise edition on windows 2003 enterprise edition.
Thank you in advance
Thank You All In Advance KRS39 |
|
|
jackv
Flowing Fount of Yak Knowledge
United Kingdom
1795 Posts |
Posted - 09/07/2012 : 01:51:39
|
are you backing up to local disk or tape? Lots of different factors can influence the backup performance time. Were there any other issues such disk IO or memoy pressure? If you're backing up to tape - can you try and do a test backup onto disk, see if there is any difference
Jack Vamvas -------------------- http://www.sqlserver-dba.com |
 |
|
|
ksr39
Posting Yak Master
India
173 Posts |
Posted - 09/07/2012 : 03:01:46
|
Hi Jack, Thank you for your reply, I was doing the backup to a local disk and I am doing it from cmd prompt.(- sqlcmd -E -b -S XYZdbsql -Q "BACKUP DATABASE DataBase1 TO DISK = 'D:\backup\DataBase1.bak' WITH FORMAT"). and one more thing i wanted to know is can we find the time when the backup is started and when it got end up.
Here the script was written by another DBA, here I have no idea about the parameters –E, -b, -S & -Q. Please can you explain me when and where and what for we use these.
Thank you in advance.
Thank You All In Advance KRS39 |
 |
|
|
chadmat
The Chadinator
USA
1962 Posts |
Posted - 09/07/2012 : 03:08:12
|
–E trusted connection -b on error batch abort -S server_name -q cmdline query
-Chad |
 |
|
|
ksr39
Posting Yak Master
India
173 Posts |
Posted - 09/07/2012 : 04:23:32
|
WOW Thank You very much Chad its really a good thing to know, but i think they wont effect the backup to take much time, why the backup took more then the usual time, i tried to find it out in event logs and sql as well but couldnt find one.there was one error "Changing the status to PAUSE for full-text catalog "DataBase1FullTextCatalog" (6) in database "DataBase1" (5)." will it effect the backup.
Thank You All In Advance KRS39 |
 |
|
|
jackv
Flowing Fount of Yak Knowledge
United Kingdom
1795 Posts |
Posted - 09/07/2012 : 08:34:13
|
quote: "Changing the status to PAUSE for full-text catalog "DataBase1FullTextCatalog" (6) in database "DataBase1" (5)."
Could you check to see the EventID in the application event log?And could ypu post the text of the Event ID.
Jack Vamvas -------------------- http://www.sqlserver-dba.com |
 |
|
| |
Topic  |
|