Hello Raja
Sorry for the delay of my answer! Many thanks for that tip, it helps a lot and it solve the last error/problem that I reported here, in fact, the problem was we had named the device with two words containing a space. So we removed that space from the backup device (in SQL management studio) with one word only and the job runs successfully without any errors!
It works in Development and Quality systems but in our Production system (AM1) the Full backup option in DB13 stopped with the following error, in fact the error is on verification of backup, it means that the Full backup finished with success, but when it does the backup verification, the job in DB13 stops with an error, the following one:
***************************** SQL Job information ******************************
Jobname: SAP CCMS Full DB Backup of AM1 [20140417103726-4-103726]
Type: TSQL
DB-Name: AM1
For Run: 20140417 10:37:26
**************************** Job history information *****************************
Stepname: CCMS-step 1
Command: declare @exeStmt nvarchar(2000) exec am1.sap_backup_databases @dbList=
"AM1",@r3Db="AM1",@bDev="fullprd",@expDays= 27,@jobName= "SAP CCMS Ful
l DB Backup of AM1 [20140417103726-4-103726]",@bkupChecksum="Y",@bkupT
ype="F",@nativeBkup="N",@exeDate = "20140417103726",@bkupSim = "N",@fo
rmat = 0,@init = 0,@bkupDb = "AM1",@unload = 0,@exeStmt = @exeStmt OUT
PUT
Status: (success)
Message: 3014
Severity: 0
Duration: 4 hours(s) 41 min(s) 22 sec(s)
Last msg: Executed as user: am1. Processed 7434328 pages for database 'AM1', fil
e 'A01DATA1' on file 1. [SQLSTATE 01000] (Message 4035) Processed 315
1504 pages for database 'AM1', file 'A01DATA2' on file 1. [SQLSTATE 01
000] (Message 4035) Processed 4574152 pages for database 'AM1', file
'A01DATA3' on file 1. [SQLSTATE 01000] (Message 4035) Processed 44363
92 pages for database 'AM1', file 'A01DATA4' on file 1. [SQLSTATE 0100
0] (Message 4035) Processed 25598 pages for database 'AM1', file 'A01
LOG1' on file 1. [SQLSTATE 01000] (Message 4035) BACKUP DATABASE succ
essfully processed 19621974 pages in 16881.638 seconds (9.521 MB/sec).
[SQLSTATE 01000] (Message 3014). The step succeeded.
<------------- End of Job Step History --------------->
Stepname: CCMS-step 2
Command: declare @exeStmt nvarchar(2000) exec am1.sap_verify_backups @nativeBku
p = "N",@bkupSim = "N",@bDev = "fullprd",@bkupChecksum = "Y",@exeDate
= "20140417103726",@unload = 1,@dbCnt =1,@exeStmt = @exeStmt OUTPUT
Status: (failure)
Message: 3201
Severity: 16
Duration: 0 hours(s) 8 min(s) 30 sec(s)
Last msg: Executed as user: am1. Cannot open backup device 'fullprd(\\10.0.0.45\
backupsap\prd\prdfullqua.bak)'. Operating system error 1265(error not
found). [SQLSTATE 42000] (Error 3201). The step failed.
<------------- End of Job Step History --------------->
**************************** Job history information *****************************
Can you help me please with this one!? Can you tell me why in verification it stops with that error?
Kind regards,
samid raif