sql server agent backup

sql server agent backup

 You should backup the MSDB database, because all of the SQL Server Agent job information is stored in that database.
It will help you to recover jobs information after SQL server disaster or migrating or upgrading your SQL server.
Execute below query to monitor jobs status like this

select * from msdb.dbo.sysjobhistory

select * from msdb.dbo.sysjobs

If you are having SSIS runing using SQL server agent, you can monitor the status of the job using above queries.

To get Instance name of youyr server you can execute below query

select @@SERVERNAME

Satalaj

Currently rated 3.0 by 1 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Comments