10

How can I backup and restore SQL Server 2005 Agent job schedules?

Firas Assaad
  • 25,006
  • 16
  • 61
  • 78

2 Answers2

14

the msdb database is where all the jobs live, it is one of the system databases

SQLMenace
  • 132,095
  • 25
  • 206
  • 225
  • Here's a relevant MSDB article on considerations of restoring MSDB: https://msdn.microsoft.com/en-us/library/ms190749(v=sql.105).aspx – Dan Bowling Jan 05 '17 at 18:16
1

You can also script all the jobs out as a sql file and store them in svn or other source control if you'd like to track changes.

sam yi
  • 4,806
  • 1
  • 29
  • 40