Advertisement

07.18.2008 at 08:28PM PDT, ID: 23578686
[x]
Attachment Details

Automated backup for SQL 2005 Express?  Without showing password.

Asked by bmsjeff in SQL Server 2005

Tags: Microsoft, sql 2005 express

I need an automated backup for SQL 2005 Express.  
I used studio manager to create the backup script.
I am currently using task manager to run the script.
How can I run it without showing the username and password?

Here is what I know:
C:\Program Files\Microsoft SQL Server\90\Tools\Binn\SQLCMD.EXE -S [SERVER] -U bakupadmin -P [PASSWORD] -i D:\backup\sql\SQLExpressBackups.sql

Is there a better way?Start Free Trial
[+][-]07.18.2008 at 08:51PM PDT, ID: 22041273

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 09:02AM PDT, ID: 22051739

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 11:08AM PDT, ID: 22052907

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: SQL Server 2005
Tags: Microsoft, sql 2005 express
Sign Up Now!
Solution Provided By: acperkins
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628