Deleted Jobs History

  • Accidentally deleted some jobs,anyway to get the history of those?

  • Use a non-production system (running the same SQL Server version and build as the "production" system) to backup its current msdb and restore production's msdb from its backup. Script out the jobs (and select its job history, if really needed), and save the scripts in your disaster recovery folder. Restore the backup of the current msdb (if needed). If you have no backups you are out of luck.

  • You can find the job history in

    select * from msdb.dbo.sysjobhistory

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply