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


In which file is the transaction was backed up


In which file is the transaction was backed up

Author
Message
Gil_Adi
Gil_Adi
SSC-Addicted
SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)

Group: General Forum Members
Points: 431 Visits: 130
First let me apologize if this is not the correct palace for this topic but it is strongly connected.

when we perform a full database backup the engine marks the place in the database from where all new transaction should be kept in the next transaction log packup.

what is not cleared to me is where is the transaction that started before the full backup started and ends
1. during the full backup ?
2. after the full backup completed ?
3. after a few transaction logs where also backed up after the full backup completed

Backed up in which backup file will I find it ?


for the connivance of the discussion lets say that a full backup takes place once a day and takes about 30 minutes.
Transaction log backup takes palce every 10 minute

The discussed transaction time is about 50 minutes.



GilaMonster
GilaMonster
SSC Guru
SSC Guru (220K reputation)SSC Guru (220K reputation)SSC Guru (220K reputation)SSC Guru (220K reputation)SSC Guru (220K reputation)SSC Guru (220K reputation)SSC Guru (220K reputation)SSC Guru (220K reputation)

Group: General Forum Members
Points: 220021 Visits: 46279
1) Included with the database backup and the all log backups that occur while it's running
2) Included with the database backup and the all log backups that occur while it's running
3) Included with the database backup and the all log backups that occur while it's running

Full backups do not have any effect on the log backups that occur. The full backup backs up enough of the transaction log so that it can be restored consistently.

A full backup does not mark where the next log backup should start from, a log backup always backs up from where the previous log backup finished up to current.

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


Gil_Adi
Gil_Adi
SSC-Addicted
SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)

Group: General Forum Members
Points: 431 Visits: 130
Thanks

My Conclusion from you answer is that if I don't have to keep the transaction log backups that occurred since the transaction stared and prior to the full database backup, in order to be able to restore the database to a point in time if it fails after the backup was done and the transaction finished (all three cases ).

Is my conclusion correct?



GilaMonster
GilaMonster
SSC Guru
SSC Guru (220K reputation)SSC Guru (220K reputation)SSC Guru (220K reputation)SSC Guru (220K reputation)SSC Guru (220K reputation)SSC Guru (220K reputation)SSC Guru (220K reputation)SSC Guru (220K reputation)

Group: General Forum Members
Points: 220021 Visits: 46279
Mostly.

You can restore the full, then any log backups. However, what happens if that full is damaged and won't restore? If you've deleted the log backups prior to it, then you won't have the option of restoring a previous full backup and rolling the logs forward.

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


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