Im trying to restore/create a MS SQL database from a .bak file of another MS SQL database (versions 2014), however from SQL benchmark I can see that my task is never done.
I followed this documentation and the one from AWS:
https://trailheadtechnology.com/blog/restoring-a-sql-server-backup-to-amazon-rds
Steps:
- Create the db with permissions to S3 for data restoring.
- Install SQL benchmark Linux and Driver
- Connect to the database
- Upload data to S3
RESTORE:
exec msdb.dbo.rds_restore_database @restore_db_name='DB_test', @s3_arn_to_restore_from='arn:aws:s3:::bucket/backup.bak';
Then it creates the TASK and hangs there..I had wait for 30 min and the status is always 0% complete...no errors
PD. My user is the creator of the database, the one given to AWS at the creation through the console.