SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Backup and transaction log


Backup and transaction log

Author
Message
ChiragNS
ChiragNS
SSCertifiable
SSCertifiable (6.6K reputation)SSCertifiable (6.6K reputation)SSCertifiable (6.6K reputation)SSCertifiable (6.6K reputation)SSCertifiable (6.6K reputation)SSCertifiable (6.6K reputation)SSCertifiable (6.6K reputation)SSCertifiable (6.6K reputation)

Group: General Forum Members
Points: 6621 Visits: 1865
Gianluca Sartori (5/8/2009)

I don't like differential backups, because I don't want to restore thousands of backups when I need to get back.

Hope this helps
Gianluca


If you have a backup strategy involving full,diff,tlog backups wont the differential backup help to restore lesser number of log backups.

"Keep Trying"
Ryan007
Ryan007
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2820 Visits: 1595
Hi,
What does differential backup capture? I mean does it take the changes from last full backup/last differential backup. So for taking differential backup is it necessary to append each time with the existing one instead of overwriting?

Ryan
//All our dreams can come true, if we have the courage to pursue them//
DKG-967908
DKG-967908
Mr or Mrs. 500
Mr or Mrs. 500 (559 reputation)Mr or Mrs. 500 (559 reputation)Mr or Mrs. 500 (559 reputation)Mr or Mrs. 500 (559 reputation)Mr or Mrs. 500 (559 reputation)Mr or Mrs. 500 (559 reputation)Mr or Mrs. 500 (559 reputation)Mr or Mrs. 500 (559 reputation)

Group: General Forum Members
Points: 559 Visits: 239
Agree with Chirag, the differential backup helps to restore lesser number of log backups. On few of our servers where the backup size is big and we have disk crunch also. We take weekly full backup, nightly diff backup and hourly log backup. So diff backup has its own importance. It captures the changes from last backup. In case of recovery we need to restore full backup, last diff backup and tran log backups(after the diff backup) for the point recovery.
Gianluca Sartori
Gianluca Sartori
SSC-Insane
SSC-Insane (23K reputation)SSC-Insane (23K reputation)SSC-Insane (23K reputation)SSC-Insane (23K reputation)SSC-Insane (23K reputation)SSC-Insane (23K reputation)SSC-Insane (23K reputation)SSC-Insane (23K reputation)

Group: General Forum Members
Points: 23757 Visits: 13362
It depends on your DB size. We have small databases (under 100 Gb) and we prefer nightly full backups to keep it simple and reliable. We use Tivoli Data Protection for SQL Server and restoring from full + log is a one-click operation, so I don't mind restoring tlogs.

--Gianluca Sartori

How to post T-SQL questions
spaghettidba.com
@spaghettidba
Ryan007
Ryan007
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2820 Visits: 1595
Hi,
I am taking full backup everyday 23:00 and overwriting it with the existing one. Transaction log every one hour and appending it every hour to get to get all the logs. So transaction log is getting increased. Is it good to delete the whole tranlog after the full backup and creating new one every day? What is the best way to do?

Ryan
//All our dreams can come true, if we have the courage to pursue them//
DKG-967908
DKG-967908
Mr or Mrs. 500
Mr or Mrs. 500 (559 reputation)Mr or Mrs. 500 (559 reputation)Mr or Mrs. 500 (559 reputation)Mr or Mrs. 500 (559 reputation)Mr or Mrs. 500 (559 reputation)Mr or Mrs. 500 (559 reputation)Mr or Mrs. 500 (559 reputation)Mr or Mrs. 500 (559 reputation)

Group: General Forum Members
Points: 559 Visits: 239
Well, it all depends on business requirement. But I would not suggest to erase the previous backups. keep them to some other disks OR on tape (if possible) you never know when you need to restore few days older backup may be till some time(in case of corruption or uses deleted something etc.)
GilaMonster
GilaMonster
SSC Guru
SSC Guru (222K reputation)SSC Guru (222K reputation)SSC Guru (222K reputation)SSC Guru (222K reputation)SSC Guru (222K reputation)SSC Guru (222K reputation)SSC Guru (222K reputation)SSC Guru (222K reputation)

Group: General Forum Members
Points: 222295 Visits: 46286
sumanta.roy52 (5/8/2009)
Hi,
What does differential backup capture? I mean does it take the changes from last full backup/last differential backup.


Last full backup. So if you have a full on Sunday, a diff on Monday, Tuesday and Wednesday, to restore to Thursday morning you need the sunday full, just the Wednesday diff and then the log backups from there aon.

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


GilaMonster
GilaMonster
SSC Guru
SSC Guru (222K reputation)SSC Guru (222K reputation)SSC Guru (222K reputation)SSC Guru (222K reputation)SSC Guru (222K reputation)SSC Guru (222K reputation)SSC Guru (222K reputation)SSC Guru (222K reputation)

Group: General Forum Members
Points: 222295 Visits: 46286
sumanta.roy52 (5/8/2009)
Hi,
I am taking full backup everyday 23:00 and overwriting it with the existing one. Transaction log every one hour and appending it every hour to get to get all the logs. So transaction log is getting increased. Is it good to delete the whole tranlog after the full backup and creating new one every day?


What happens if you have only one full backup, you go to restore it and find that it's corrupt?
Are those older backups going to tape, or just been overwritten.

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


ankur_libra
ankur_libra
Ten Centuries
Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)

Group: General Forum Members
Points: 1421 Visits: 1465
Hi,

It's better to take the System Databases backup regularly ( it can be on daily basis or weekly), as it helps a lot in case of any disaster scenario.:-P
Ryan007
Ryan007
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2820 Visits: 1595
Hi all,
Thanks to all of you...
While taking differential backup, do we need to append it every time or we can overwrite everytime?

Ryan
//All our dreams can come true, if we have the courage to pursue them//
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search