---
title: "POST /v1/{+name}:updateBackupConfig"
method: POST
path: "/v1/{+name}:updateBackupConfig"
tags: ["projects"]
---

# POST /v1/{+name}:updateBackupConfig

`POST /v1/{+name}:updateBackupConfig`

Updates the backup configuration for an ONTAP-mode volume.

## Path parameters

- `name` string, required

## Request body

- UpdateBackupConfigRequest — Request message for UpdateBackupConfig
  - `volumeUuid` string — Required. The UUID of the ONTAP-mode volume.
  - `backupConfig` BackupConfig — BackupConfig contains backup related config on a volume.
    - `backupPolicies` string[] — Optional. When specified, schedule backups will be created based on the policy configuration.
    - `scheduledBackupEnabled` boolean — Optional. When set to true, scheduled backup is enabled on the volume. This field should be nil when there's no backup policy attached.
    - `backupChainBytes` string, int64 — Output only. Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size).
    - `backupVault` string — Optional. Name of backup vault. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
  - `updateMask` string, google-fieldmask — Required. Field mask is used to specify the fields to be overwritten in the BackupConfig for the Volume. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/netapp.md) · [All operations](https://skmtc.net/google/apis/netapp/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/netapp/versions/fa9ebea9e9dc/schema)
