August 6, 2010 at 7:09 am
If I am seeing a weekly backup job in script as it was created by maintenance plan then it is using msdb database as well as there is no backup command looking in this.
How the backup is runing successful..My database is some else
Thanks
August 6, 2010 at 9:38 am
I am having difficulty understanding your question. But if you desire to know if a database is being backed up (not how it was performed) try the following code.
SELECT Database_Name,[Name] AS 'Backup file name',Backup_start_date,Backup_finish_date, is_damaged
FROM MSDB.Dbo.Backupset
If this is NOT what you need, please post your question again with some additional detail.
August 6, 2010 at 9:50 am
Please clarify your question. If you could describe in greater detail what it is you are seeking, we can help better.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
August 6, 2010 at 9:53 am
If your question is how the backup job is successful without a BACKUP DATABASE command in it, here is the asnwer.
In SQL Server when a Maintenance is created as an SSIS package and stored in MSDB
Hence in the job the step refers to MSDB and calls this SSIS package.
Pradeep Adiga
Blog: sqldbadiaries.com
Twitter: @pradeepadiga
August 8, 2010 at 10:52 pm
Thanks to all but Adiga has got my point and one thing is annoying where that backup command is...?
Thanks
August 8, 2010 at 10:54 pm
Please navigate to Maintenance Plans and open the Maintenance Plan. Inside that you will have a BACKUP DATABASE task which takes care of the backups.
Pradeep Adiga
Blog: sqldbadiaries.com
Twitter: @pradeepadiga
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply