Solved

SQL Backup

Posted on 2009-03-31
2
351 Views
Last Modified: 2012-05-06
I 'm currently in the midst of establishing a backup procedure for my SQL 2005 databases. I'm scheduling a maintenance plan that occurs nightly. The backups will then be written to tape via my backup software. My question is, should the transaction log first be backed up followed by the full database backup? Or, should the full database backup take place followed by the transaction log backup.

Thanks!

scheduling nightly backups to take place from SQL maintenance. Then these backups will be written to tape by my backup software.
Thanks!
0
Comment
Question by:Danstr1
[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
2 Comments
 
LVL 60

Accepted Solution

by:
chapmandew earned 125 total points
ID: 24031920
the transaction log should always be after the full backup...otherwise the trans log backup won't do you any good.
0
 
LVL 57

Assisted Solution

by:Raja Jegan R
Raja Jegan R earned 125 total points
ID: 24031942
If you take a Full Backup, then there is no need to perform Transaction log backup at all. Full Backup truncates all inactive transaction logs in LDF files.

Ideal procedure for doing backup is:

1. Full Backup at periodic intervals -- Say once per week
2. Differential Backup between Full Backups -- Say once per day.
3. Transaction Log Backup between Differential Backup - Say 4 or 6 times per day.

Time lines provided above is an example and varies depending upon your requirement.

Hope I explained you to solve your issue.
0

Featured Post

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Suggested Solutions

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…
INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

732 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