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!

how to backup sql server 2005 express database

Status
Not open for further replies.

Kurt111780

Technical User
Nov 20, 2003
235
GB
Hello,

I'm new to SQL Server and I want an easy way to backup the database daily.

I used SQL Server Management Studio Express and created a database.bak file.

Do I have to do this everyday I want it backed up?

Thanks,
Kurt

It's only easy when you know how.
 
Backups should be schedulable in SQL Express. You could either create a new scheduled job with a T-SQL script to backup the database (the syntax, I believe, remains the same as the Backup syntax for SQL 2000) or you could create a new DB Maintenance Plan under Management -> Maintenance Plans.

Jobs are located under SQL Server Agent.

Hope that helps.



Catadmin - MCDBA, MCSA
"The only stupid question is the one that *wasn't* asked.
 
All I have under Management are Sql Server logs and Activity Monitor. I've never used sql 2000. I wish they would make this easier. I don't really want to make a script.

Kurt

It's only easy when you know how.
 
Unfortunately SQL Express is only meant to be a desktop version of SQL. It doesn't have the functionality of Standard or Enterprise edition.

Do you have access to the SQL Server Agent menu option? It's not under Management.



Catadmin - MCDBA, MCSA
"The only stupid question is the one that *wasn't* asked.
 
You could back up the data file & the log file, but that's not quite the same thing as making a true backup file for SQL.

I read somewhere that the new SQL Scripter includes the ability to have Backup utilities that backup Windows actually backup SQL. Does anyone know if Express includes that capability?

Oh, if you have Visual Studio installed, you could write a SQL Management Object that backs up your database. Do you have this? If so, I can give you the code we learned in a SQL 2k5 class for creating the button. It's not scheduled, but at least, it'll only be the click of a button.



Catadmin - MCDBA, MCSA
"The only stupid question is the one that *wasn't* asked.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top