Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Tran log backup fail after setting a DB offline

$
0
0

This is strange.  SQL 2005 SP3 (build 4340).  Full backup job and tran log backup job are separate maint plans/Agent jobs as opposed to multiple steps in one maint plan (don't ask me... I didn't set it up that way.)

I set a database XYZ offline last night at around 9pm.  It was last backed up at 8pm (full recovery mode).  My tran log backup started failing then.  This morning, I detached the database.  Tran log backup job still failing.  I finally realized it had something to do with database XYZ so I re-attached it.  Tran log backup working now.  The weird thing is that XYZ had not been selected only specific databases, and the detached database isn't selected.  I tried setting to simple recovery mode and doing a final full backup before detaching, but tran log job still fails.  How can I get rid of database XYZ without the tran job failing?  Thanks.


Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>