Stopping a job Step (backup) if drive has less disk space.

  • Does anyone has ever implemented any script where in if the drive has less disk space (say 20 GB or less) it will disable / stop the backup jobstep alone in the maintenance job which will have other job steps as (checkdb, rebuild index, etcx..)?

    Thanks.

  • Not in the middle. I've done it at the beginning to avoid exports if disk space was low.

    Use a PoSh script to check disk space, then fail the step if you don't want to continue to the next step (or jump to another step).

  • Just out of curiousity but if you're out of back up space isn't that problem a little bit more important to resolve quickly than worrying about whether checkdb or index rebuilds run?

  • Those are all set..

    I want to modify my exidting jobs efficient to stop running during less drive space matters...

    Thanks.

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

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