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
질문됨 일 년 전387회 조회
1개 답변
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
답변함 일 년 전
  • 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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠