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

# POST /v1/{+name}:import

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

Import a Redis RDB snapshot file from Cloud Storage into a Redis instance. Redis may stop serving during this operation. Instance state will be IMPORTING for entire operation. When complete, the instance will contain only data from the imported file. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.

## Path parameters

- `name` string, required

## Request body

- ImportInstanceRequest — Request for Import.
  - `inputConfig` InputConfig — The input content
    - `gcsSource` GcsSource — The Cloud Storage location for the input content
      - `uri` string — Required. Source data URI. (e.g. 'gs://my_bucket/my_object').

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/redis.md) · [All operations](https://skmtc.dev/google/apis/redis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/redis/revisions/001438d863e7/schema)
