Veeam Backup
Store Veeam backups in XNS storage as an S3-compatible object storage repository.
Overview
Veeam Backup & Replication backs up virtual machines, physical servers and workstations, and Veeam Agent for Linux backs up a single Linux machine. Both can write backups to an S3-compatible object storage repository. With XNS, that repository is a bucket on your Relayer, reached over HTTPS.
Tested with Veeam Agent for Linux 6.3.2.1501 on 2026-10-17 against Relayer build 59a37e64.
The run created an S3-compatible repository over HTTPS with a self-signed certificate, and Veeam wrote and read its repository objects in the bucket. A backup job was not run: in the free edition, backup to object storage needs a license, and a trial license needs a Veeam account. Over plain HTTP the agent refuses to connect.
Also tested with Veeam Backup & Replication 13.1.1.18 on 2026-10-21 and 2026-10-22, against a standalone Relayer. The repository add, rescans, file share backups (full and incremental), a restore (SHA-256 matched on all 203 files), a backup copy job, retention removal and a re-import all passed. A repository on a bucket with Object Lock (Compliance mode) also took backups, and Veeam refused to remove them before they expired. On 2026-10-23, with Veeam Agent for Windows 13.1 file-level backups managed by the backup server, a scale-out repository’s capacity tier copied a full and an incremental backup to a bucket with Object Lock. With the local tier in maintenance mode, Veeam restored from the capacity tier, and SHA-256 matched on all 65 files. Retention on a direct repository removed each old restore point, and Veeam deleted its objects with no errors. Separately, one million objects were written, listed and bulk-deleted with an S3 client. On 2026-10-25, against Relayer 1.1.0-3173-gba2b4234, a Hyper-V VM backup (a full and two incrementals) went to a bucket with Object Lock; an entire-VM restore booted, and a guest file restore and Instant VM Recovery from XNS matched SHA-256 on every file checked. The capacity tier’s move policy moved an inactive backup chain to XNS, and Veeam restored from it. Veeam Agent for Windows entire-computer and volume backups went straight to XNS, and file restores and an Instant Recovery to Hyper-V worked. Those steps are in the sections below.
Not yet tested: vSphere VM backups and bare-metal restore from Veeam recovery media. XNS is not on Veeam’s Veeam Ready list, and this guide is not a Veeam certification.
Connect to XNS
Every S3 tool connects to your Relayer with the same settings. Enter them exactly as shown; the notes below the table cover the two that most tools get wrong by default.
| Setting | Value |
|---|---|
| Endpoint (HTTP) | http://<relayer-host>:9000, where <relayer-host> is the address of the machine running your Relayer. Always available. |
| Endpoint (HTTPS) | https://<relayer-host>:9443, available only after a certificate is installed on the Relayer. Port 9000 never serves HTTPS. |
| Region | us-east-1 |
| Addressing | Path-style. In tools that ask, turn on force path style or path-style access, and turn off virtual-hosted style. |
| Signature | Signature Version 4 (V4). Version 2 is refused. |
| Access key and secret key | For a tool, create a scoped key: IAM → Create IAM User in the Relayer UI. The secret is shown once, so copy it then. The install’s root pair is on Configure → Credentials; keep it for administration. |
| Bucket | Create it first: Files → Create Bucket in the Relayer UI, or let the tool create it. Names are 3-63 characters of lowercase letters, digits, hyphens and periods. |
HTTPS and certificates. The Relayer UI offers two certificates for port 9443: Let’s Encrypt, which needs a domain managed in Cloudflare and a Cloudflare API token, or self-signed. Most tools refuse a self-signed certificate unless certificate verification is turned off in the tool. On a private network, plain HTTP on port 9000 avoids the question.
Path-style. A tool left on virtual-hosted style (often labeled Amazon S3 or AWS) sends the bucket name in the hostname, and the Relayer cannot find the bucket. Choose the tool’s S3 compatible or generic S3 option and set path-style.
Not supported: server-side encryption with customer-provided keys (SSE-C) or KMS keys (SSE-KMS), bucket website hosting and bucket replication. Server-side encryption with AES256 is accepted. See Encryption at the Gateway, Identity and Access and Configure.
Prerequisites
- HTTPS on the Relayer. Veeam does not connect to object storage over plain HTTP, so port 9000 cannot be used. Install a certificate on the Relayer and use
https://<relayer-host>:9443(see the HTTPS notes above). - A bucket for Veeam, used by nothing else, and a scoped key on your Relayer (see the table above).
- Veeam Backup & Replication 12 or 13, or Veeam Agent for Linux with a license that includes backup to object storage.
Veeam Agent for Linux
Create the repository with veeamconfig. The service point is the host and port, without https://; the agent always uses HTTPS.
sudo veeamconfig objectstorage createrepository s3compatible \ --name xns \ --servicePoint <relayer-host>:9443 \ --region us-east-1 \ --bucketName <bucket> \ --folder veeam \ --accessKeyId <access-key>
The command prompts for the secret key. When the certificate is not trusted by the machine (for example, a self-signed certificate), it then shows the certificate’s issuer, subject and fingerprint and asks you to confirm with yes. To run it unattended, pass the certificate’s SHA-256 fingerprint as hex without colons with --fingerprint. Get it on the Relayer host with:
openssl x509 -in <certificate.pem> -noout -fingerprint -sha256 | cut -d= -f2 | tr -d :
Check the repository with sudo veeamconfig repository list, then create a backup job that uses it, for example sudo veeamconfig job create filelevel --name xns-files --repoName xns --includeDirs /home, and start it with sudo veeamconfig job start --name xns-files.
Veeam Backup & Replication
Tested on version 13.1 with file share, Hyper-V VM and Veeam Agent for Windows backups. The steps follow what worked in those runs.
Step 1: Add the repository
In the console, open Backup Infrastructure, right-click Backup Repositories and choose Add Backup Repository. Choose Object storage → S3 Compatible → S3 Compatible. Do not choose S3 Compatible with Data Archiving; it needs a feature the Relayer does not provide (see Known limits).
Step 2: Name
Enter a Name, for example XNS, and optionally a Description. Limit concurrent tasks can stay at its default; see Concurrency below if the job logs show SlowDown retries.
Step 3: Account
| Field | Value |
|---|---|
| Service point | https://<relayer-host>:9443 |
| Region | us-east-1 |
| Credentials | Choose Add and enter the scoped key’s Access key and Secret key. |
| Connection mode | Direct when every machine that sends backups can reach the Relayer; otherwise Through gateway server and pick a server that can. |
The certificate must be trusted by the Veeam backup server, or by the gateway server if you use one. A Let’s Encrypt certificate on port 9443 was trusted without extra steps; with a self-signed certificate, Veeam asks you to trust it when you continue. Veeam rejects an http:// service point with “HTTP protocol is not supported, please use HTTPS” (Veeam KB4578).
Step 4: Bucket
- Bucket: choose Browse and select the bucket. Use one dedicated bucket for each repository, and do not share it with other tools.
- Folder: choose Browse → New Folder and create a folder for this repository. Veeam stores all of its data under that folder.
- Limit object storage consumption: leave off. The Relayer does not report capacity to Veeam.
- Make recent backups immutable (Make backups immutable in version 13): leave off for a plain repository. To use it, see Immutable backups below.
- Do not put lifecycle rules on a bucket Veeam manages. Veeam deletes its own blocks when they expire, and a rule that expires objects on its own schedule can remove data Veeam still needs.
Step 5: Mount server, review and apply
Keep the suggested mount server, choose Next through Review and Apply, then Finish. The repository can now be the target of a backup job or a backup copy job. Field names for each step are in Veeam’s S3 compatible repository guide.
Access key policy
For a plain repository, create the IAM user with the Backup policy. It was the key used in every Veeam Backup & Replication test above, including the Object Lock runs. When Veeam adds a repository it creates a temporary bucket named veeamtest-<guid> to test bucket creation. If an empty bucket with that name is left behind, it is safe to delete.
In version 13.1 a repository added with PowerShell has bucket auto-provisioning on by default. Veeam then creates its own bucket, named <id>-<number>-aux, writes the backups there, and keeps only its repository files in the bucket you chose. The key needs permission to create buckets, which the Backup policy has. Do not delete the -aux bucket while the repository holds backups.
Immutable backups
Create the bucket with Object Lock turned on (it turns on versioning too), then add the repository on that bucket and choose Make recent backups immutable with a number of days. In our run, with a 1-day setting, Veeam wrote backups with a Compliance-mode lock, retained until the immutability period plus Veeam’s block-generation period had passed. Veeam refused to remove the backup, and command-line deletes, overwrites and retention changes on the locked versions were denied, with the Backup key and with the owner key.
Read this before you rely on it: the lock state is enforced by the Relayer and stored in the database on your own Relayer host. Someone with root on that host could change it. Harden and isolate the Relayer host as you would a hardened repository. XNS makes no ransomware-proof claim, and this was tested only in our lab.
Concurrency
A Relayer accepts 32 concurrent writes. Above that it answers 503 SlowDown with a Retry-After of 5 seconds. In our tests, 32 client streams produced no SlowDowns. At 64 streams, a client that gave up after 10 retries lost writes.
In our tests Veeam retried the Relayer’s busy answers. If the job logs show repeated SlowDown or 503 retries, lower Limit concurrent tasks on the repository (Veeam’s S3 compatible repository, Name step). That setting caps Veeam tasks, not S3 requests, and one task can send several requests at once, so we cannot give you a number that maps to 32 writes. This is recommended, not yet verified against Veeam in our lab.
Capacity tier
Tested in our lab on 2026-10-23: a scale-out backup repository with a local performance extent and an XNS repository as its capacity tier, with Copy backups to object storage as soon as they are created and Move backups to object storage as they age out both on, and Make recent backups immutable set to 1 day on a bucket with Object Lock. Each new restore point was copied to XNS when its job finished. Veeam adds its 10-day block-generation window to the immutability period, so the copied objects stayed locked for 11 days. A restore with the performance extent in maintenance mode read the backup from XNS alone. The move policy moves only inactive backup chains, and it had nothing to move in this run. On 2026-10-25 a second run with Hyper-V VM backups sealed a chain; the move policy moved it to XNS, and a restore from the capacity tier matched on all 35 files checked.
Scale
One million objects were written, listed exactly, and bulk-deleted in batches of 1,000 against a standalone Relayer with no failed writes, driven by an S3 client rather than by Veeam. We publish no throughput or timing figures for Veeam.
Known limits
- HTTPS is required. Veeam refuses plain HTTP (port 9000), so the Relayer needs a certificate on port 9443. A self-signed certificate must be confirmed (Veeam Agent prompts or takes
--fingerprint; Backup & Replication asks you to trust it). - No Smart Object Storage API (SOSAPI). The Relayer does not answer Veeam’s capacity and capability files, so S3 Compatible with Data Archiving cannot be used, the console shows no capacity for the repository, and Limit object storage consumption has nothing to measure against. See Veeam’s SOSAPI page.
- Immutability was tested in our lab only, in Compliance mode, with file share, Hyper-V VM and agent backups and capacity-tier copies. The lock is enforced on your own Relayer host (see Immutable backups). Create the bucket with Object Lock on.
- vSphere is not yet tested. VM backups were tested on Hyper-V only.
- Agent backups need an access key you provide. When Veeam Agent backs up straight to object storage, choose the option where you enter an access key. The Provided by IAM/STS option is not supported: the Relayer does not answer the IAM policy calls it makes.
- Removing a repository leaves its data. Deleting the repository in Veeam removes only Veeam’s definition; the objects stay in the bucket until you delete them.
- A backup to object storage needs a license in the free edition of Veeam Agent for Linux.
- A scoped ReadWrite key cannot read bucket access control lists or delete buckets. Veeam does not need either for backups.
- Not supported by the Relayer: SSE-C and SSE-KMS server-side encryption, bucket website hosting and bucket replication. Use Veeam’s own backup encryption to encrypt backups before they leave the machine.

2023 SCP Corp