Where does SQL Server Agent save jobs?

Std_Net picture Std_Net · Oct 8, 2012 · Viewed 22.8k times · Source

My server is down and I can only get the harddisk from it. I found my database and copied it but where I can find agent jobs? Where are they saved?

Answer

Pete Carter picture Pete Carter · Oct 8, 2012

Within the MSDB database, jobs are stored in a tables called dbo.sysjobs. This joins to a table called dbo.sysjobsteps that stores details of the individule steps. The schedules are stored in dbo.sysjobschedules and the History is stored in dbo.sysjobhistory.

MSDB will also contain other instance level objects such as alerts, operators and SSIS packages.