dbTalk Databases Forums  

changing SQL Agent 'Logon as' to move backups off same drive,jobs

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss changing SQL Agent 'Logon as' to move backups off same drive,jobs in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Pat M - City of Reno
 
Posts: n/a

Default changing SQL Agent 'Logon as' to move backups off same drive,jobs - 04-21-2008 , 11:01 AM






Since a local system account doesn't allow backing up to another drive, I
made a new domain account so we could backup to a different drive than where
SQL Server 2005 resides. What happened then was all the jobs created under
the other account would not run. Do we have to recreate the jobs to run under
the new account or is there a way to repoint these jobs for running under the
new account. Is it as simple as I need to add this account as sysadmin on sql
server?
--
Regards,
Pat

Reply With Quote
  #2  
Old   
Russell Fields
 
Posts: n/a

Default Re: changing SQL Agent 'Logon as' to move backups off same drive,jobs - 04-21-2008 , 03:49 PM






Pat,

You should be able to simply update the owner of the jobs if you are a
sysadmin. (Or get a sysadmin to do the work for you, if you are not.) In
SSMS open the job and choose a new Owner. Or you could script a change to
the affected jobs to use.

EXEC sp_update_job @job_name = 'Job Name', @owner_login_name =
'Domain\Login'

An additional note, I always run my SQL Servers under a domain account, not
local system.

RLF

"Pat M - City of Reno" <PatMCityofReno (AT) discussions (DOT) microsoft.com> wrote in
message news:1503AEDC-23B9-422D-BA12-1B85B7B7EAA9 (AT) microsoft (DOT) com...
Quote:
Since a local system account doesn't allow backing up to another drive, I
made a new domain account so we could backup to a different drive than
where
SQL Server 2005 resides. What happened then was all the jobs created under
the other account would not run. Do we have to recreate the jobs to run
under
the new account or is there a way to repoint these jobs for running under
the
new account. Is it as simple as I need to add this account as sysadmin on
sql
server?
--
Regards,
Pat



Reply With Quote
  #3  
Old   
Russell Fields
 
Posts: n/a

Default Re: changing SQL Agent 'Logon as' to move backups off same drive,jobs - 04-21-2008 , 03:49 PM



Pat,

You should be able to simply update the owner of the jobs if you are a
sysadmin. (Or get a sysadmin to do the work for you, if you are not.) In
SSMS open the job and choose a new Owner. Or you could script a change to
the affected jobs to use.

EXEC sp_update_job @job_name = 'Job Name', @owner_login_name =
'Domain\Login'

An additional note, I always run my SQL Servers under a domain account, not
local system.

RLF

"Pat M - City of Reno" <PatMCityofReno (AT) discussions (DOT) microsoft.com> wrote in
message news:1503AEDC-23B9-422D-BA12-1B85B7B7EAA9 (AT) microsoft (DOT) com...
Quote:
Since a local system account doesn't allow backing up to another drive, I
made a new domain account so we could backup to a different drive than
where
SQL Server 2005 resides. What happened then was all the jobs created under
the other account would not run. Do we have to recreate the jobs to run
under
the new account or is there a way to repoint these jobs for running under
the
new account. Is it as simple as I need to add this account as sysadmin on
sql
server?
--
Regards,
Pat



Reply With Quote
  #4  
Old   
Russell Fields
 
Posts: n/a

Default Re: changing SQL Agent 'Logon as' to move backups off same drive,jobs - 04-21-2008 , 03:49 PM



Pat,

You should be able to simply update the owner of the jobs if you are a
sysadmin. (Or get a sysadmin to do the work for you, if you are not.) In
SSMS open the job and choose a new Owner. Or you could script a change to
the affected jobs to use.

EXEC sp_update_job @job_name = 'Job Name', @owner_login_name =
'Domain\Login'

An additional note, I always run my SQL Servers under a domain account, not
local system.

RLF

"Pat M - City of Reno" <PatMCityofReno (AT) discussions (DOT) microsoft.com> wrote in
message news:1503AEDC-23B9-422D-BA12-1B85B7B7EAA9 (AT) microsoft (DOT) com...
Quote:
Since a local system account doesn't allow backing up to another drive, I
made a new domain account so we could backup to a different drive than
where
SQL Server 2005 resides. What happened then was all the jobs created under
the other account would not run. Do we have to recreate the jobs to run
under
the new account or is there a way to repoint these jobs for running under
the
new account. Is it as simple as I need to add this account as sysadmin on
sql
server?
--
Regards,
Pat



Reply With Quote
  #5  
Old   
Russell Fields
 
Posts: n/a

Default Re: changing SQL Agent 'Logon as' to move backups off same drive,jobs - 04-21-2008 , 03:49 PM



Pat,

You should be able to simply update the owner of the jobs if you are a
sysadmin. (Or get a sysadmin to do the work for you, if you are not.) In
SSMS open the job and choose a new Owner. Or you could script a change to
the affected jobs to use.

EXEC sp_update_job @job_name = 'Job Name', @owner_login_name =
'Domain\Login'

An additional note, I always run my SQL Servers under a domain account, not
local system.

RLF

"Pat M - City of Reno" <PatMCityofReno (AT) discussions (DOT) microsoft.com> wrote in
message news:1503AEDC-23B9-422D-BA12-1B85B7B7EAA9 (AT) microsoft (DOT) com...
Quote:
Since a local system account doesn't allow backing up to another drive, I
made a new domain account so we could backup to a different drive than
where
SQL Server 2005 resides. What happened then was all the jobs created under
the other account would not run. Do we have to recreate the jobs to run
under
the new account or is there a way to repoint these jobs for running under
the
new account. Is it as simple as I need to add this account as sysadmin on
sql
server?
--
Regards,
Pat



Reply With Quote
  #6  
Old   
Russell Fields
 
Posts: n/a

Default Re: changing SQL Agent 'Logon as' to move backups off same drive,jobs - 04-21-2008 , 03:49 PM



Pat,

You should be able to simply update the owner of the jobs if you are a
sysadmin. (Or get a sysadmin to do the work for you, if you are not.) In
SSMS open the job and choose a new Owner. Or you could script a change to
the affected jobs to use.

EXEC sp_update_job @job_name = 'Job Name', @owner_login_name =
'Domain\Login'

An additional note, I always run my SQL Servers under a domain account, not
local system.

RLF

"Pat M - City of Reno" <PatMCityofReno (AT) discussions (DOT) microsoft.com> wrote in
message news:1503AEDC-23B9-422D-BA12-1B85B7B7EAA9 (AT) microsoft (DOT) com...
Quote:
Since a local system account doesn't allow backing up to another drive, I
made a new domain account so we could backup to a different drive than
where
SQL Server 2005 resides. What happened then was all the jobs created under
the other account would not run. Do we have to recreate the jobs to run
under
the new account or is there a way to repoint these jobs for running under
the
new account. Is it as simple as I need to add this account as sysadmin on
sql
server?
--
Regards,
Pat



Reply With Quote
  #7  
Old   
Russell Fields
 
Posts: n/a

Default Re: changing SQL Agent 'Logon as' to move backups off same drive,jobs - 04-21-2008 , 03:49 PM



Pat,

You should be able to simply update the owner of the jobs if you are a
sysadmin. (Or get a sysadmin to do the work for you, if you are not.) In
SSMS open the job and choose a new Owner. Or you could script a change to
the affected jobs to use.

EXEC sp_update_job @job_name = 'Job Name', @owner_login_name =
'Domain\Login'

An additional note, I always run my SQL Servers under a domain account, not
local system.

RLF

"Pat M - City of Reno" <PatMCityofReno (AT) discussions (DOT) microsoft.com> wrote in
message news:1503AEDC-23B9-422D-BA12-1B85B7B7EAA9 (AT) microsoft (DOT) com...
Quote:
Since a local system account doesn't allow backing up to another drive, I
made a new domain account so we could backup to a different drive than
where
SQL Server 2005 resides. What happened then was all the jobs created under
the other account would not run. Do we have to recreate the jobs to run
under
the new account or is there a way to repoint these jobs for running under
the
new account. Is it as simple as I need to add this account as sysadmin on
sql
server?
--
Regards,
Pat



Reply With Quote
  #8  
Old   
Russell Fields
 
Posts: n/a

Default Re: changing SQL Agent 'Logon as' to move backups off same drive,jobs - 04-21-2008 , 03:49 PM



Pat,

You should be able to simply update the owner of the jobs if you are a
sysadmin. (Or get a sysadmin to do the work for you, if you are not.) In
SSMS open the job and choose a new Owner. Or you could script a change to
the affected jobs to use.

EXEC sp_update_job @job_name = 'Job Name', @owner_login_name =
'Domain\Login'

An additional note, I always run my SQL Servers under a domain account, not
local system.

RLF

"Pat M - City of Reno" <PatMCityofReno (AT) discussions (DOT) microsoft.com> wrote in
message news:1503AEDC-23B9-422D-BA12-1B85B7B7EAA9 (AT) microsoft (DOT) com...
Quote:
Since a local system account doesn't allow backing up to another drive, I
made a new domain account so we could backup to a different drive than
where
SQL Server 2005 resides. What happened then was all the jobs created under
the other account would not run. Do we have to recreate the jobs to run
under
the new account or is there a way to repoint these jobs for running under
the
new account. Is it as simple as I need to add this account as sysadmin on
sql
server?
--
Regards,
Pat



Reply With Quote
  #9  
Old   
Russell Fields
 
Posts: n/a

Default Re: changing SQL Agent 'Logon as' to move backups off same drive,jobs - 04-21-2008 , 03:49 PM



Pat,

You should be able to simply update the owner of the jobs if you are a
sysadmin. (Or get a sysadmin to do the work for you, if you are not.) In
SSMS open the job and choose a new Owner. Or you could script a change to
the affected jobs to use.

EXEC sp_update_job @job_name = 'Job Name', @owner_login_name =
'Domain\Login'

An additional note, I always run my SQL Servers under a domain account, not
local system.

RLF

"Pat M - City of Reno" <PatMCityofReno (AT) discussions (DOT) microsoft.com> wrote in
message news:1503AEDC-23B9-422D-BA12-1B85B7B7EAA9 (AT) microsoft (DOT) com...
Quote:
Since a local system account doesn't allow backing up to another drive, I
made a new domain account so we could backup to a different drive than
where
SQL Server 2005 resides. What happened then was all the jobs created under
the other account would not run. Do we have to recreate the jobs to run
under
the new account or is there a way to repoint these jobs for running under
the
new account. Is it as simple as I need to add this account as sysadmin on
sql
server?
--
Regards,
Pat



Reply With Quote
  #10  
Old   
Pat M - City of Reno
 
Posts: n/a

Default Re: changing SQL Agent 'Logon as' to move backups off same drive,j - 04-22-2008 , 04:28 PM



thanks very much Russell, I am sysadmin so should be fine now.

--
Regards,
Pat


"Russell Fields" wrote:

Quote:
Pat,

You should be able to simply update the owner of the jobs if you are a
sysadmin. (Or get a sysadmin to do the work for you, if you are not.) In
SSMS open the job and choose a new Owner. Or you could script a change to
the affected jobs to use.

EXEC sp_update_job @job_name = 'Job Name', @owner_login_name =
'Domain\Login'

An additional note, I always run my SQL Servers under a domain account, not
local system.

RLF

"Pat M - City of Reno" <PatMCityofReno (AT) discussions (DOT) microsoft.com> wrote in
message news:1503AEDC-23B9-422D-BA12-1B85B7B7EAA9 (AT) microsoft (DOT) com...
Since a local system account doesn't allow backing up to another drive, I
made a new domain account so we could backup to a different drive than
where
SQL Server 2005 resides. What happened then was all the jobs created under
the other account would not run. Do we have to recreate the jobs to run
under
the new account or is there a way to repoint these jobs for running under
the
new account. Is it as simple as I need to add this account as sysadmin on
sql
server?
--
Regards,
Pat




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.