A set of servers takes advantage of the existing data redundancy of a
mirrored database to restore page corruptions. The page restore may occur
with none of the time and/or administration costs of a restore from
backup media and without the data loss associated with repair. Online
page restore from a database mirror can be initiated and performed by the
computer system automatically upon corruption detection. An entire file
or database instead of an individual page or set(s) of pages can be
restored. The mechanism can be used both to restore corrupt pages on the
principal server from a mirror, or corrupt pages on a mirror from the
principal server. Online page restore from a database mirror enables page
data recovery without the need to find/load/scan through and apply data
and log backups, allowing efficient and potentially automatic data
recovery.