Redshift Serverless API reference to restore from Redshift Provisioned Cluster snapshot

0

I'm looking for the correct API reference to restore a provisioned cluster snapshot to a serverless namespace. I tested the following already with no success:

  1. redshift.restore_from_cluster_snapshot() - only works for restoring snapshots from cluster to cluster mode
  2. redshift-serverless.restore_from_snapshot() - only works for restoring snapshots from namespace to namespace mode The only way I was able to do was via console. Please advice. Regards
preguntada hace un año386 visualizaciones
1 Respuesta
0

Hello,

In order to restore a provisioned cluster into a serverless workgroup using one of the language-specific Amazon Redshift APIs, please see the documentation on the RestoreFromClusterSnapshot API call for a list of supported languages and the API references for each.

One way to restore a provisioned cluster snapshot to a serverless namespace is using the following command in the AWS CLI (See API reference for the AWS CLI API call ):

aws redshift-serverless restore-from-snapshot \
--namespace-name '<namespace-identifier>' \
--snapshot-arn arn:aws:redshift:us-east-1:<account-id>:snapshot:<cluster-identifier>/<snapshot-identifier> \
--workgroup-name '<workgroup-identifier>'
AWS
respondido hace un año
  • Hi Yolisa, thanks for the reply. I tested it already (as I mentioned). This API only identifies Redshift Serverless snapshots to be restored, which doesn't work for me since I need to restore a provisioned cluster snapshot into a namespace.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas