Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Online backup of SQL 2005 Express database?

Posted on 2008-06-12
5
Medium Priority
?
596 Views
Last Modified: 2012-05-05
Do you need to shutdown the database prior to using the 'SQL Server Management Studio Express' to backup a SQL 2005 Express database?  I would like to run a backup while in 'production' (database online) but am hesitant if there are any issues...   If no need to shutdown database, will this simpe process create a fully recoverable database?

Thanks for any insight!
0
Comment
Question by:davis
  • 2
  • 2
5 Comments
 
LVL 60

Accepted Solution

by:
chapmandew earned 500 total points
ID: 21771440
No, just run the backup as normal...

backup database dbname to disk = 'c:\backupfile.bak'

All db backups are "online"
0
 
LVL 1

Author Comment

by:davis
ID: 21771800
Thanks for the feedback.  One other question - is it necessary to also backup other 'built-in' databases, such as the 'master' or 'model' in order to have a fully recoverable PRIMARY database?
0
 
LVL 60

Expert Comment

by:chapmandew
ID: 21771813
YES...for sure make full backups of master and msdb....model and tempdb are not really necessary IMO, but the first two are musts.  Just make full backups of them every night or so.
0
 
LVL 1

Author Closing Comment

by:davis
ID: 31466612
Great, thank you for the assistance!
0
 

Expert Comment

by:jornlux
ID: 22447136
Regarding potential 'in-production-risks' - does this apply to SQL Server 2000 aswell ?
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Screencast - Getting to Know the Pipeline

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question