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
asked a year ago311 views
1 Answer
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
answered a year ago
  • 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions