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

x
?
Solved

SQL Logs backup

Posted on 2014-11-21
5
Medium Priority
?
425 Views
Last Modified: 2014-11-24
Hi Experts,

I need some recommendation for SQL backup.
Now I make the backup with Symantec BackupExec and the Agents.
This works well.
Regarding the LOG Backup I have some questions.
I have an incremental Backup and a differential backup of it.
But do I really need a differential backup of the LOGS ? Because each two hours I take a incremental backup.
The FULL backup is every day in the evening.
0
Comment
Question by:Eprs_Admin
5 Comments
 
LVL 25

Assisted Solution

by:Lee Savidge
Lee Savidge earned 500 total points
ID: 40457006
I wouldn't do a diff backup if you're doing an incremental every couple of hours.
0
 
LVL 52

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 500 total points
ID: 40457010
I think you are confusing terms.
I have an incremental Backup and a differential backup of it.
There's no such thing as Incremental Backup in SQL Server. Differential Backups are backups of all pages changed since last Full Backup.

But do I really need a differential backup of the LOGS ? Because each two hours I take a incremental backup.
There's no such thing as Differential Backup of the Logs. Differential Backups are from Full Backup. Also in SQL Server don't exists Incremental Backup. I think you want to say Transaction Log Backups, right?
0
 
LVL 70

Assisted Solution

by:Scott Pletcher
Scott Pletcher earned 500 total points
ID: 40457787
>> But do I really need a differential backup of the LOGS ? Because each two hours I take a incremental backup. <<

It's virtually always the other way around: you don't need the differential backup that often, you need log backups instead.

A differential backup gets you back to that specific point in time only.  
Log backups can be used to recover to any point in time.

Differential backups can be useful if you have to make very frequent log backups -- say every 15 or 30 minutes.  Then you might take a differential ~12 hours after your last full backup.  That way, if you need to recover to a time 13 hrs after your full backup, you can apply the differential instead of restoring 180 to 360 log files to recover for the first 12 hours, then use logs as normal to get the last hour.
0
 
LVL 23

Accepted Solution

by:
Racim BOUDJAKDJI earned 500 total points
ID: 40459923
In addition to above comments, an example of frequency to help you...

In any case (SIMPLE RECOVERY MODE):
> 1 full backup per week (Ex: Saturday)
> 1 differential backup 6 days per week (Ex: All days but Saturday)

In case of strong log growth OR requirement of point in time recovery.  (FULL RECOVERY MODE)
> 1 log backup every 5 to 10 minutes all day, after FULL or DIFFERENTIAL backups, up to time before the next differential or full backup starts.

Tip: On later versions of SQL please make sure to use compressed backups (or alternatively backup on compressed drives) for faster recovery time.

Hope this helps.
0
 

Author Comment

by:Eprs_Admin
ID: 40461578
ok, now I understand.
Of course in SYMANTEC you can have incremental and differential backup jobs of the DB.
I have set up one FULL per day and each 4 hours one DIFF.
But this is not neded more I think.
The LOGs I backup each 2 hours.

This is enaough for us.
 Thanks.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

916 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