Mencadangkan Redis Cluster. Jika ini adalah pertama kalinya cadangan dibuat, koleksi cadangan akan dibuat di backend, dan cadangan ini termasuk dalam koleksi ini. Koleksi dan cadangan akan memiliki nama resource. Pencadangan akan dilakukan untuk setiap shard. Replika (utama jika non-HA) akan dipilih untuk melakukan eksekusi. Panggilan pencadangan akan ditolak jika ada operasi pencadangan atau update yang sedang berlangsung. Perlu diketahui bahwa selama pratinjau, jika versi software internal cluster terlalu lama, update penting akan dilakukan sebelum pencadangan sebenarnya. Setelah versi software internal diupdate ke versi minimum yang diperlukan oleh fitur pencadangan, pencadangan berikutnya tidak akan memerlukan update penting. Setelah pratinjau, tidak akan ada update penting yang diperlukan untuk pencadangan.
Permintaan HTTP
POST https://redis.googleapis.com/v1/{name=projects/*/locations/*/clusters/*}:backup
Wajib. Nama resource cluster Redis menggunakan formulir: projects/{projectId}/locations/{locationId}/clusters/{clusterId} dengan locationId mengacu pada region Google Cloud.
Isi permintaan
Isi permintaan memuat data dengan struktur berikut:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[],[],null,["# Method: projects.locations.clusters.backup\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nBackup Redis Cluster. If this is the first time a backup is being created, a backup collection will be created at the backend, and this backup belongs to this collection. Both collection and backup will have a resource name. Backup will be executed for each shard. A replica (primary if nonHA) will be selected to perform the execution. Backup call will be rejected if there is an ongoing backup or update operation. Be aware that during preview, if the cluster's internal software version is too old, critical update will be performed before actual backup. Once the internal software version is updated to the minimum version required by the backup feature, subsequent backups will not require critical update. After preview, there will be no critical update needed for backup.\n\n### HTTP request\n\n`POST https://redis.googleapis.com/v1/{name=projects/*/locations/*/clusters/*}:backup`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/memorystore/docs/cluster/reference/rest/Shared.Types/ListOperationsResponse#Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]