Connecting Tech Pros Worldwide Help | Site Map

Database backup using Scheduled Tasks

  #1  
Old November 18th, 2008, 01:55 PM
Magnus.Moraberg@gmail.com
Guest
 
Posts: n/a
Hi,

I'm working on a Windows 2000 machine which hosts a SQL 2005 Express
Database.

This database is backed up using the following method -

http://www.sqldbatips.com/showarticle.asp?ID=27

As part of this method, I have a Task which is scheduled to run once a
day. All words fine until I need to change my password. When I am
prompted to change my password every month or so, I need to go back
into the Scheduler and update my password there also. Otherwise my
backup process will fail. How can I solve this problem?

Another problem is that I will be soon handing the database over to
another employee at the company who will then be in charge of
maintaining it. Therefore I will have to configure the Scheduler to
run from his account. I'm sure there's a better approach...

Thanks for your help,

Barry.
  #2  
Old November 18th, 2008, 07:55 PM
Erland Sommarskog
Guest
 
Posts: n/a

re: Database backup using Scheduled Tasks


(Magnus.Moraberg@gmail.com) writes:
Quote:
As part of this method, I have a Task which is scheduled to run once a
day. All words fine until I need to change my password. When I am
prompted to change my password every month or so, I need to go back
into the Scheduler and update my password there also. Otherwise my
backup process will fail. How can I solve this problem?
Can't you create new user that you specify as the owner of this job?

--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx

  #3  
Old November 19th, 2008, 04:15 PM
patrick61z@yahoo.com
Guest
 
Posts: n/a

re: Database backup using Scheduled Tasks


On Nov 18, 2:27 pm, Erland Sommarskog <esq...@sommarskog.sewrote:
Quote:
(Magnus.Morab...@gmail.com) writes:
Quote:
As part of this method, I have a Task which is scheduled to run once a
day. All words fine until I need to change my password. When I am
prompted to change my password every month or so, I need to go back
into the Scheduler and update my password there also. Otherwise my
backup process will fail. How can I solve this problem?
>
Can't you create new user that you specify as the owner of this job?
>
Hah! I tried that at work, and the admins force password policy on the
new account as well. Still, that would be my vote too.
  #4  
Old November 19th, 2008, 05:05 PM
Greg D. Moore \(Strider\)
Guest
 
Posts: n/a

re: Database backup using Scheduled Tasks


<patrick61z@yahoo.comwrote in message
news:15d3bec5-4cee-432d-9b7e-3898cd2b8864@d36g2000prf.googlegroups.com...
Quote:
On Nov 18, 2:27 pm, Erland Sommarskog <esq...@sommarskog.sewrote:
Quote:
> (Magnus.Morab...@gmail.com) writes:
Quote:
As part of this method, I have a Task which is scheduled to run once a
day. All words fine until I need to change my password. When I am
prompted to change my password every month or so, I need to go back
into the Scheduler and update my password there also. Otherwise my
backup process will fail. How can I solve this problem?
>>
>Can't you create new user that you specify as the owner of this job?
>>
>
Hah! I tried that at work, and the admins force password policy on the
new account as well. Still, that would be my vote too.
Bah... admins who force password changes every month, especially for
accounts like that, deserve to be shot.

There's far better ways to enforce security than forcing people to come up
with a new password every 30 days that they're going to end up writing down
in most cases or making non-secure.

Month_1: El3phant
Month_2: El3phant1
Month_3: El3phant2
Month_4: El3phant4
Month_5: Oh good, can go back to El3phant again.



--
Greg Moore
Ask me about lily, an RPI based CMC.


  #5  
Old November 20th, 2008, 07:25 AM
Erland Sommarskog
Guest
 
Posts: n/a

re: Database backup using Scheduled Tasks


(patrick61z@yahoo.com) writes:
Quote:
Hah! I tried that at work, and the admins force password policy on the
new account as well. Still, that would be my vote too.
Hm, can't you make a local machine account? That should not be subject
to group policy.

But if you need a service account that has to be a domain account, why
don't you talk to your admin folks?

--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting external web application with internal database Big Charles answers 3 October 29th, 2006 09:55 AM
Places to schedule database backup in DB2 UDB V7 gjiang_usenet@yahoo.com answers 1 March 21st, 2006 06:25 AM
Backup database access AquilaV@inwind.it answers 1 November 13th, 2005 04:09 PM
Scheduled backup silently fails Iain Hosking answers 6 July 20th, 2005 03:46 AM