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
gefragt vor einem Jahr387 Aufrufe
1 Antwort
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
beantwortet vor einem Jahr
  • 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.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen