Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Full Backup stopped prior to completion Expand / Collapse
Author
Message
Posted Monday, January 7, 2013 10:37 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Tuesday, August 26, 2014 6:36 AM
Points: 76, Visits: 168
Hello --

The scheduled Full Backup of one of our databases failed due to a stop job request. The log file had the following entries:

The job was stopped prior to completion by Shutdown Sequence 0. The Job was invoked by Schedule 9 (Backup.Full Backup). The last step to run was step 1 (Full Backup).

Executed as user: MGHROSTORAGE2\SYSTEM. The step was cancelled (stopped) as the result of a stop job request.


The only change that was made recently was the configuration of Database Mail to notify the administrators the results of the backup. The spelling of the e-mail address of intended recipient was incorrect at the time of the backup, and that has since been corrected.

Would the incorrect address cause these errors to occur? If not, what would be the culprit, and how can I correct it?

Thanks.
Post #1403750
Posted Monday, January 7, 2013 11:45 AM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Friday, June 27, 2014 12:43 PM
Points: 15,444, Visits: 9,596
Email on SQL 2005 and later is an asynchronous process. Even with a wrong address, that won't stop a job, it just enters an error in a log table in msdb.

A stop job request has to initiate from a sys admin, or from software with that kind of privileges. Some server monitoring software, and some antivirus software, can stop a job mid-flight, but the usual culprit is someone doing something like cancelling the job or killing the service.

Have you checked the Windows logs?


- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread

"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
Post #1403787
Posted Monday, January 7, 2013 11:49 AM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: 2 days ago @ 9:06 AM
Points: 3,926, Visits: 7,156
The "The job was stopped prior to completion by Shutdown Sequence 0" can be attributed to all kinds of things i.e.(server is extremely busy, hardware issues (lack of RAM, etm, errors backing up the DB to a tape device, attached storage, etc...)

But to answer your question, No, the incorrect address would not cause your backup to fail.


______________________________________________________________________________
"Never argue with an idiot; They'll drag you down to their level and beat you with experience"
Post #1403790
Posted Monday, January 7, 2013 12:06 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Wednesday, September 10, 2014 12:04 PM
Points: 7,203, Visits: 6,347
As GSquared said, check the Windows logs. Application specifically. And the SQL Server Agent log (just in case).

Brandie Tarvin, MCITP Database Administrator

Webpage: http://www.BrandieTarvin.net
LiveJournal Blog: http://brandietarvin.livejournal.com/
On LinkedIn!, Google+, and Twitter.

Freelance Writer: Shadowrun
Latchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.
Post #1403801
Posted Monday, January 7, 2013 12:19 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Tuesday, August 26, 2014 6:36 AM
Points: 76, Visits: 168
Hello --

Thanks for the replies. I'm glad the incorrect email address was not a show-stopper in this scenario. I checked the SQL and and Application log files, and there was no record in either of a problem occurring with the backup. The latter file indicated the backup completed successfully. However, that cannot be true because when I checked the folder for the BAK file that was to be generated by the backup, there was no file at that location.

Any ideas on this?
Post #1403805
Posted Monday, January 7, 2013 12:30 PM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: 2 days ago @ 9:06 AM
Points: 3,926, Visits: 7,156
Are you running this backup task via Maintenance Plan or via your own custom TSQL?

If running via a Maintenance Task, simply open up the corresponding SQL Agent job that was created and output the results to a text file or something so you can view the error. Or, you can backup the database via TSQL and view the output generated during runtime.


______________________________________________________________________________
"Never argue with an idiot; They'll drag you down to their level and beat you with experience"
Post #1403812
Posted Tuesday, January 8, 2013 4:47 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Wednesday, September 10, 2014 12:04 PM
Points: 7,203, Visits: 6,347
Have you verified that the drive has enough space for the backup to even save? I know files don't always "stick around" if the space to save them doesn't exist.

Brandie Tarvin, MCITP Database Administrator

Webpage: http://www.BrandieTarvin.net
LiveJournal Blog: http://brandietarvin.livejournal.com/
On LinkedIn!, Google+, and Twitter.

Freelance Writer: Shadowrun
Latchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.
Post #1404157
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse