Veeam Backup: Best Practices and Configuration Guide

๐ Veeam Backup: Best Practices and Configuration Guide
Veeam Backup & Replication is a powerful tool for protecting your data across virtual, physical, and cloud environments. This article focuses on key architectural decisions, backup security best practices, and real-world deployment scenarios.
๐ Secure Backup with Immutability
1.1 โจ Use Immutable Storage
โถ Recommended Linux Configuration
|
|
- Use XFS with reflink for Veeam immutability
- Mount target to
/mnt/veeam
- Configure in Veeam as “Hardened Repository”
1.2 ๐ S3 Object Lock & Retention
โถ Setup S3 Bucket with Object Lock (e.g., MinIO, AWS)
- Create a bucket with
Object Lock
enabled - Enable
Versioning
- Set default retention policy (e.g., 30 days)
|
|
1.3 ๐ Apply the 3-2-1-1-0 Rule
- 3 copies of data (1 production + 2 backups)
- 2 different media types (e.g., disk + object storage)
- 1 offsite backup
- 1 immutable copy
- 0 errors after recovery verification (e.g., SureBackup)
1.4 ๐ Limit Access & Isolate Backup Networks
โถ Network & Identity Hardening
-
Use separate credentials for:
- Backup console
- Repositories
- Hypervisors
- S3 buckets
-
Protect backup console with:
- Multi-Factor Authentication (2FA)
- Role-Based Access Control (RBAC)
-
Isolate repository access with:
- VLAN segmentation
- Firewall rules
- SSH key-only access
1.5 ๐ Monitoring & Patching
โถ Stay Ahead of Threats
- Enable email notifications for job results and warnings
- Regularly review backup logs and audit access
- Apply Veeam updates and patches promptly
- Integrate with monitoring platforms (e.g., Zabbix, Icinga)
โ๏ธ Initial Setup of Veeam B&R
2.1 ๐ฅ Install Veeam Backup & Replication
โถ System Requirements
-
Operating System: Windows Server 2016 or newer
-
SQL Server: Use built-in SQL Express or an external instance
-
Hardware:
- 2+ vCPUs
- 8+ GB RAM (16 GB recommended)
- SSD for configuration and database preferred
โถ Installation Steps
-
Download Veeam B&R ISO
-
Mount ISO and run
Setup.exe
-
Choose Backup & Replication
-
Follow the wizard and install:
- Veeam Backup Service
- Console
- Explorers
- Transport & Catalog Services
2.2 ๐งฑ Add Backup Infrastructure
โถ Add Hypervisors
-
Go to
Backup Infrastructure > Managed Servers
-
Add:
- VMware vCenter Server
- or Microsoft Hyper-V hosts
Use service accounts with minimal required permissions.
โถ Add Backup Proxies
-
Navigate to
Backup Infrastructure > Backup Proxies
-
Add Windows Server (VM or physical)
-
Assign transport mode:
- Direct SAN Access
- Hot-Add (for VMware)
- Network (NBD)
โถ Add Repositories
Supported types:
- โ Linux repo (XFS + reflink for immutability)
- โ Windows repo (ReFS for fast clone)
- โ NAS (SMB/NFS, no immutability)
- โ S3-compatible object storage
Use the appropriate wizard to configure credentials and paths.
2.3 ๐ฆ Create Backup Jobs
โถ Job Configuration Steps
-
Go to
Home > Jobs > Backup Job (VMs)
-
Choose source: VMs, physical agents, or NAS
-
Select a repository (e.g., Hardened Linux, S3, iSCSI)
-
Set backup mode:
- Incremental
- Forever Forward Incremental
-
Define retention policy (e.g., 14 restore points)
-
(Optional) Enable:
- Synthetic Full backups
- Health Checks
- Backup Copy
2.4 โ๏ธ Enable Optional Jobs
โถ Optional Job Types
-
Backup Copy Job
- For offsite or secondary backup
-
SureBackup Job
- Automatically boots and verifies backups
-
Replication Job
- Creates hot standby VMs at DR location
2.5 ๐ Monitor and Test
โถ Recommended Monitoring
- Enable email notifications
- Check job logs and statistics regularly
- Integrate with external monitoring (Zabbix, Icinga)
โถ Restore Testing Options
- Full VM restore
- File-level restore
- Application-item restore (Exchange, SQL, etc.)
- Instant VM Recovery
Schedule test restores at least once per month.
๐พ Choosing the Right Repository
Choosing the correct repository type is fundamental to achieving the right balance of performance, cost-efficiency, immutability, and remote readiness.
3.1 ๐๏ธ Common Repository Types
-
ReFS (Windows)
โ Fast clone support
โ No immutability
โ ๏ธ Needs VPN for remote usage -
XFS (Linux)
โ Reflink support
โ Immutability (when used in hardened mode)
โ No native remote access -
Hardened Linux Repository
๐ Secure non-root access
โ Immutability with XFS
โ Requires SSH (not S3-compatible) -
NAS (SMB/NFS)
๐ก Easy to set up
โ No immutability
โ Can be remote (mountable) -
S3-Compatible (MinIO, AWS, Wasabi)
โ Object Lock
โ Versioning
โ TLS support
โ Ideal for long-term, remote, immutable storage -
iSCSI over VPN (e.g., via WireGuard)
โ Block-level performance
โ Remote access
โ ๏ธ Needs manual configuration and secure tunneling
3.2 ๐ Repository Comparison Table
Repository Type | Fast Clone | Immutability | Remote-Ready | TLS |
---|---|---|---|---|
R3FS (Windows) | โ | โ | โ ๏ธ (VPN req.) | โ |
XFS (Linux) | โ | โ (hardened) | โ | โ |
S3 (MinIO/AWS/Wasabi) | โ | โ | โ | โ |
NAS (SMB/NFS) | โ | โ | โ | โ |
๐ก๏ธ Immutability Options
- Linux Hardened Repo: โ (XFS + reflink)
- S3 with Object Lock: โ (MinIO, AWS, Wasabi)
- Windows ReFS: โ
- SMB/NFS: โ
- Use Hardened Linux Repo for on-prem immutable storage
- Use S3 with Object Lock for offsite long-term protection
- Avoid NAS or standard Windows ReFS for critical or immutable backup chains
๐ Backup Copy Jobs (Offsite Protection)
A Backup Copy Job is essential for offsite disaster recovery. It allows you to replicate your primary backups to a secondary location โ protecting against ransomware, hardware failure, or site outages.
4.1 ๐ก Why Use Hardened Linux
- โ Immutable storage with XFS + reflink
- ๐ค Non-root user, no interactive shell
- ๐ Resilient against ransomware โ even if Veeam is compromised
4.2 ๐ง Configuration Steps
โถ Step 1: Prepare the Hardened Linux Repository
|
|
โ Enable SSH key login โ Grant temporary sudo during setup ๐ Disable password auth after configuration
โถ Step 2: Add Repository to Veeam
- Go to Backup Infrastructure > Backup Repositories > Add Repository
- Choose Linux Hardened Repository
- Enter:
- IP address
- SSH credentials
- Public key path
- Set mount path (e.g. /mnt/veeam)
- Enable Immutability (e.g., 30 days)
โถ Step 3: Create the Backup Copy Job
- Navigate to Home > Backup Copy > Backup Copy Job (VMs)
- Select the primary job as source
- Choose Hardened Linux Repository as target
- Set:
- Immediate copy mode: โ (optional)
- Copy every 12โฏh, retain 7 restore points
4.3 ๐ก Best Practices
4.4 ๐ Summary
๐ Scale-Out Backup Repository (SOBR)
A SOBR (Scale-Out Backup Repository) combines multiple backup repositories into a single logical unit. This allows flexible storage tiering, improved performance, and simplified management.
5.1 ๐งฑ Tiered Storage Strategy
Performance Tier
- ๐ Local NAS with iSCSI mount
- ๐ ReFS formatted with 64 KB block size
- โก High-speed storage for daily restore operations
Capacity Tier
- ๐ Remote MinIO S3 bucket
- ๐ Object Lock + versioning enabled
- ๐ Ideal for long-term archival and compliance with immutability
5.2 ๐ง SOBR Configuration Steps
โถ Step 1: Create Individual Repositories
- Format the local NAS volume with ReFS 64 KB
- Add it to Veeam as a Direct Attached Repository
- Deploy MinIO:
- Enable TLS, versioning, and Object Lock
- Create the S3 bucket for backups
- Add the bucket to Veeam as an S3-Compatible Object Repository
- Enable immutability (e.g., 30 days Governance mode)
โถ Step 2: Create and Configure the SOBR
- Navigate to
Backup Infrastructure > Scale-Out Repositories
- Click Add SOBR
- Set a name (e.g.,
SOBR-Primary-Remote
) - Add:
- Local ReFS repo as the Performance Tier
- MinIO S3 repo as the Capacity Tier
- Enable the following options:
- โ Move backups older than 14 days to capacity
- โ Copy backups as soon as they are created (optional)
- โ Support immutability on capacity tier
5.3 ๐ SOBR Benefits
- ๐ Automatically tier backups based on age or policy
- ๐ Combines high-performance local storage with remote S3 storage
- ๐ Enables compliance with immutability and offsite protection
- โ๏ธ Simplifies management without scripting
๐ง Setting Up Efficient Backup Proxies
Backup Proxies in Veeam act as data movers between the source (e.g., hypervisors) and the backup repositories. A well-configured proxy infrastructure is essential for performance, scalability, and job reliability.
6.1 ๐งฉ Default vs Additional Proxies
- By default, the Veeam Backup Server acts as a proxy
- In larger or distributed environments, additional proxies are highly recommended
- Multiple proxies allow parallel job processing and workload isolation
6.2 โ๏ธ Add and Configure Proxies
โถ Step 1: Add a New Proxy
- Open Veeam Backup & Replication Console
- Go to
Backup Infrastructure > Backup Proxies
- Click Add Proxy
- Choose:
- Platform: VMware vSphere or Microsoft Hyper-V
- Server: Select existing Windows Server or deploy automatically
โถ Step 2: Configure Transport Mode
-
Modes:
- ๐ Automatic โ Veeam chooses the best mode
- ๐ฆ Direct SAN Access โ best for fibre/iSCSI environments
- ๐ง Virtual Appliance (Hot-Add) โ efficient for virtual proxies
- ๐ Network (NBD/NFS) โ fallback, least efficient
-
Set maximum concurrent tasks based on CPU/RAM (e.g., 4โ8)
6.3 ๐ Monitoring and Scaling
- Place proxies close to production storage for better performance
- Use dedicated proxies instead of sharing with repositories
- For distributed sites, deploy proxies locally
- Monitor proxy usage in job stats and scale accordingly
- Use DRS affinity rules in clusters to optimize job placement
- โ Windows Server 2019+ is stable and performant
- ๐งช Linux proxies are available in experimental mode (CLI only)
๐ Optimizing WAN Transfers with Accelerators
Veeam WAN Accelerators optimize backup data transfer across slow or unreliable WAN links. They are especially useful for Backup Copy Jobs to remote sites or disaster recovery (DR) locations.
7.1 ๐ What WAN Accelerators Do
- ๐ Global deduplication: Avoids re-sending already transferred blocks
- ๐ Global cache: Stores repeated data patterns
- ๐ฆ Compression & optimization: Minimizes bandwidth usage
- ๐ Traffic reduction: Up to 50x savings on repeated transfers
7.2 โ๏ธ How to Configure WAN Acceleration
โถ Step 1: Prepare the Accelerator Server
- Use a dedicated Windows Server (physical or VM)
- Recommended resources:
- 2+ vCPU
- 4+ GB RAM
- Fast disk (SSD/NVMe) for cache (e.g., 40โ100 GB)
โถ Step 2: Add WAN Accelerators in Veeam
- Go to
Backup Infrastructure > WAN Accelerators
- Click Add WAN Accelerator
- Select your Windows server
- Define:
- Cache path (dedicated volume preferred)
- Cache size (recommend 1โ3% of protected data)
- Max concurrent tasks
Repeat this step for both source and target sites.
โถ Step 3: Use in Backup Copy Job
- Edit or create a Backup Copy Job
- In the Data Transfer step:
- Enable Use WAN Accelerators
- Select:
- Source WAN Accelerator (e.g., local site)
- Target WAN Accelerator (e.g., remote site)
- Complete job configuration
7.3 ๐ก Best Practices
- ๐ง Place WAN Accelerators close to the repository
- ๐ฝ Use a separate disk for cache โ not shared with OS or backups
- ๐ก Enable TLS or VPN if WAN is untrusted
- ๐ Monitor cache health and usage via Veeam UI
- ๐งช Test throughput before and after to confirm benefit
๐ Final Recommendations
- โ Plan for 3-2-1-1-0 strategy.
- โ Always use immutability.
- โ Test restores monthly.
- โ Secure credentials and infrastructure.
- โ Enable alerts, health checks, and patch regularly.
A well-designed Veeam deployment delivers security, scalability, and disaster resilience โ even for small environments.