In computing, a mirror is a server that provides an exact copy of data from another server. This may be one or more files, a database, a website, or an entire server.

Mirroring is designed to provide fault tolerance, or a means of redundancy in case something goes wrong with the primary or "principal" server. If principal server unexpectedly goes offline, for example, the mirror server can take over. This process may be performed automatically, but it requires a third system, called a "witness" server. This machine monitors both servers and transfers all traffic to the mirror if an outage is detected with the principal server.

Server mirroring can also be used for planned maintenance, such as upgrading a server or running software updates that require services to be stopped or restarted. In these instances, a server admin can manually set the mirror as the principal server to avoid downtime. Some mirroring setups allow "role switching," in which the principal and mirror servers can be swapped at any time.

Another type of mirroring – FTP mirroring – simply provides one or more files from multiple servers. For example, a download page may list several "mirror" URLs, which all offer the same file. The mirrors are typically listed by geographical location, so you can select the one closest to you. While FTP mirrors still exist, they have faded in popularity as automatic location detection and content delivery networks have automated this process.

Updated August 17, 2017 by Per C.

quizTest Your Knowledge

Which of the following describes Single Sign-On (SSO) authentication?

Signing into multiple systems with one set of credentials
Using a temporary set of credentials that are only valid once
Allowing only one user access to a system at a time
Using a guest account whose information is deleted after signing out
Correct! Incorrect!     View the SSO definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Mirror on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.