AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Restore-DOCDBClusterToPointInTime-DBClusterIdentifier <String>-DBSubnetGroupName <String>-DeletionProtection <Boolean>-EnableCloudwatchLogsExport <String[]>-KmsKeyId <String>-Port <Int32>-RestoreToTime <DateTime>-RestoreType <String>-SourceDBClusterIdentifier <String>-StorageType <String>-Tag <Tag[]>-UseLatestRestorableTime <Boolean>-VpcSecurityGroupId <String[]>-Select <String>-PassThru <SwitchParameter>-Force <SwitchParameter>-ClientConfig <AmazonDocDBConfig>
LatestRestorableTime
for up to BackupRetentionPeriod
days. The target cluster is created from the source cluster with the same configuration as the original cluster, except that the new cluster is created with the default security group. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | True |
Position? | 1 |
Accept pipeline input? | True (ByValue, ByPropertyName) |
DBSubnetGroup
.Example: mySubnetgroup
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
DeletionProtection
is enabled, the cluster cannot be deleted unless it is modified and DeletionProtection
is disabled. DeletionProtection
protects clusters from being accidentally deleted. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | EnableCloudwatchLogsExports |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
KmsKeyId
parameter.If you do not specify a value for the KmsKeyId
parameter, then the following occurs:DBClusterIdentifier
refers to a cluster that is not encrypted, then the restore request is rejected. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
1150
to 65535
. Default: The default port for the engine. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
UseLatestRestorableTime
parameter is not provided.UseLatestRestorableTime
parameter is true
.RestoreType
parameter is copy-on-write
.2015-03-07T23:45:00Z
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
full-copy
- The new DB cluster is restored as a full copy of the source DB cluster.copy-on-write
- The new DB cluster is restored as a clone of the source DB cluster.copy-on-write
if the engine version of the source DB cluster is earlier than 1.11.If you don't specify a RestoreType
value, then the new DB cluster is restored as a full copy of the source DB cluster. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
DBCluster
.Required? | True |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
standard | iopt1
Default value is standard
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Tags |
true
to restore the cluster to the latest restorable backup time, and false
otherwise. Default: false
Constraints: Cannot be specified if the RestoreToTime
parameter is provided. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | VpcSecurityGroupIds |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AK |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AWSProfilesLocation, ProfilesLocation |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | StoredCredentials, AWSProfileName |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | RegionToCall |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SK, SecretAccessKey |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | ST |
AWS Tools for PowerShell: 2.x.y.z