?
Solved

backup option for SQL Server 2005 database

Posted on 2008-10-02
4
Medium Priority
?
276 Views
Last Modified: 2012-05-05
What tools and/or means are available to backup a live database files (mdf and ldf file)?
0
Comment
Question by:nkhimani
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 100 total points
ID: 22623140
you should not try to backup the "live" .mdf/ldf files directly.
instead, use the BACKUP DATABASE and BACKUP LOG   t-sql statements to backup the database up to a dump file:


#How to: Create a Full Database Backup (Transact-SQL)
msdn.microsoft.com/en-us/library/ms191304.aspx

# BACKUP (Transact-SQL)
msdn.microsoft.com/en-us/library/ms186865.aspx

0
 
LVL 5

Assisted Solution

by:si_shamil
si_shamil earned 100 total points
ID: 22623463
Here is a good how-to of backing up SQL database using SQL 2005 designer

http://www.sql-server-performance.com/articles/dba/creating_backup_jobs_p1.aspx
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Suggested Courses

764 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