S3 bucket not restoring to RDS Databases

0

Hello, I created an option group, and created an IAM role for my s3 .bak file. When I completed this and selected the s3 bucket, I was encouraged to close the option group and check the databases section of RDS. Although I got these success messages: Successfully added option SQLSERVER_BACKUP_RESTORE to the option group northwindoptiongroup. and Successfully created option group northwindOptionGroup. View option group

I cannot see any databases. Is there a step that I missed, using the UI that I am unaware of?

Thanks in advance

질문됨 9달 전266회 조회
2개 답변
0

I am using this to back up my DB to s3

Use [dms_sample]
GO

BACKUP DATABASE [dms_sample] TO
DISK = 'C:\Backup\dms_sample.bak'
WITH NOFORMAT, NOINIT,
NAME = 'Full Backup of dms_sample', SKIP, NOREWIND, NOUNLOAD, STATS = 10
Go

and using this command to upload it aws --profile northwinddba s3 cp C:\Backup\northwind.bak s3://northwind1/

it was successful in the upload. I can see the .bak file in the my bucket.

When I go to the option group Enter image description here

and then select my bucket as such :

Enter image description here

when I go to the databases tab, there isn't anything Enter image description here

답변함 9달 전
0

You haven’t said that you have executed a backup or restore via SQL management studio to/from the S3 bucket. Backups and restores do not automatically occur. That is a manual step or a job via SQL agent.

Please confirm how you are initiating the backup/restore to or from S3

To restore a bak file from S3 please see restore steps from https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.Procedural.Importing.html

profile picture
전문가
답변함 9달 전

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

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

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

관련 콘텐츠