Quantcast
Channel: SQL Server Data Access forum
Viewing all articles
Browse latest Browse all 4164

Unable to Restore Data From Transaction Log Backup

$
0
0

Hi All,

I am new to SQL DBA.

I have tried with following scenario with SSMS.

I have database 'db1' and table 'tb1'. Table tb1 contains 6 records and taken full backup at 01:00 AM.

Added 3 more records (Total 9 records) to 'tb1' table at 01:02 AM and taken Transaction Log backup.

Updated Number column to '0' in 'tb1' table at 01:05 AM

Now I need to restore the database before 01:04 AM. So I get the 9 records and Number column data(Non Zero).

Restored the full database with "Overwrite the existing  Database (WITH REPLACE)" and "Leave the database non-operational ..." options.

Restored the transaction Log backup with "Overwrite the existing  Database (WITH REPLACE)" and "Leave the database ready to use" options.

After this I have checked the data in 'tb1', I get the data from full backup, not from the Transaction Log backup.

Do I miss anything?

Please help me.

SQL 2008 R2 SP3

Thanks,

Ramaraju


Viewing all articles
Browse latest Browse all 4164


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>