Disable a regular backup job

  • Hi everyone,

    can you help me?

    I want to disable my regular backup job regularly.

    Can I just go to my SQL Server Agent - jobs - choose job name then right click on' disable job'

    OR

    Do I need to go to job's property then untick 'enable' filed in schedule tab?

     

    thanks,

    Susan

  • hi

    A job can have multiple schedules. Disabling a job disables all the schedules in a job. Disabling a schedule disables only that schedule in a job.

    If your job has only one schedule then disabling the job or the schedule should be the same but iam not very sure.

    Anyway what do u mean by "I want to disable my regular backup job regularly."

     

    "Keep Trying"

  • I guess I will use ' disable job' because this job there are multiple schedule.

    regular backup job...  back DB and log

     

    thanks,

    Susan

     

  • Just curious...what is the reason for disabling the backup job which is one of the important one...

     

    You can use msdb..sp_update_job procedure too in QA...

    To diable:

    exec msdb..sp_update_job @job_name = 'Job Name' , @enabled = 0

    To Eanble:

    exec msdb..sp_update_job @job_name = 'Job Name' , @enabled = 1

     

    MohammedU
    Microsoft SQL Server MVP

  • Thanks guy.

    I need to disable temporary because we need to upgrade one of the DB and can't be disturbed by any backup.

     

Viewing 5 posts - 1 through 4 (of 4 total)

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