Solved

backup option for SQL Server 2005 database

Posted on 2008-10-02
4
256 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
4 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 25 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 25 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

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

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 this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

713 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