Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SQL - Full, Simple, Transaction Logs

Posted on 2010-11-12
2
Medium Priority
?
316 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 143

Accepted Solution

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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
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…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

963 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