I need to check out why a database backup failed in one of our systems.
The log says the following:
BACKUP failed to complete the command BACK
I had the same issue. Backing up the DBs with a PS.Script. The information in the log was not helpful. The cause was a timeout of my powershell script.
A setting of "$server.ConnectionContext.StatementTimeout = 0" was not helping
$ret=Invoke-Sqlcmd -Query $SQLStatement -ServerInstance $ServerName -ErrorAction 'Stop' -QueryTimeOut 600
Setting the QueryTimeOut was doing the trick.