AnsweredAssumed Answered

Task scheduler run with error

Question asked by JGO_ALPS on May 15, 2020
Latest reply on May 15, 2020 by sraposo

Hello,

When I run the backup automated scheduled task it ends with errors. 

In "PIsmt" "Operation" "Backup" Status = -16915 Backup was aborted

Please see the file joined.

 

 

-------------------------------------
!!!!!PIBACKUP.BAT SCRIPT FAILED!!!!!!
AF Server Backup Status = 1
-------------------------------------

 

maybe line 187

 

C:\Windows\system32>sqlcmd -S . -d PIFD -Q "EXEC dbo.usp_backup @outpath = N'F:\PIBackups\Automated\AF\';" -E
Sqlcmd: Error: Microsoft SQL Server Native Client 11.0 : Login failed for user 'NT AUTHORITY\SYSTEM'..
Sqlcmd: Error: Microsoft SQL Server Native Client 11.0 : Cannot open database "PIFD" requested by the login. The login failed..
Backup AF data...done.
Fri 05/15/2020 7:45:47.81

 

Can you help me understand what I'm not doing right

Outcomes