There are two main methods to complete backup and restore in AWS RDS instance using snapshots or using native method MSSQL procedures
Using the fist method is well documented and can be used, however in certain conditions the native backup and restore method have to be used.
More details on https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.Procedural.Importing.Native.Using.html
EAR on AWS
Cloud-Service-Broker
Cloud Service Broker provisions Amazon RDS MSSQL instances and Amazon S3 buckets as completely independent services.
CSB's MSSQL Terraform creates the RDS instance but does not create an IAM Role for S3 access, does not configure an Option Group with backup/restore capabilities, and does not link the two services in any way.
Application binding credentials are intentionally scoped to a single database for security. Native backup and restore from S3 requires a one-time AWS infrastructure setup that CSB does not provision automatically.
Following procedure can be used to complete the restore to a new RDS service instance:
Regarding reading the master password from the CSB broker database: this is not an officially supported operation and is intentionally complex — it requires direct access to the CSB broker's backing PostgreSQL database AND the CSB encryption key which is stored in Ops Manager tile configuration. This is not something a customer or operator should be expected to do in normal circumstances.
The confirmed procedure for the customer's production restore remains using Secrets Manager:
cf update-service mssql2 -c '{"use_managed_admin_password": true}'
⚠️ Known issue (Broadcom Troubleshooting Docs): This update will fail on the first attempt due to an AWS provider bug. Run the exact same command a second time. It will succeed on the second attempt.
For the detailed plan on completing the steps please reach out to Tanzu Support.