Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / March 2008

Tip: Looking for answers? Try searching our database.

Database Backup in a Maintenance Plan

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steven - 18 Mar 2008 22:43 GMT
I want to write a SQL query to find if a perticular database is backed up in
any Maintenance plan or not.

Is there any way to write this query.
I can surely open all the Plans and view it, but I need to find it out using
a query.

Please let me know if it is possible.

Thanks in advance, Steven
Andrew J. Kelly - 19 Mar 2008 00:43 GMT
Which version are you talking about?  If it is 2000 then have a look at the
sysdbmaintplan_databases table in msdb.

Signature

Andrew J. Kelly    SQL MVP
Solid Quality Mentors

>I want to write a SQL query to find if a perticular database is backed up
>in any Maintenance plan or not.
[quoted text clipped - 6 lines]
>
> Thanks in advance, Steven
Tibor Karaszi - 19 Mar 2008 08:45 GMT
... or perhaps the backup history tables in msdb?

Signature

Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi

> Which version are you talking about?  If it is 2000 then have a look at the
> sysdbmaintplan_databases table in msdb.
[quoted text clipped - 8 lines]
>>
>> Thanks in advance, Steven
Steven - 19 Mar 2008 22:48 GMT
Thanks for the suggestion.
I'll take it from her.

Thanks again, Steven

> ... or perhaps the backup history tables in msdb?
>
[quoted text clipped - 11 lines]
>>>
>>> Thanks in advance, Steven
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.