RDS takes a full snapshot of the storage volume right after the DB instance is created, then one snapshot per day in the backup window. Between the snapshots, RDS uploads the transaction logs (WAL) to Amazon S3 every 5 minutes. Together, they let you restore the database to any second between the earliest and the latest restorable time.
In the Amazon RDS console, choose rdspg-lab-db, then open the Maintenance & backups tab:
rds:preupgrade-..., the snapshot that RDS took just before the major version upgrade in step 2.2.
Open AWS CloudShell and run:
aws rds describe-db-instances \
--db-instance-identifier rdspg-lab-db \
--query 'DBInstances[0].[BackupRetentionPeriod,PreferredBackupWindow,LatestRestorableTime]' \
--output table
aws rds describe-db-snapshots \
--db-instance-identifier rdspg-lab-db \
--query 'DBSnapshots[].[DBSnapshotIdentifier,SnapshotType,Status]' \
--output table
1), the backup window, and the latest restorable time in UTC are the same as in the console.automated. A snapshot that you take yourself has the type manual.
You cannot delete an automated snapshot yourself. RDS deletes it when it is older than the retention period. When you delete the DB instance, you can choose to keep the automated backups for the rest of the retention period.