Solved

backup option for SQL Server 2005 database

Posted on 2008-10-02
4
252 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

861 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