
Cloud infrastructure makes life easy for IT people. The common task for any IT project is maintaining back-end data.
AWS provides database as service which is commonly known as Relation Database Service (RDS). It has the support of all popular databases like SQL server, MySQL, and PostgresSQL.
AWS RDS provides a built-in service for backup, which is configurable. It takes the snapshot of your entire DB instance and keeps it in AWS infra as a backup. Although this service work fabulously, there are times when you need to have database file natively stored on your machine.
This article will elaborate on the process of creating a .bak file from the AWS RDS SQL server instance.
Login to your AWS console and navigate to RDS, from the side menu locate the link for the options group as shown below
You will be redirected to the page for creating a new option group
Provide appropriate name and description for option group, its essential to keep and Engine and its number the same as of RDS database.
Once you have created an option-group, you need to add an option you will be redirected to the screen for adding an option
Select Sql server backup restore from the option dropdown
Create a new I am role, AWS will automatically grant access to this role for SQL server backup and restore
you can apply this option group to reflect immediately or at scheduled maintenance time.
For storing the backup file you need to create a bucket in S3 storage. Navigate to S3 storage and add the bucket as shown below
Keep the default settings as it is. Once you are ready with the bucket, All you need to do is to execute the below command on your MMC
exec msdb.dbo.rds_backup_database
@source_db_name=’database_name’,
@s3_arn_to_backup_to=’arn:aws:s3:::bucket_name/file_name.extension’
Replace database_name with the actual database name, and bucket_name with the actual name of the bucket.
Similarly, replace file_name.extension with the name of the file and its extension
It will create a backup file in s3 bucket.
Resource Center
These aren’t just blogs – they’re bite-sized strategies for navigating a fast-moving business world. So pour yourself a cup, settle in, and discover insights that could shape your next big move.
Chrome DevTools MCP: The Game Changer in AI Development
In today’s fast-paced AI development ecosystem, coding assistants have become an essential part of modern workflows. However, one of the biggest challenges has been the lack of real-time feedback [...]
What Are the Top 5 MCPs for Fullstack Developers?
In the ever-evolving world of software development, staying ahead of the curve is not just desirable—it’s essential. Fullstack developers, who bridge the gap between front-end and back-end development, require [...]
What Are the Top 10 MCPs for Front-End Developers?
In the rapidly evolving field of web development, front-end developers are continually challenged to stay ahead with the latest tools, frameworks, and technologies. As someone who has spent over [...]