Veeam backup repository design

Best practice

  • Every backup copy should be immutable. See Security for the rationale.
  • Follow the 3-2-1 rule.
  • Prefer physical repositories.
  • Co-locate the proxy role on the repository when using Direct storage access, or to move malware detection load off the production hypervisor. Size the server for both roles.
    • Use the official Veeam calculator to determine the hardware specifications of the repository and the required storage space. For physical repositories, plan additional capacity for future growth.

Repository server placement

Repository placement is a design decision with direct consequences on restore speed, resiliency and security. Segregating the repository from production usually requires network devices, such as firewalls or routers, between the two environments: these devices must be sized to sustain the full throughput of backup and restore operations, otherwise they become the bottleneck of the entire data protection design.

The most common design has a primary backup on-site and a backup copy off-site, and each copy serves a different purpose.

The primary backup should be placed as close as possible to the production environment, because its location directly affects both RPO and RTO. Assuming the backup storage is not the bottleneck, lower latency and higher bandwidth between production and repository shorten backup jobs, allowing more frequent restore points and therefore a lower RPO. The same applies to restores: the primary backup is the copy used for most recovery operations, and a fast data path to production reduces RTO. Proximity refers to network and storage paths; the repository itself stays isolated from production systems and credentials, so that a compromise of the production environment does not extend to the backups.

The backup copy belongs to a secondary site. It protects against events affecting the whole primary site, such as a major outage, a disaster or an attack reaching the primary repository, and it is the starting point for disaster recovery and the source for restores beyond the retention of the primary backup. Since the backup copy is used less frequently for restores but often keeps a longer retention, cost per TB and durability can weigh more than raw performance in the choice of storage: block storage, object storage, deduplication appliances and tape are all valid options for this tier. The secondary site can be owned by the organization or provided by a third party, such as a service provider or a public cloud, which also adds administrative separation from the primary environment.

The key recommendation is to follow the 3-2-1 rule.

  • Three copies of the data (production, backup and backup-copy)
  • Two different media
  • One copy off-site

Physical or virtual?

In general, we recommend whenever possible to use physical machines as repositories, in order to maximize performance and have a clear separation between the production environment that needs to be protected and the backup storage.

Separation matters because a repository running on the protected virtual infrastructure shares its failure domain: an outage or an attack on the hypervisor layer can affect production and backups at the same time. Each additional abstraction layer, such as the hypervisor, virtual storage and management plane, also sits outside the control of the backup design and adds complexity and potential compromise paths.

Combining the repository with the proxy role is an option when Direct storage access or NBD transport modes are used. This keeps processing overhead, including inline malware detection, away from the production virtual environment, and removes the network hop between proxy and repository.

Virtual repository considerations

If you choose to use a virtual machine as a repository or gateway server, keep in mind that the storage, the associated transport media and the network will be heavily occupied. These resources are shared with the other VMs running on the same hosts, and contention between workloads can slow down backups and restores, or degrade the performance of the other VMs. Consider using resource controls to guarantee the repository the resources it needs, such as shares and reservations in VMware vSphere, or the equivalent features of other hypervisors.

The storage holding backup data should stay outside the storage used by the hypervisor, including hyper-converged solutions such as VMware vSAN. If the virtualization platform fails, production and backups would become unavailable at the same time, exactly when a restore is needed. The VM should act only as the processing unit, with backup disks connected directly through in-guest iSCSI or as RDMs in physical compatibility mode: this way, the disks can be reattached to a VM in another cluster or to a physical server if the original platform is lost. Storing backups on virtual disks, such as VMDK files on VMFS datastores, is not a best practice: every additional abstraction layer between the repository and the physical disks reduces performance and adds attack surface.

iSCSI: A virtual repository using in-guest iSCSI volumes formatted with XFS can technically provide immutability, since Veeam sets the immutable attribute on backup files and only root can remove it. This protection, however, exists only inside the file system, while the iSCSI layer underneath has weak access control. Any system able to connect to the iSCSI target can delete the partition or overwrite the volume at block level, even without being able to mount XFS, and destroy all the backups stored on it. When using this design, combine all the available controls on the storage side: source IP filtering, initiator IQN filtering and CHAP authentication. None of them is unbreakable, so this configuration requires careful evaluation, and potentially a second copy with different technology (the “2” in the 3-2-1)

The reasons to consider it anyway are practical. iSCSI is network-friendly, running over a single TCP port, and it is the most widely supported way to present block storage over a standard IP network, where object storage would require S3 instead. It also makes the data portable: if the VM acting as the repository fails, the volume can easily be connected to another node and the backups read from there. Each designer has to weigh this flexibility against the weaker protection of the storage layer in their own environment.

Network: The network and storage bandwidth of the host running the repository must be sized accordingly, because the traffic from all the proxies converges on that host. When multiple virtual repositories exist, DRS or similar load-balancing features may place them on the same host, concentrating the traffic further: use anti-affinity rules to keep repositories on different hosts.

Warning!

A Hardened Repository running as a VM with backups stored on virtual disks (VMDK) is the weakest form of this design, and it is NOT recommended for production environments.

The immutable attribute still protects backup files inside XFS, but the virtual disk itself is a file on the hypervisor datastore. Any administrator of the hypervisor or of the datastore can delete the virtual disk or the entire VM, access the console, or detach the disk, without any network access to the repository. Compared with in-guest iSCSI, this design keeps all the risks of a virtual repository and loses the portability that justifies the trade-off.

Ideally the Linux Hardened Repository should be an administratively and physically isolated system.

Repository server sizing

Use the official Veeam calculator to determine the hardware specifications of the repository and the required storage space. For the operations that consume repository task slots, see Limitation of Concurrent Tasks in the Veeam Backup & Replication User Guide.

References


Table of contents


Back to top

Copyright © 2026 Solutions Architects, Veeam Software.