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

# POST /v1/{+parent}/backupPolicies

`POST /v1/{+parent}/backupPolicies`

Creates new backup policy

## Path parameters

- `parent` string, required

## Query parameters

- `backupPolicyId` string

## Request body

- BackupPolicy — Backup Policy.
  - `dailyBackupLimit` integer — Number of daily backups to keep. Note that the minimum daily backup limit is 2.
  - `monthlyBackupLimit` integer — Number of monthly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1.
  - `assignedVolumeCount` integer — Output only. The total number of volumes assigned by this backup policy.
  - `createTime` string, google-datetime — Output only. The time when the backup policy was created.
  - `labels` object — Resource labels to represent user provided metadata.
  - `enabled` boolean — If enabled, make backups automatically according to the schedules. This will be applied to all volumes that have this policy attached and enforced on volume level. If not specified, default is true.
  - `description` string — Description of the backup policy.
  - `state` 'STATE_UNSPECIFIED' | 'CREATING' | 'READY' | 'DELETING' | 'ERROR' | 'UPDATING' — Output only. The backup policy state.
  - `weeklyBackupLimit` integer — Number of weekly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1.
  - `name` string — Identifier. The resource name of the backup policy. Format: `projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}`.

## 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)
