Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
Backups
»
Database '' is not valid to be included in...
Database '' is not valid to be included in the maintenance plan.
Rate Topic
Display Mode
Topic Options
Author
Message
Steve Park
Steve Park
Posted Wednesday, May 06, 2009 2:26 PM
Forum Newbie
Group: General Forum Members
Last Login: Thursday, May 17, 2012 2:27 PM
Points: 3,
Visits: 34
I am receiving the "Database '' is not valid to be included in the maintenance plan." when backing up the transaction logs of selected databases. The weird thing is the databases that are getting the error are not on that server or included in the maintenance plan. I do not have any snap shots either. And I have verified that all databases are compatibility level >80.
Thanks,
Steve
Post #711547
PaulB-TheOneAndOnly
PaulB-TheOneAndOnly
Posted Wednesday, May 06, 2009 3:11 PM
Hall of Fame
Group: General Forum Members
Last Login: Today @ 12:22 PM
Points: 3,017,
Visits: 4,471
Lets pretend I didn't read the part about affected databases not being part of that server.
Is the offending Maintenance Plan set up to backup "All Databases"?
if this is the case try selecting User database individually.
_____________________________________
Pablo (Paul) Berzukov
Author of
Understanding Database Administration
available at Amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Post #711614
Steve Park
Steve Park
Posted Thursday, May 07, 2009 6:45 AM
Forum Newbie
Group: General Forum Members
Last Login: Thursday, May 17, 2012 2:27 PM
Points: 3,
Visits: 34
No the maintenance plan is set to backup the transaction logs of only selected databases, not all databases. And the databases affected were removed from the server a while ago.
Post #711969
Jeffrey Williams 3188
Jeffrey Williams 3188
Posted Thursday, May 07, 2009 2:13 PM
SSCarpal Tunnel
Group: General Forum Members
Last Login: Monday, June 10, 2013 12:13 PM
Points: 4,319,
Visits: 9,217
When those databases were removed, was the maintenance plan modified to remove the old databases?
Jeffrey Williams
Problems are opportunites brilliantly disguised as insurmountable obstacles.
How to post questions to get better answers faster
Managing Transaction Logs
Post #712416
Steve Park
Steve Park
Posted Thursday, May 07, 2009 2:26 PM
Forum Newbie
Group: General Forum Members
Last Login: Thursday, May 17, 2012 2:27 PM
Points: 3,
Visits: 34
Not sure, since I didn't remove them. However I would have figured that if a database was removed then it would cascade to the maintenance plans. However I guess not. I am going to try to remove the maintenance plan and recreate it to see if that fixes the errors.
Post #712428
Jeffrey Williams 3188
Jeffrey Williams 3188
Posted Thursday, May 07, 2009 2:29 PM
SSCarpal Tunnel
Group: General Forum Members
Last Login: Monday, June 10, 2013 12:13 PM
Points: 4,319,
Visits: 9,217
Steve Park (5/7/2009)
Not sure, since I didn't remove them. However I would have figured that if a database was removed then it would cascade to the maintenance plans. However I guess not. I am going to try to remove the maintenance plan and recreate it to see if that fixes the errors.
No - don't remove the maintenance plan. Just modify each task and re-save it to update the list of databases. When you create a maintenance plan, and select a set of databases - that set is saved in the plan. Removing a database does not 'cascade' - so the original maintenance plan is trying to backup a database that no longer exists.
Like I said - just open the task and resave the plan. That should remove the old databases.
Jeffrey Williams
Problems are opportunites brilliantly disguised as insurmountable obstacles.
How to post questions to get better answers faster
Managing Transaction Logs
Post #712430
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.