0

We have a SQL VM running out of Azure with SQL Agent jobs running BACKUP LOG every x hours to Azure Blob. These jobs have been running fine for a long time until recently. We keep getting the below error and these jobs fail intermittently for various databases. They don't always fail at their scheduled run. If it fails, I can re-run the job manually like two minutes later without any issue. I have looked up online and haven't found a solution to my problem.

Does anyone know why and how I can fix this? Any help is appreciated.


Message Executed as user: DSN\xyz. Write on "https://xyz.blob.core.windows.net/CW_Data_LOG_06102022_140000.TRN" failed: 13(The data is invalid.) [SQLSTATE 42000] (Error 3202) BACKUP LOG is terminating abnormally. [SQLSTATE 42000] (Error 3013).
The step failed.

3
  • Poor network connection? And have you run DBCC CHECKDB Commented Jun 14, 2022 at 2:07
  • We have Azure ExpressRoute so it's not network.
    – sydney
    Commented Jun 15, 2022 at 13:23
  • That's not strictly true: you could have a BGP or STP flap which is intermittently taking it down, it could even be a poor network cable. Talk to your network engineers. Always check the obvious first. Commented Jun 15, 2022 at 13:24

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.