Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Express backup 2

Status
Not open for further replies.

pinkpanther56

Technical User
Jun 15, 2005
807
GB
Hi all

I've downloaded the SQL Server management studio and used it to backup my SQL Db, is there a way to schedule this feature to backup the Db before our tape backup runs?

Thanks.
 
SQL Server express doesn't support SQL Server agent job scheduling. You could put the backup command in a file and use sqlcmd and windows schedular to execute it.

- Paul
- Database performance looks fine, it must be the Network!
 
So it's not even possible with the management studio?

How do i use sqlcmd to perform a backup can you provide a link to some information?

Thanks.
 
you can manually run the command but you can't schedule the job. Use windows task schedular to execute a bat file that will backup you database.

- Paul
- Database performance looks fine, it must be the Network!
 
from a cmd prompt type this.
Code:
sqlcmd
<enter>
backup database master to disk = 'c:\program files\backup\master.bak'

You can create a bat file from this code that you can execute using windows task schedular.

- Paul
- Database performance looks fine, it must be the Network!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top