SQL Backups are partially successful
Hi
Server's OS is Windows 2012. SQL server 2012 is installed in it. NBU Version: 7.6.0.4
Please find below log description regarding the SQL server getting partially successful.
11/18/2015 1:22:12 AM - Info ascc(pid=103478) MSSQL: Processing SQL Server instance: MSSQLSERVER
11/18/2015 1:22:13 AM - Info ascc(pid=103478) MSSQL: Processing SQL Server database: MSSQLSERVER\master
11/18/2015 1:22:13 AM - Info ascc(pid=103478) MSSQL: Processing SQL Server database: MSSQLSERVER\tempdb
11/18/2015 1:22:13 AM - Info ascc(pid=103478) MSSQL: Processing SQL Server database: MSSQLSERVER\model
11/18/2015 1:22:13 AM - Info ascc(pid=103478) MSSQL: Processing SQL Server database: MSSQLSERVER\msdb
11/18/2015 1:22:13 AM - Info ascc(pid=103478) MSSQL: Processing SQL Server database: MSSQLSERVER\AdventureWorks2012
11/18/2015 1:22:13 AM - Info ascc(pid=103478) MSSQL: Skipping log truncation for database AdventureWorks2012. It is using the simple recovery model and does not support log backups w/truncation
11/18/2015 1:22:13 AM - Info ascc(pid=103478) MSSQL: Processing SQL Server database: MSSQLSERVER\Tfs_Configuration
11/18/2015 1:22:14 AM - Info ascc(pid=103478) MSSQL: [ODBC MSG]BACKUP LOG [Tfs_Configuration] TO DISK = 'C:\Users\NETBAC~1\AppData\Local\Temp\NBU6496000001D28BFAF1D0_TMP_DIR\MSSQLSERVER_Tfs_Configuration.1447830028' WITH STATS = 10
11/18/2015 1:22:14 AM - Info ascc(pid=103478) MSSQL: [ODBC MSG][Microsoft][SQL Native Client][SQL Server]11 percent processed.
11/18/2015 1:22:14 AM - Info ascc(pid=103478) MSSQL: [ODBC MSG][Microsoft][SQL Native Client][SQL Server]22 percent processed.
11/18/2015 1:22:14 AM - Info ascc(pid=103478) MSSQL: [ODBC MSG][Microsoft][SQL Native Client][SQL Server]37 percent processed.
11/18/2015 1:22:14 AM - Info ascc(pid=103478) MSSQL: [ODBC MSG][Microsoft][SQL Native Client][SQL Server]51 percent processed.
11/18/2015 1:22:14 AM - Info ascc(pid=103478) MSSQL: [ODBC MSG][Microsoft][SQL Native Client][SQL Server]66 percent processed.
11/18/2015 1:22:15 AM - Info ascc(pid=103478) MSSQL: [ODBC MSG][Microsoft][SQL Native Client][SQL Server]80 percent processed.
11/18/2015 1:22:15 AM - Info ascc(pid=103478) MSSQL: [ODBC MSG][Microsoft][SQL Native Client][SQL Server]100 percent processed.
11/18/2015 1:22:15 AM - Info ascc(pid=103478) MSSQL: [ODBC MSG][Microsoft][SQL Native Client][SQL Server]Processed 279 pages for database 'Tfs_Configuration', file 'Tfs_Configuration_log' on file 1.
11/18/2015 1:22:15 AM - Info ascc(pid=103478) MSSQL: [ODBC MSG][Microsoft][SQL Native Client][SQL Server]BACKUP LOG successfully processed 279 pages in 1.071 seconds (2.031 MB/sec).
11/18/2015 1:22:16 AM - Info ascc(pid=103478) MSSQL: Processing SQL Server database: MSSQLSERVER\Tfs_DefaultCollection
11/18/2015 1:22:16 AM - Info ascc(pid=103478) MSSQL: [ODBC MSG]BACKUP LOG [Tfs_DefaultCollection] TO DISK = 'C:\Users\NETBAC~1\AppData\Local\Temp\NBU6496000001D28BFAFCA0_TMP_DIR\MSSQLSERVER_Tfs_DefaultCollection.1447830030' WITH STATS = 10
11/18/2015 1:22:16 AM - Info ascc(pid=103478) MSSQL: [ODBC MSG][Microsoft][SQL Native Client][SQL Server]36 percent processed.
11/18/2015 1:22:16 AM - Info ascc(pid=103478) MSSQL: [ODBC MSG][Microsoft][SQL Native Client][SQL Server]100 percent processed.
11/18/2015 1:22:17 AM - Info ascc(pid=103478) MSSQL: [ODBC MSG][Microsoft][SQL Native Client][SQL Server]Processed 23 pages for database 'Tfs_DefaultCollection', file 'Tfs_DefaultCollection_log' on file 1.
11/18/2015 1:22:17 AM - Info ascc(pid=103478) MSSQL: [ODBC MSG][Microsoft][SQL Native Client][SQL Server]BACKUP LOG successfully processed 23 pages in 0.048 seconds (3.590 MB/sec).
11/18/2015 1:22:17 AM - Info ascc(pid=103478) MSSQL: Processing SQL Server database: MSSQLSERVER\PASADataFactory
11/18/2015 1:22:17 AM - Info ascc(pid=103478) MSSQL: [ODBC MSG]BACKUP LOG [PASADataFactory] TO DISK = 'C:\Users\NETBAC~1\AppData\Local\Temp\NBU6496000001D28BFB0770_TMP_DIR\MSSQLSERVER_PASADataFactory.1447830032' WITH STATS = 10
11/18/2015 1:22:18 AM - Warning ascc(pid=103478) MSSQL: Failed to execute the sql statement: BACKUP LOG [PASADataFactory] TO DISK = 'C:\Users\NETBAC~1\AppData\Local\Temp\NBU6496000001D28BFB0770_TMP_DIR\MSSQLSERVER_PASADataFactory.1447830032' WITH STATS = 10.
.ODBC Error Code: -1
.Diagnostic Records: 2
.
.
. Native Error Code: 4214
. State Code: 42000
. Error Msg: [Microsoft][SQL Native Client][SQL Server]BACKUP LOG cannot be performed because there is no current database backup.
.
.
. Native Error Code: 3013
. State Code: 42000
. Error Msg: [Microsoft][SQL Native Client][SQL Server]BACKUP LOG is terminating abnormally.
.
11/18/2015 1:22:18 AM - Warning ascc(pid=103478) MSSQL: Log truncation failed for database : MSSQLSERVER\PASADataFactory
11/18/2015 1:22:18 AM - Warning ascc(pid=103478) MSSQL: MSSQL application state capture was partially successful
Status 1
11/18/2015 2:00:11 AM - Info nbjm(pid=4724) starting backup job (jobid=188608) for client PTCEBSSQL3PROD.pasa.pas.local, policy PTC-VMWARE-PLAT-60DAY-IP-SQL, schedule Daily
11/18/2015 2:00:11 AM - Info nbjm(pid=4724) requesting MEDIA_SERVER_ONLY resources from RB for backup job (jobid=188608, request id:{28176294-420D-4F47-814F-31D2BF6E9965})
11/18/2015 2:00:11 AM - requesting resource PTCPRDNBUMEDIA1-DISK-MSDP-1
11/18/2015 2:00:11 AM - requesting resource ptcprdnbumaster.pasa.pas.local.NBU_CLIENT.MAXJOBS.PTCEBSSQL3PROD.pasa.pas.local
11/18/2015 2:00:11 AM - requesting resource ptcprdnbumaster.pasa.pas.local.VMware.Datastore.PTCPRDVC05/PASA/VNX6998_lun15_PO
11/18/2015 2:00:12 AM - granted resource ptcprdnbumaster.pasa.pas.local.NBU_CLIENT.MAXJOBS.PTCEBSSQL3PROD.pasa.pas.local
11/18/2015 2:00:12 AM - granted resource ptcprdnbumaster.pasa.pas.local.VMware.Datastore.PTCPRDVC05/PASA/VNX6998_lun15_PO
11/18/2015 2:00:24 AM - estimated 0 Kbytes needed
11/18/2015 2:00:24 AM - begin Parent Job
11/18/2015 2:00:24 AM - begin Application State Capture, Step By Condition
Status 0
11/18/2015 2:00:24 AM - end Application State Capture, Step By Condition; elapsed time: 0:00:00
11/18/2015 2:00:24 AM - begin Application State Capture, Application State Capture
11/18/2015 2:00:34 AM - end Application State Capture, Application State Capture; elapsed time: 0:00:10
Status 1
11/18/2015 2:00:34 AM - end Parent Job; elapsed time: 0:00:10
the requested operation was partially successful(1)
The job was successfully completed, but some files may have been
busy or inaccessible. See the problems report or the client's logs for more details.
Please help in resolving this.
Hello,
you have probably missed Symantec VSS provider installation. See MSSQL Admin Guide:
Symantec recommends that you use the Symantec VSS provider. To truncate logs,
you must use the Symantec VSS provider to create full VSS backups. The VMware
VSS provider creates copy-only backups, which cannot be used as a basis to
truncate logs.
So MS SQL Server does not konow that any full backup was done.
Michal
Hi Marianne
Thanks for your reply. I have taken this up to my DBA team. If you don't mind could you please explain when and why do we get the warning " Failed to execute the sql statement: BACKUP LOG". Find below instance for your reference.
Warning ascc(pid=170484) MSSQL: Failed to execute the sql statement: BACKUP LOG [BusinessMashupsDev] TO DISK = 'C:\Windows\TEMP\NBU7508000001D299FE0958_TMP_DIR\MSSQLSERVER_BusinessMashupsDev.1448002823' WITH STATS = 10.
.ODBC Error Code: -1
.Diagnostic Records: 2
.
.
. Native Error Code: 4214
. State Code: 42000
. Error Msg: [Microsoft][SQL Server Native Client 10.0][SQL Server]BACKUP LOG cannot be performed because there is no current database backup.
.
.
. Native Error Code: 3013
. State Code: 42000
. Error Msg: [Microsoft][SQL Server Native Client 10.0][SQL Server]BACKUP LOG is terminating abnormally