Skip to content

RDS restore settings not correctly copied from original

0

Hello, we are trying to restore an RDS using the "restore to point in time" functionality. This gives us a form where we can choose the settings for the new RDS. However, some of the settings that are prefilled are different from the original RDS, and therefore we cannot restore the snapshot without changing those settings manually.

This applies to (at least) the following settings:

  • Storage autoscaling: set to true whilst it is false for the original database. With storage autoscaling true, we could not restore the snapshot since this settings is incompatible with our storage size setting.
  • AZ deployment: set to multi-AZ deployment whilst the original has single-AZ deployment. This also prevented the launch of the RDS.

This behaviour seems to have changed in the past couple of months, since this used to work fine.

Is this intended behaviour? Why would these settings not be copied from the original db?

asked 2 years ago273 views

1 Answer
0

The behavior you're experiencing with the "restore to point in time" functionality for Amazon RDS is not typical, as the restored DB instance should generally maintain most of the original configuration. However, there are a few points to consider:

  1. When restoring a DB instance to a point in time, Amazon RDS creates the new instance with most of the original configuration, but some settings may be adjusted or reset to defaults.

  2. The system selects the Availability Zone for the restored instance, which could explain the change from single-AZ to multi-AZ deployment. This is a known behavior, although it's unusual for it to prevent the launch of the RDS instance.

  3. Storage autoscaling being set to true when it was false in the original instance is not expected behavior. This setting should typically be preserved from the original configuration.

  4. If you're using the AWS Management Console for the restore process, it's possible that some default settings in the form are overriding the original configuration. This could explain why you're seeing differences in these settings.

To address these issues, you can try the following:

  1. Double-check all settings in the restore form before confirming the restore operation.

  2. If using the console doesn't provide the desired results, consider using the AWS CLI or RDS API to perform the restore. The restore-db-instance-to-point-in-time CLI command or RestoreDBInstanceToPointInTime API operation might give you more control over the specific settings.

  3. If the issue persists, it would be advisable to contact AWS Support, as this behavior seems to deviate from the expected functionality, especially if it has changed recently.

Remember that when restoring, you can modify most settings to match your original configuration if they don't automatically carry over. However, the need to do this manually for settings that should be preserved is not ideal and may indicate an issue that AWS needs to address.
Sources
Restoring to a specified time from a replicated backup for Amazon RDS - Amazon Relational Database Service
RestoreDBInstanceToPointInTime - Amazon Relational Database Service

answered 2 years ago

EXPERT

reviewed 2 years ago

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.