Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Backup of msdb stuck in rollback Expand / Collapse
Posted Tuesday, October 8, 2013 10:02 AM


Group: General Forum Members
Last Login: Friday, March 25, 2016 7:38 AM
Points: 153, Visits: 232
A native full backup of msdb and a Tlog backup on a SQL Server 2005 Enterprise instance (9.0.4053) deployed on a two-node Win2K3 cluster (Microsoft Windows NT 5.2 (3790)) are currently stuck in rollback.

The msdb DB is in Simple recovery mode but the Tlog is full. The user DB is in full recovery mode. Attempts to add secondary Tlogs are failing due to a 3023 error (regarding the action needing to be serialized).

Options I'm considering are moving non DB files off the volume to allow for autogrow of the Tlog and instance restart. I've tried changing the state of the DB from multi-user to single-user but the SPID stuck in rollback is blocking. SPID 126 is the session in question below.

Are there other options I can consider?

session_id	status	blocking_session_id	wait_type	wait_time	wait_resource	transaction_id
1098 suspended 0 TRACEWRITE 828 25828712297
100 suspended 0 WAITFOR 687 0
116 suspended 0 WAITFOR 1031 0
126 suspended 0 BACKUPTHREAD 1611623843 0
201 suspended 441 LCK_M_U 736093 DATABASE: 15 [BULKOP_BACKUP_LOG] 0
249 suspended 0 TRACEWRITE 62 41659048209
323 suspended 0 WAITFOR 1625 0
418 suspended 0 PAGEIOLATCH_SH 0 18:1:2809411 43527231806
441 suspended 0 BACKUPTHREAD 1307928843 0
500 suspended 0 TRACEWRITE 390 43040835468

Post #1502696
Posted Wednesday, October 9, 2013 6:45 AM


Group: General Forum Members
Last Login: Thursday, March 17, 2016 5:13 AM
Points: 2,796, Visits: 2,232
I am not sure why backpu is configure like this? msdb is system database and in SIMPLE recovery mode. But you are taking FULL and TLOG backup for the database. Can you remove TLOG backup of MSDB database and try?

"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."
Post #1503070
Posted Wednesday, October 9, 2013 7:10 AM

SSChasing Mays

SSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing Mays

Group: General Forum Members
Last Login: Monday, December 5, 2016 8:24 AM
Points: 636, Visits: 1,265
you should never backup tlogs of databases in simple recovery mode.

if you are using a T-sql script to do the backup , I suggest you exclude db's with simple recovery mode

Select name From master.sys.databases
where recovery_model <> 3

SQL 2000/2005/2008/2012 DBA - MCTS/MCITP
Post #1503079
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse