Solved

Credentials that created maintenance plans in Studio Management

Posted on 2015-01-15
5
73 Views
Last Modified: 2015-01-20
Question-
I had all the maintenance plans fail that were created by a different user through the MSSQL studio interface.  the backup piece of the maintenance plans go to a network share.
if someone logs into studio with their windows credentials to create a maintenance plan, is that the credentials the sql server uses for 1) to fire off the maintenance plan and 2) if the destination for a backup is on a network share, does it use those same credentials for network access to the share?

same question if someone uses the SA account to login to studio......  what then is used for network access to shares to place the backup files if the maintenance plan was created by the SA account
0
Comment
Question by:jamesmetcalf74
  • 2
  • 2
5 Comments
 
LVL 47

Accepted Solution

by:
Vitor Montalvão earned 334 total points
ID: 40551331
I had all the maintenance plans fail that were created by a different user through the MSSQL studio interface.  
The default owner of the jobs from a maintenance plan is the user that created it so you always need to remember to change the jobs owner after creating a maintenance plan.

same question if someone uses the SA account to login to studio......  what then is used for network access to shares to place the backup files if the maintenance plan was created by the SA account
The SQL Server service account.
0
 

Author Comment

by:jamesmetcalf74
ID: 40551335
is there a way to look at a maintenance plan and see who the creator was/is?
0
 

Author Comment

by:jamesmetcalf74
ID: 40551351
also-
the about the sa account.  the service account is a local account correct?  so how does active directory authenticate the service account to allow it to network resources.  if I have two sql servers/instances... is the sa account service account the same in active directory's eyes?
0
 
LVL 47

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 334 total points
ID: 40551371
is there a way to look at a maintenance plan and see who the creator was/is?
As far as I know, no. I don't use maintenance plans.

the service account is a local account correct?
Not really. Isn't the recommendation but you can use it but being a local account it won't have access to shares.
0
 
LVL 4

Assisted Solution

by:Thunder724
Thunder724 earned 166 total points
ID: 40555323
You should have an AD account created to replace the local account.
Than your network shares should be given write/modify access to the share for the AD account that the job is running under.  Using the Local account in SQL to access and write to the network share, the permissions on the share would have to be wide open to anyone.  The SA account is a SQL Account and has nothing to do with Active Directory. Hope this helps.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Server - SQL field is defined as text 3 38
MS SQL Inner Join - Multiple Join Parameters 2 32
tempdb log contention 16 39
SQL server 2008 and after encryption method 32 50
There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question