Solved

SQL - Full, Simple, Transaction Logs

Posted on 2010-11-12
2
312 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
[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 143

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

752 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