Site icon Franky's Web

Exchange 2016: A few words about the backup

Recently, I have been confronted with problems and opinions on the subject of backup and Exchange Server. This is certainly a topic that can be argued about, so I have collected a few statements on the subject of backup:

I will leave these statements as they are for now, even if I have my problems with some of them. First of all, the facts about backup and Exchange Server.

Supported backup technology

Exchange 2016 only supports "Exchange-aware", VSS (Volume Shadow Copy Service) based backups. "Exchange-aware" specifically means that the backup tool used must use the Exchange VSS Writer to back up and restore Exchange databases. Exchange 2016 installs a VSS Writer with the name "Exchange Writer" for this purpose:

Backup programs that want to back up Exchange Server must therefore address the "Microsoft Exchange Writer" if a backup is to be carried out.

Exchange 2016 (already valid from Exchange 2013) has a significant change compared to the VSS writer architecture used in Exchange 2010. Exchange 2010 contained two VSS Writers: one in the Microsoft Exchange Information Storage Service (store.exe) and one in the Microsoft Exchange Replication Service (msexchangerepl.exe). The functions of the two VSS Writers were combined into one Writer in Exchange 2016: Microsoft Exchange Writer. This Writer can now be used to back up and restore active and passive databases.

Although the new Writer runs under the "Microsoft Exchange Replication" service, it still requires the "Microsoft Exchange Information Store" service, so both Exchange services are required for a backup application to be able to back up and restore Exchange databases.

The Exchange Writer supports the following backup types:

Backup type: Description:
Full Backup Backs up the database (.edb), transaction logs (.log) and checkpoint files (.chk). The transaction logs (.log) of the database are truncated and deleted.
Copy Backup Backs up the database (.edb), transaction logs (.log) and checkpoint files (.chk). The transaction logs (.log) of the database are not deleted and are retained.
Incremental backup Backs up only the transaction logs (.log) since the last incremental or full backup. The transaction logs (.log) of the database are truncated and deleted.
Differential backup Backs up only the transaction logs (.log) since the last incremental or full backup. The transaction logs (.log) of the database are not deleted and are retained.

Exchange Writer backup process

The following diagram shows how a backup is carried out with the VSS Writer:

A backup is essentially carried out on the basis of the following points:

  1. The backup program (or an agent) starts the backup process
  2. The VSS requester of the backup program sends the command to create a VSS snapshot of the respective Exchange database
  3. VSS communicates with the Exchange Writer to prepare a snapshot. Exchange 2016 prohibits administrative actions for the database, checks all volume dependencies and interrupts all write operations for the selected instance of the database and transaction logs. During the creation of the snapshot, only read access is permitted.
  4. VSS communicates with the relevant storage providers to create a snapshot of the volumes containing the selected Exchange database.
  5. After the snapshot has been created, VSS Exchange informs you that normal operation can continue, write operations and administrative actions can be carried out again.
  6. The backup program now backs up the data from the snapshot
  7. The VSS requester of the backup program verifies the consistency of the backup and reports a successful backup. Exchange deletes the transaction logs after a successful backup and records the time of the backup for the database. If the database is part of a DAG, the log shortening is replicated among all copies; servers that hold a copy of the database also delete the transaction logs.
  8. Do I need a backup now?

To come back to the statements mentioned at the beginning: Do I need a backup at all?

Nobody needs a fuse,...

... because in the event of a disaster, the only thing that matters is recovery.

I would like to refer to the collected statements:

Whether and how Exchange is secured depends on the company's requirements. There are a few points that should be considered here:

Whether and how Exchange is secured depends more on how important the system is for the company. If an Exchange failure can disrupt important business processes in the company, you should have the best possible protection against it.

In the K case, it is usually important to get the system up and running as quickly as possible (definition issue) with the most up-to-date data (definition issue). Will a backup from 2007 still help me?

And yes, you can get by without a backup, but then you should have at least two data centers that are sufficiently far apart. Sufficient distance is again a matter of definition, just think of a flood.

Exit mobile version