# Method: projects.locations.backups.create

- [HTTP request](https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.backups/create#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.backups/create#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.backups/create#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.backups/create#body.request_body)
- [Response body](https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.backups/create#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.backups/create#body.aspect)
- [Try it!](https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.backups/create#try-it)

Creates a backup.

### HTTP request

`POST https://file.googleapis.com/v1/{parent=projects/*/locations/*}/backups`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The backup's project and location, in the format `projects/{projectNumber}/locations/{location}`. In Filestore, backup locations map to Google Cloud regions, for example **us-west1**. |

### Query parameters

| Parameters ||
|---|---|
| `backupId` | `string` Required. The ID to use for the backup. The ID must be unique within the specified project and location. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. Values that do not match this pattern will trigger an INVALID_ARGUMENT error. |

### Request body

The request body contains an instance of `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.backups#Backup`.

### Response body

If successful, the response body contains a newly created instance of `https://docs.cloud.google.com/filestore/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation`.

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).