Configure an Incus credential with the access required for backup and restore operations. Commvault uses the credential to authenticate with the Incus environment.
Credential requirements
When you configure the Incus hypervisor, you can select an existing Incus credential or create a credential.
To create an Incus credential, have the following information available:
-
Certificate thumbprint: The thumbprint for the certificate used to authenticate with the Incus environment.
-
Private key: The private key associated with the certificate.
-
Private key password (optional): The password for the private key.
Commvault uses the credential to authenticate with the Incus REST API.
Permission requirements
When you configure the Incus hypervisor in Commvault, select a credential with the permissions listed in the following table.
Note
Incus’s built-in restricted TLS authorization limits a credential by project but does not enforce these individual permissions. Enforcing this permission set may require an authorization scriptlet or an equivalent authorization layer.
The following permissions were tested for the Commvault workflow on Incus 7.3. Scope the credential to only the projects that Commvault needs to protect.
| Commvault operation | Incus authorization object | Required entitlement |
|---|---|---|
| Discover instances, projects, and project-scoped resources | Project | can_view |
| Track asynchronous tasks and events | Project | can_view_operations, can_view_events |
| Create an instance during restore | Project | can_create_instances |
| Delete an instance | Instance | can_edit |
| Attach or edit disks and NICs | Instance | can_edit |
| Start or stop an instance | Instance | can_update_state |
| Read instance state and configuration | Instance | can_view |
| Create a VM-wide bitmap | Instance | can_edit |
| Create a custom storage volume during restore | Project | can_create_storage_volumes |
| List volume bitmaps | Storage volume | can_view |
| Create or delete volume bitmaps | Storage volume | can_edit |
| Export instance data over NBD | Instance | can_connect_nbd |
| Access volume data over writable NBD during restore | Storage volume | can_connect_nbd |
| Discover server resources | Server | can_view, can_view_resources |
| Discover storage pools, profiles, and networks | Storage pool, profile, network | can_view |