AWS CLI restore-from-cluster-snapshot 在账户中找不到快照
AWS CLI restore-from-cluster-snapshot doesn't find snapshot in account
我正在尝试使用
从快照恢复集群
aws redshift restore-from-cluster-snapshot --cluster-identifier my-cluster
--snapshot-identifier my-identifier --profile my-profile --region my-region
但是我收到了
An error occurred (ClusterSnapshotNotFound) when calling
the RestoreFromClusterSnapshot operation: Snapshot not found: my-identifier
我使用
检查了可用的快照
aws redshift describe-cluster-snapshots --profile my-profile --region my-region
并且 my-identifier
显示为可用快照。
通过 Redshift 控制台进入我也能看到快照并能从 UI.
恢复它
有人有线索吗?
P.S.: 不确定是否相关,但这是我与我尝试恢复集群的帐户共享的另一个帐户的快照
还原时必须指定所有者账号,才能让Redshift解密共享快照。
aws redshift restore-from-cluster-snapshot \
--profile myAwsCliProfile \
--snapshot-identifier mySnapshotName \
--owner-account 012345678910 \
--cluster-identifier my-new-redshift-cluster \
--number-of-nodes 6 \
--node-type ra3.16xlarge \
--port 5439 \
--region us-east-1 \
--availability-zone us-east-1d \
--cluster-subnet-group-name default\
--availability-zone-relocation \
--no-publicly-accessible \
--maintenance-track-name CURRENT
我正在尝试使用
从快照恢复集群aws redshift restore-from-cluster-snapshot --cluster-identifier my-cluster
--snapshot-identifier my-identifier --profile my-profile --region my-region
但是我收到了
An error occurred (ClusterSnapshotNotFound) when calling
the RestoreFromClusterSnapshot operation: Snapshot not found: my-identifier
我使用
检查了可用的快照aws redshift describe-cluster-snapshots --profile my-profile --region my-region
并且 my-identifier
显示为可用快照。
通过 Redshift 控制台进入我也能看到快照并能从 UI.
恢复它有人有线索吗?
P.S.: 不确定是否相关,但这是我与我尝试恢复集群的帐户共享的另一个帐户的快照
还原时必须指定所有者账号,才能让Redshift解密共享快照。
aws redshift restore-from-cluster-snapshot \
--profile myAwsCliProfile \
--snapshot-identifier mySnapshotName \
--owner-account 012345678910 \
--cluster-identifier my-new-redshift-cluster \
--number-of-nodes 6 \
--node-type ra3.16xlarge \
--port 5439 \
--region us-east-1 \
--availability-zone us-east-1d \
--cluster-subnet-group-name default\
--availability-zone-relocation \
--no-publicly-accessible \
--maintenance-track-name CURRENT