Solved

Online backup of SQL 2005 Express database?

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PERFORMANCE OF SQL QUERY 13 75
Help with SQL joins 9 54
Inserting a column in a table that creates an ID and row number 4 64
Loops and updating in SQL Query 9 52
by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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