Solved

SQL - Full, Simple, Transaction Logs

Posted on 2010-11-12
2
309 Views
Last Modified: 2012-05-10
I've been doing some research on SQL and have already asked some SQL related questions in this forum.  The more research I do seems to lead to more questions.

Let's say your db is in full recovery mode and you take daily full backups.  I understand ideally you take transaction log backups once per hour (depending on your environment).  For arguments sake, what if you backup the transaction log once a day.  Then, for restore purposes, could you only go back to the full backup and the last backup of your Tlog?
0
Comment
Question by:Kram80
2 Comments
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 63 total points
ID: 34123176
you can restore the full backup, and then apply as much of that transaction log backup as you wish.

the only issue is that you will only have that single transaction log backup, so basically, you risk to loose ALL the changes done since the full backup until the transaction log backup is done.
however, if you have a " disaster ", you might not have the chance to do another t-log backup ... and there goes a full day of work.
0
 
LVL 15

Assisted Solution

by:JimFive
JimFive earned 62 total points
ID: 34124687
There are two issues.

The first, mentioned by angelIII is that of data recovery.  The other issue is that, in Full recover mode,  the transaction log continues to grow until it is backed up.  In a busy database the log file can get very large in one day.
--
JimFive
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Changing the datatype of a column from nvarchar to date 47 20
TOOLS - convert T-SQL TO PL/SQL 3 27
SSRS 2013 - Overlapping reports 2 22
Text file into sql server 5 28
Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

823 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