Perform a Partial Restore From a Range of Incremental Backups
Partially restore the STA database from a range of incremental backups. This restores the database from the last full dump and then applies just the incremental backups that fall within the start and end points specified.
How to Determine Which Incremental Backups to Restore
Incremental backups (binary logs) are labeled with unique sequential numbers. Therefore, if you identify a corrupt entry you can restore all logs before the erroneous entry.
Log positions are labeled in the binary log as log_pos
followed by a unique number. For example, after examining the contents of a binary log, you discover that an erroneous operation resulted in dropping several tables immediately following log entry #6817916. Therefore, you want to restore the database only up to the last good entry (#6817916), excluding the erroneous operation and all that follow.
You would want to restore the database from the full dump done the day before, and then replay the most recent binary log from its initial log entry number "176" through entry number "6817916".