SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 differential and transaction backup
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

heliang
Starting Member

18 Posts

Posted - 06/13/2012 :  10:19:10  Show Profile  Reply with Quote
I have a database and can afford to loose max one hour data.I am trying to figure out if there is a difference in following two setups from backup and recovery stand point.

1. DB with simple recovery model, setup full backup at 12 am and differential backup every 1 hour between 6am to 11pm. this will keep transaction log not grow too big.

2. DB with full recovery model, setup full backup at 12 am and transactional backup every 1 hour between 6am to 11pm

Thanks!

Edited by - heliang on 06/13/2012 10:21:42

robvolk
Most Valuable Yak

USA
15559 Posts

Posted - 06/13/2012 :  10:32:06  Show Profile  Visit robvolk's Homepage  Reply with Quote
#2 is the better option. Frequent log backups will reduce the log file growth. You're better off backing up the log at 15 minute intervals, or even more frequently. This reduces your data loss window.
Go to Top of Page

nigelrivett
Flowing Fount of Yak Knowledge

United Kingdom
3328 Posts

Posted - 06/13/2012 :  11:23:41  Show Profile  Visit nigelrivett's Homepage  Reply with Quote
Also gives the possibility to recover the tail after a crash - more importantly allows a recovery across a missing full backup (if you have the previous logs and full.

The diffs also often have problems that they get bigger up to the next full - if a lot of data is updated after the full backup they can be similar to doing a full backup every hour.

==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

heliang
Starting Member

18 Posts

Posted - 06/13/2012 :  15:30:06  Show Profile  Reply with Quote
Thanks for the reply. Just from backup and recovery stand point, both setup will do the same, right?
Go to Top of Page

tkizer
Almighty SQL Goddess

USA
35007 Posts

Posted - 06/13/2012 :  15:46:19  Show Profile  Visit tkizer's Homepage  Reply with Quote
quote:
Originally posted by heliang

Thanks for the reply. Just from backup and recovery stand point, both setup will do the same, right?



No as diffs don't give you point-in-time recovery, only tlog backups give that. Plus you're going to have a lot more storage needs with hourly diffs. Do diffs maybe 12 hours after the full backup or daily diffs and weekly fulls.

Here's our setup:
1. Nightly full backup at 2am
2. Diff at 2pm
3. Tlog backups every 15 minutes



Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

vivekinmadar
Starting Member

India
3 Posts

Posted - 07/02/2012 :  09:57:55  Show Profile  Reply with Quote

HI Heliang

Please proceed with second method because Tlog backup is used to point in restore for Full Recovery model to database .This Tlog back will take the more storage but keep the Tlog within the minimum interval as per your requirement.


Regards
vivek
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000