Veeam Backup & Replication Best Practice Guide
Encryption
Overview
Encryption protects backup data against unauthorized access and exfiltration. It is not a replacement for immutability: an attacker cannot read encrypted backups, but can still delete them unless they are also immutable. Design both.
Veeam Backup & Replication encrypts data at three levels. This page helps you decide what to use where. The detail pages and the Help Center explain how each level works.
| Level | What it protects | Details |
|---|---|---|
| At rest – job-level or storage-level | Backup files on disk, object storage, cloud and tape | Job encryption, Backup repository encryption, Tape job encryption |
| In transit | Data moving between Veeam components | Network transport encryption |
| Configuration | Credentials and keys in the configuration database and in configuration backups | this page |
Where to encrypt at rest
- Always encrypt every copy that leaves your security domain. This includes offsite and cloud copies, Veeam Data Cloud Vault, service provider repositories and tape that is shipped out.
- Encrypt on-site backups too, where the target allows it. Block cloning on ReFS and XFS works with Veeam encryption, so on standard repositories and hardened repositories you keep the space savings and gain confidentiality.
- Deduplication appliances are the exception. Encrypted data does not deduplicate. Use the appliance’s own encryption and encrypt the copy that goes elsewhere. See Deduplication appliances.
-
Do not forget Veeam Agents and database plug-ins. They are configured outside the regular VM backup jobs, so they are easily missed in an encryption policy.
- Check agent backup jobs and policies (managed by backup server and managed by agent), and also standalone agents.
- Since v13, all enterprise application plug-ins can also encrypt at the source.
- Not every agent or plug-in mode supports every key management model, KMS in particular. See KMS keys when you choose the model below.
Choosing how keys are managed
The real risk with encryption is not the algorithm, it is losing the key. Pick the key management model first:
| Model | When to use it | What to watch |
|---|---|---|
| Password | Smaller environments without a KMS | Strong passwords, stored outside the backup infrastructure, changed regularly. Use password age tracking. |
| KMS (KMIP) | Organizations with a central key management system, or with compliance requirements for key rotation and separation of duties | The KMS becomes critical for backup and restore: if it is unavailable, encrypted jobs fail. Make the KMS highly available, and make sure you can reach it (or a copy of it) in a disaster recovery scenario. Check the KMS requirements and licensing. |
| Password Loss Protection (Enterprise Manager keyset), in addition to either model | Always, when licensing allows | It is your safety net if a password is lost or the KMS fails. |
Best practice:
- Enable Password Loss Protection. Connect each backup server to exactly one Enterprise Manager. Export the Enterprise Manager keysets and store them offline, and back up the Enterprise Manager server and its database. Without them there is no password loss protection.
- Verify stored encryption passwords regularly. Since v13 the console can verify a stored encryption password against your records, with brute-force protection. Run this check as part of your periodic restore tests.
- Monitor encryption changes. Since 13.1, changing an encryption password writes an event and a session log entry. Forward these events to your SIEM, together with the Security & Compliance Analyzer results, which also check stored password complexity.
- Test a restore of encrypted backups on a clean backup server. This is the real disaster recovery scenario: a new installation without the original configuration database. Make sure the people on duty know where the passwords, the KMS access or the Enterprise Manager keysets are. Decryption and KMS configuration need the Windows-based console, so have one available, also when the backup server is a Veeam Software Appliance.
Encryption in transit
- Encrypt traffic across zones, not only to the internet. By default Veeam encrypts traffic to public networks only. If backup traffic crosses untrusted segments inside your data center, for example from a DMZ to the backup zone, add a network traffic rule for those ranges. If you use job-level encryption, the data is already encrypted before it leaves the proxy.
- Weigh the performance cost. Traffic encryption costs CPU. For CDP we measured 10–40% lower throughput with TLS. See CDP proxy.
- Decide between FIPS and post-quantum cryptography. Since 13.1, the key exchange between Veeam Data Movers can use a hybrid post-quantum algorithm, which protects against “harvest now, decrypt later”. Post-quantum algorithms are not yet FIPS-validated, so they are disabled when FIPS-compliant mode is on. If you must comply with FIPS, keep FIPS. Otherwise, consider post-quantum cryptography for data that must stay confidential for many years. Do not confuse the two on the Veeam Software Appliance: its OS uses FIPS 140-3 validated packages, but the strict FIPS-compliant mode is a separate setting that is off by default. You enable it explicitly in the Host Management Console. See Network transport encryption.
Protecting the configuration
The configuration database holds the credentials for your whole infrastructure.
- Always encrypt the configuration backup. Without encryption, stored credentials are not included. More importantly, an unencrypted configuration backup is a gift to an attacker.
- Store the configuration backup password with the other disaster recovery secrets, outside the backup infrastructure.
- Store the configuration backup immutably. Since 13.1 this is also possible on hardened repositories, governance-mode Linux repositories, DD Boost and Catalyst.