Skip to content
Export guide · Backup

How to export your Veeam Backup & Replication configuration, and what we check in it

Where you run it: The Veeam Backup & Replication REST API (default port 9419), with curl and jq in a bash terminal.

In short

Veeam Backup & Replication configuration export: the file Veeam Backup & Replication writes of its own settings, which a configuration review reads setting by setting without connecting to Veeam Backup & Replication.

How to export the Veeam Backup & Replication configuration, step by step, what the review checks in the file (52 checks run), and what it does not read.

The fileJSON, one veeam-rest.json: jobs (the answer of GET /api/v1/jobs) and repositories (the answer of GET /api/v1/backupInfrastructure/repositories), each { "data": [...], "pagination": {...} } as Veeam returns it
Checks run on it52
Highest grade its findings reachPROVEN
Feeds attack pathsNo
Not read from this export3 areas, listed below

Sources: Veeam Backup & Replication documentation (1); Veeam Backup & Replication documentation (2); Veeam Backup & Replication documentation (3); the vendor table.

How to export it

Who can pull it
The built-in role Backup Viewer (Veeam Backup Viewer in the REST API reference) reads the jobs and the repositories: Veeam lists that role under "Available to" for both calls. It cannot read the backup server’s identity: for GET /api/v1/serverInfo Veeam lists "Available to: Veeam Backup Administrator" and no other role. A file from Backup Viewer is read and its findings are shown, but it names no backup server, so no finding from it is graded PROVEN and a later file cannot show that one was fixed. For that, run the steps with an account that holds the Veeam Backup Administrator role. Veeam: "Has read-only access to the Veeam Backup & Replication console. Can view existing jobs and job session details." It has to be a built-in role: the sign-in call is "Available to: All built-in user roles. Authentication with custom roles is not allowed." Multi-factor authentication (MFA): Veeam says "MFA is not supported for non-interactive connections" used by the Veeam Backup & Replication REST API, and "you must disable MFA for the accounts used to run these applications and backup infrastructure components".
Time
About 10 minutes.
The file
JSON, one veeam-rest.json: jobs (the answer of GET /api/v1/jobs) and repositories (the answer of GET /api/v1/backupInfrastructure/repositories), each { "data": [...], "pagination": {...} } as Veeam returns it

No console export: There are no console steps: the review reads a JSON file built from the REST API answers: the jobs, the repositories and, where the role allows it, the backup server’s identity. The console’s configuration backup is a different thing: Veeam says it "exports data from the configuration database and saves it to a backup file in the backup repository", and the review does not read that file.

From the command line

  1. Keep the backup server’s address and the REST API revision of your build for this terminal session: export VBR=https://<backup-server>:9419 APIV=1.3-rev1(Veeam: "The default port number is 9419" and "You must specify the Veeam Backup & Replication REST API version and revision in each request". Veeam’s revision table: 1.3-rev1 is build 13.0.1.180, 1.3-rev0 is 13.0.0.4967, 1.2-rev1 is 12.3.1.1139, 1.2-rev0 is 12.3.0.310)

    The vendor's page, checked 2026-11-11
  2. Sign in and keep the access token (put your user name in place of <user>; the line asks for the password): read -rsp "Password: " VBR_PASS; echo; TOKEN=$(curl -s -X POST "$VBR/api/oauth2/token" -H "x-api-version: $APIV" --data-urlencode "grant_type=password" --data-urlencode "username=<user>" --data-urlencode "password=$VBR_PASS" | jq -r .access_token)(Veeam: "send the HTTP POST request to the /api/oauth2/token path"; the answer holds an access token, valid 15 minutes, and a refresh token, valid 24 hours)

    The vendor's page, checked 2026-11-11
  3. Save the jobs: curl -s "$VBR/api/v1/jobs?limit=500" -H "x-api-version: $APIV" -H "Authorization: Bearer $TOKEN" > veeam-jobs.json(Veeam: "gets an array of all jobs coordinated by the backup server"; limit is the "Maximum number of jobs to return", 200 unless you set it)

    The vendor's page, checked 2026-11-11
  4. Save the repositories: curl -s "$VBR/api/v1/backupInfrastructure/repositories?limit=500" -H "x-api-version: $APIV" -H "Authorization: Bearer $TOKEN" > veeam-repositories.json(Veeam: "gets an array of all backup repositories that are added to the backup infrastructure")

    The vendor's page, checked 2026-11-11
  5. If your account holds the Veeam Backup Administrator role, save the backup server’s identity as well (Veeam lists that role and no other for this call, so with Backup Viewer it is refused and the file stays empty): curl -sf "$VBR/api/v1/serverInfo" -H "x-api-version: $APIV" -H "Authorization: Bearer $TOKEN" > veeam-server.json || : > veeam-server.json(Veeam: it "gets the Veeam Backup & Replication installation ID, backup server name (or IP address), build number and cumulative patches"; "Available to: Veeam Backup Administrator". Without it the file names no backup server: the file is still read and its findings are shown, but none is graded PROVEN, and a later file cannot show that a finding was fixed)

    The vendor's page, checked 2026-11-11
  6. Check that both answers are whole: jq .pagination veeam-jobs.json veeam-repositories.json(in each, total, the "Total number of results", must equal count, the "Number of returned results"; if it does not, run that call again with a larger limit)

    The vendor's page, checked 2026-11-11
  7. Put the answers, unchanged, into the one file to upload (all three calls went to the same $VBR in this terminal session: nothing in the jobs or repositories answer names the server, so the file cannot show that they came from the server serverInfo names): jq -n --slurpfile j veeam-jobs.json --slurpfile r veeam-repositories.json --slurpfile s veeam-server.json '{jobs: $j[0], repositories: $r[0], serverInfo: $s[0]} | with_entries(select(.value != null))' > veeam-rest.json(the step only puts each answer under a name, jobs, repositories or serverInfo, and leaves out serverInfo when its call was refused; every object under them is Veeam’s, as returned. Upload veeam-rest.json)

    The vendor's page, checked 2026-11-11
  8. After the upload has gone through, or better as soon as the answers are saved, sign out so the token pair stops working: curl -s -X POST "$VBR/api/oauth2/logout" -H "x-api-version: $APIV" -H "Authorization: Bearer $TOKEN"(Veeam: "After you log out, your access and refresh tokens become invalid". The access token lasts 15 minutes: run the call within that time, in the same terminal)

    The vendor's page, checked 2026-11-11

What the file looks like

JSON, one veeam-rest.json: jobs (the answer of GET /api/v1/jobs) and repositories (the answer of GET /api/v1/backupInfrastructure/repositories), each { "data": [...], "pagination": {...} } as Veeam returns it. It varies with the number of jobs and repositories: each adds a few hundred bytes. The upload takes files up to 10 MB.

What it holds: Veeam’s answers, as returned, in one veeam-rest.json: the backup jobs (type, disabled or not, retention, encryption, backup method, health check, application-aware processing) and the backup repositories (type, immutability) and, where the role allows it, the backup server’s identity (serverInfo).

Upload veeam-rest.json, the file the jq step writes: Veeam’s answers, each kept whole, so each finding points to the line of the setting in the file. The file holds the jobs, the repositories and, where the role allows it, the backup server’s identity, and nothing else: backup server hardening (the Security & Compliance Analyzer results), multi-factor authentication (MFA), the configuration backup settings and the product version are not in it, because Veeam makes those calls "Available to: Veeam Backup Administrator". On version 12 the jobs call leaves out backup copy jobs for virtual machines (the job types it returns on 12.3 are Backup, VSphereReplica, CloudDirectorBackup, EntraIDTenantBackup, EntraIDAuditLogBackup and FileBackupCopy), so a "No off-site / air-gapped copy" finding may not come from your server. The steps need curl and jq in a bash terminal. Run these commands in bash (macOS, Linux or WSL): in Windows PowerShell 5.1, > writes UTF-16, which jq and the upload refuse.

Afterwards

Run the logout call (the last step), then unset TOKEN VBR_PASS and delete veeam-jobs.json, veeam-repositories.json, veeam-server.json and, once it is uploaded, veeam-rest.json. If an account was added for this export, an administrator removes it in the console: main menu → Users & Roles > Security → select the user → Remove.

If the export goes wrong

What you seeThe fix
The upload says the file does not match any expected format for Veeam Backup & ReplicationUpload veeam-rest.json from the jq step, not veeam-jobs.json or veeam-repositories.json on their own.
curl stops with a certificate error, for example "self-signed certificate"Veeam: "During the Veeam Backup & Replication installation, a self-signed TLS certificate is created and bound to the REST API and the 9419 port." Give curl that certificate with --cacert <file> on each curl line, or have a certificate from your certificate authority added on the backup server. Do not switch certificate checking off.
jq prints null for the token, or a later call answers 401null at sign-in: the user name or password is wrong, the account has multi-factor authentication (MFA) on, or it holds a custom role ("Authentication with custom roles is not allowed"). 401 later: the access token lasts 15 minutes, so sign in again and repeat the call.

What we read from it

Checks run
52 + 5 guidance items, not counted
Formats read
Veeam job configuration JSON · Veeam REST API answers (jobs and repositories)
Releases
12.x to current

Checks run is the number of checks that reached a result on this system's own export in our tests, as the vendor table shows it.

The areas checked

  • Backup jobs: encryption off, retention under 30 days (a retention counted in restore points is not compared), the reverse incremental backup method, health check off, application-aware processing off, and a job switched off (isDisabled)
  • Repositories: a hardened repository or an object storage repository with immutability off, and whether any repository keeps backups immutable
  • Whether any backup copy job is in the jobs answer (not raised from an answer of version 12, whose jobs call leaves backup copy jobs out)

The grade its findings reach

Proven A finding from this file can reach PROVEN: the stored file is read a second time by a separate reader, and the finding is found at the setting it names.

Its findings stay in the review and its reports. Veeam Backup & Replication does not feed attack paths.

Attack paths, the one change and dollar figures are MODELED. How each grade is worked out is on the method page.

What we do not read from this export

  • Backup server hardening (Security & Compliance Analyzer results), console settings, multi-factor authentication (MFA), configuration backup settings and the product version: not in this file, those calls need the Veeam Backup Administrator role
  • Backup copy jobs on version 12: the jobs call leaves them out there, so a "No off-site / air-gapped copy" finding may not come from your server
  • SureBackup verification, recovery time targets, tape jobs and the credentials that jobs use
  • Whether a job ran or succeeded
  • S3 Object Lock mode and bucket versioning: not in the answer of the repositories call
  • Job e-mail notification settings and the job schedule: the review does not read them from this file
  • A configuration backup file: not read

Limits of the reader

  • If your export leaves a section out, the review does not flag it as partial.
  • Findings stay in the review. They do not feed attack paths.
  • The checks of this system are not counted: a check counts once a test shows it firing on a file in the layout the vendor documents.

A finding never comes from what the file does not hold: live traffic, running hosts and logs are not in a configuration export.

Questions

Who can export the Veeam Backup & Replication configuration?

The built-in role Backup Viewer (Veeam Backup Viewer in the REST API reference) reads the jobs and the repositories: Veeam lists that role under "Available to" for both calls. It cannot read the backup server’s identity: for GET /api/v1/serverInfo Veeam lists "Available to: Veeam Backup Administrator" and no other role. A file from Backup Viewer is read and its findings are shown, but it names no backup server, so no finding from it is graded PROVEN and a later file cannot show that one was fixed. For that, run the steps with an account that holds the Veeam Backup Administrator role. Veeam: "Has read-only access to the Veeam Backup & Replication console. Can view existing jobs and job session details." It has to be a built-in role: the sign-in call is "Available to: All built-in user roles. Authentication with custom roles is not allowed." Multi-factor authentication (MFA): Veeam says "MFA is not supported for non-interactive connections" used by the Veeam Backup & Replication REST API, and "you must disable MFA for the accounts used to run these applications and backup infrastructure components".

Does the export change anything?

Signing in creates a token pair on the backup server: an access token (15 minutes) and a refresh token (24 hours); the logout call ends both. The GET calls read and change nothing. If an administrator adds an account or disables MFA for one for this export, that is a change too.

Does the file hold passwords or keys?

veeam-rest.json holds Veeam’s answers as returned and no passwords: Veeam’s answers carry the ids of credential records (credentialsId, encryptionPasswordId), not the passwords. Still in clear text: job and repository names, host names, repository paths, bucket names, e-mail recipients and script paths. With redaction on (the default), the passwords, keys and tokens the review recognises are replaced with a placeholder before anything is stored; the check before upload shows how many it found.