Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

SQL2008 maint jobs verify fails

$
0
0

SQL 2008 64 bit on Windows 2008 R2 Standard 64 bit

I receive emails from when I run my maintenance jobs.

Two questions.

1. I recieve more than one email for each job that completes actuaully I get three for every job step.

2. I am not sure but I think the verify option is failing on everyone of my job steps. ( see email below) the backup log line shows verify failed
    not sure what that means...

I am new to SQL 2008 so what am I doing wrong here?

Thanks for your help  Tom

Microsoft(R) Server Maintenance Utility (Unicode) Version 10.50.2500 Report was generated on "server010".
Maintenance Plan: DB Maintenance Plan OPManagerDB
Duration: 00:00:10
Status: Succeeded.
Details:
Back Up Database (Transaction Log) (server010) Backup Database on Local server connection
Databases: OpManagerDB
Type: Transaction Log
Append existing
Task start: 2012-10-02T00:50:01.
Task end: 2012-10-02T00:50:10.
Success
Command:EXECUTE master.dbo.xp_create_subdir N''F:\SQL Backup\mssqlserver\OpManagerDB''

GO
BACKUP LOG [OpManagerDB] TO  DISK = N''F:\SQL Backup\mssqlserver\OpManagerDB\OpManagerDB_backup_2012_10_02_005001_0578967.trn'' WITH NOFORMAT, NOINIT,  NAME = N''OpManagerDB_backup_2012_10_02_005001_0558965'', SKIP, REWIND, NOUNLOAD,  STATS = 10 GO declare @backupSetId as int select @backupSetId = position from msdb..backupset where database_name=N''OpManagerDB'' and backup_set_id=(select max(backup_set_id) from msdb..backupset where database_name=N''OpManagerDB'' ) if @backupSetId is null begin raiserror(N''Verify failed. Backup information for database ''''OpManagerDB'''' not found.'', 16, 1) end RESTORE VERIFYONLY FROM  DISK = N''F:\SQL Backup\mssqlserver\OpManagerDB\OpManagerDB_backup_2012_10_02_005001_0578967.trn'' WITH  FILE = @backupSetId,  NOUNLOAD,  NOREWIND

GO

Thomas R Grassi Jr


Viewing all articles
Browse latest Browse all 7696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>