| Author |
Message |
psherwood
Joined: 16 Feb 2012 Posts: 4
|
Posted: Fri Feb 24, 2012 10:01 pm Post subject: Scheduled Backup Never Starts |
|
|
I've setup a scheduled backup that should kick off at 11pm every evening. It has been 4 days and it still won't automatically kick off.
Right above the Job it says "Your SQL Server Agent doesn't appear to be running". I've clicked the Start SQL Server Agent link and it never goes away. I've also tried going into services and starting the agent. It comes back and says it quit because no one was using it. Is the agent my problem?
How do I get this scheduled job to start when it's supposed to? |
|
| Back to top |
|
 |
peter.peartSite Admin
Joined: 02 Sep 2008 Posts: 362 Location: Top floor, RG towers with the cool kids
|
Posted: Mon Feb 27, 2012 11:00 am Post subject: |
|
|
Thanks for your post. SQL Backup relies on the SQL Server Agent to be running in order for a scheduled task to be run.
Unless you're using Task Scheduler and calling an executable from the command line, any sort of scheduled job running in SQL Server relies on the SQL Server Agent to be running.
I'd therefore take a closer look at the SQL Server Agent and see why that's stopping, as to the best of my knowledge it shouldn't just stop through inactivity.
Kind regards,
Peter _________________ Peter Peart
Red Gate Software Ltd
+44 (0)870 160 0037 ext. 8569
1 866 RED GATE ext. 8569 |
|
| Back to top |
|
 |
psherwood
Joined: 16 Feb 2012 Posts: 4
|
Posted: Tue Feb 28, 2012 3:50 pm Post subject: |
|
|
I went into Services and looked at the properties of Server Agent. It was set to run under the Network Service user. I then looked at SQL Server and it was set to run under Local System Account. I then changed Server Agent to run under Local System Account and started it. It stayed running.
My scheduled backup completed successfully last night! Thanks for your help.
-Phil |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group