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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sql syntax for making a backup to a file

Status
Not open for further replies.

michelleqw

Programmer
Jan 4, 2004
120
DE
Dear sql server users,

Is the any sql syntax for making a backup to a file.

For example: backup tbl_backup to "c:\mybackup"

If yes, can someone give the syntax?

Michelle.
 
Is there a reason why you don't do this via the SQL EManager - 'Management' / 'Jobs' section.

This is how we create a .BAK file of all our databases.
 
Michelle, look up the BACKUP command in BOL. There is plenty of information and syntax in there.

--James
 
Also, look in the FAQ section for this Forum.

-SQLBill

Posting advice: FAQ481-4875
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top