Responding to Verifyonly

  • Hi SQL Server Savvies,

    As part of my backup job I run a step to verify my backup. How though would you respond/ rerun the backup if it failed. Would you have to place the output into a temp table and check this for not a valid backup set? Or is there another way. Or would SQL Server deem the step as failed if it ddi come up with "not a valid backup set"? I doubt it as it would still have ran the command successfully.

    Any ideas welcommed!

    Rob

  • Just check for a non-zero value for @@ERROR. 3013 is returned for "not a valid backup set"

    Cheers,

    - Mark


    Cheers,
    - Mark

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

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