Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Backup is taking much time

Author  Topic 

ksr39
Posting Yak Master

193 Posts

Posted - 2012-09-07 : 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
Master Smack Fu Yak Hacker

2179 Posts

Posted - 2012-09-07 : 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
Go to Top of Page

ksr39
Posting Yak Master

193 Posts

Posted - 2012-09-07 : 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
Go to Top of Page

chadmat
The Chadinator

1974 Posts

Posted - 2012-09-07 : 03:08:12
–E trusted connection
-b on error batch abort
-S server_name
-q cmdline query



-Chad
Go to Top of Page

ksr39
Posting Yak Master

193 Posts

Posted - 2012-09-07 : 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
Go to Top of Page

jackv
Master Smack Fu Yak Hacker

2179 Posts

Posted - 2012-09-07 : 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
Go to Top of Page
   

- Advertisement -