> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/v/veeam-backup.md).

# Veeam Backup

Veeam Backup is a backup and recovery platform. OctoXLabs reads the backup objects and their restore points through the Veeam Backup REST API. This shows which assets are protected and when they were last backed up.

## Use cases

* Find assets that have a backup object in Veeam Backup.

```
Adapters = veeam-backup
```

* Find assets that are in your inventory but have no Veeam Backup record. Replace `active-directory` with any other source that lists your servers.

```
Adapters = active-directory AND NOT Adapters = veeam-backup
```

## Before you begin

### Network

| Source              | Destination                    | Port                         | Protocol |
| ------------------- | ------------------------------ | ---------------------------- | -------- |
| OctoXLabs connector | Veeam Backup server (REST API) | 9419 (default, configurable) | HTTPS    |

### Required permissions

| Scope or role                                                                           | Permission | Needed for                        |
| --------------------------------------------------------------------------------------- | ---------- | --------------------------------- |
| Backup Administrator, Backup Operator, Restore Operator, Backup Viewer or Tape Operator | Read       | Backup objects and restore points |

Any role can retrieve a token. Only these roles can read the resources.

## Create credentials in Veeam Backup

{% stepper %}
{% step %}

### Choose an account

Use an existing account or create one that can sign in to the Veeam Backup server.
{% endstep %}

{% step %}

### Assign a role

Assign one of the roles listed above. Backup Viewer is enough for read only access.
{% endstep %}

{% step %}

### Check the REST API version

Note the REST API version your server supports. Enter it in **API Version** if it is not the default.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter   | Required | Type    | Default  | Description                                         |
| ----------- | -------- | ------- | -------- | --------------------------------------------------- |
| IP          | Yes      | Text    |          | IP address or host name of the Veeam Backup server. |
| Port        | No       | Integer | 9419     | REST API port.                                      |
| Username    | Yes      | Text    |          | Account used to get a token.                        |
| Password    | Yes      | Text    |          | Password of the account.                            |
| API Version | No       | Text    | 1.2-rev0 | Value sent in the `x-api-version` header.           |
| Is Secure?  | No       | Boolean | True     | Use HTTPS.                                          |
| Timeout     | No       | Integer | 30       | Seconds to wait for API responses.                  |

## Troubleshooting

| Error message | Cause                                              | Fix                                                     |
| ------------- | -------------------------------------------------- | ------------------------------------------------------- |
| Not verified  | No adapter specific error text exists in the code. | Check the connection test result and the connector log. |

## Change history
