Esegui il backup del cluster Redis. Se è la prima volta che viene creato un backup, verrà creata una raccolta di backup nel backend e questo backup appartiene a questa raccolta. Sia la raccolta che il backup avranno un nome risorsa. Il backup verrà eseguito per ogni shard. Verrà selezionata una replica (primaria se non HA) per eseguire l'esecuzione. La chiamata di backup verrà rifiutata se è in corso un'operazione di backup o aggiornamento. Tieni presente che durante l'anteprima, se la versione del software interno del cluster è troppo vecchia, verrà eseguito un aggiornamento critico prima del backup effettivo. Una volta aggiornata la versione del software interno alla versione minima richiesta dalla funzionalità di backup, i backup successivi non richiederanno l'aggiornamento critico. Dopo l'anteprima, non sarà necessario alcun aggiornamento critico per il backup.
Richiesta HTTP
POST https://redis.googleapis.com/v1/{name=projects/*/locations/*/clusters/*}:backup
Obbligatorio. Nome della risorsa del cluster Redis nel formato: projects/{projectId}/locations/{locationId}/clusters/{clusterId}, dove locationId si riferisce a una regione Google Cloud.
Corpo della richiesta
Il corpo della richiesta contiene dati con la seguente struttura:
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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)."]]