0

I need to backup SQL Server database.

Is it possible to do this automatically without human intervention at regular intervals? If so yes then please suggest me how to do it and I'm using SQL Server 2005 Express Edition.

skaffman
  • 398,947
  • 96
  • 818
  • 769
Fairy_G
  • 407
  • 3
  • 12
  • 23

3 Answers3

4

You'll need this:

http://www.codeplex.com/ExpressMaint

Then you can create a .cmd file to run it and schedule it using Scheduled Tasks. I can't give you an exact command line because your setup will be different from mine, but the docs are here:

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

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

Mark Bell
  • 28,985
  • 26
  • 118
  • 145
1

There's a walkthrough on backing up SQL Server Express here

stuartd
  • 70,509
  • 14
  • 132
  • 163
0

in sql 2005 scripts templates you will find backup script

from your code run this script in the time you want to backup your database

thats it i guess

amr osama
  • 1,129
  • 2
  • 18
  • 34