From 8142be255772c8e59f97818edd3f7ddb2841ead5 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Mon, 24 Jun 2024 19:18:45 +0200 Subject: [PATCH] chore(kb/aws/rds): add source --- knowledge base/cloud computing/aws/rds.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/knowledge base/cloud computing/aws/rds.md b/knowledge base/cloud computing/aws/rds.md index a7881d6..62e80d9 100644 --- a/knowledge base/cloud computing/aws/rds.md +++ b/knowledge base/cloud computing/aws/rds.md @@ -88,6 +88,8 @@ the data into the new instance.
Use one of the following methods: - Use the database engine's native dump and restore method.
+ Consider using [transportable DBs][migrating databases using rds postgresql transportable databases] when dealing with + PostgreSQL DBs. This **will** require downtime. - [Perform an homogeneous data migration][migrating databases to their amazon rds equivalents with aws dms] using AWS's [DMS][what is aws database migration service?] for minimal downtime. @@ -275,12 +277,13 @@ $ aws rds cancel-export-task --export-task-identifier 'my_export' ## Restore DB instances **can** be restored from DB snapshots.
-Instances **cannot** be restored with less storage. +Restoring instances from snapshots requires the new instances to have **equal or more** allocated storage than what the +original instance had allocated at the time the snapshot was taken. ```sh aws rds restore-db-instance-from-db-snapshot \ - --db-instance-identifier 'mynewdbinstance' \ - --db-snapshot-identifier 'mydbsnapshot' + --db-instance-identifier 'myNewDbInstance' \ + --db-snapshot-identifier 'myDbSnapshot' ``` ## Encryption @@ -311,6 +314,7 @@ latest available backup. - [How can I decrease the total provisioned storage size of my Amazon RDS DB instance?] - [What is AWS Database Migration Service?] - [Migrating databases to their Amazon RDS equivalents with AWS DMS] +- [Migrating databases using RDS PostgreSQL Transportable Databases]