How to do it...

Type the following AWS CLI command to initiate the creation of a snapshot. You'll need to wait for a few minutes for the snapshot to complete before you can use it:

aws rds create-db-snapshot \  --db-instance-identifier <primary-rds-id> \  --db-snapshot-identifier <unique-id-for-snapshot>

Get AWS Administration Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.