Solved

Online backup of SQL 2005 Express database?

Posted on 2008-06-12
5
583 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 125 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
MS SQL - Output to columns equally. 5 45
SQL Server agent & maintenance task issue ? 8 55
sql help 5 49
Restrict result set 1 0
If you having speed problem in loading SQL Server Management Studio, try to uncheck these options in your internet browser (IE -> Internet Options / Advanced / Security):    . Check for publisher's certificate revocation    . Check for server ce…
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.
This video discusses moving either the default database or any database to a new volume.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now