Get the Latest Snapshot of your Database
Table of Contents

Introduction

The following command can be used to get the latest snapshot of your Oracle database.

Code

aws rds describe-db-snapshots --db-instance-identifier <db instance identifier> --query="reverse(sort_by(DBSnapshots, &SnapshotCreateTime))[0].DBSnapshotIdentifier"

Published 2nd November 2022

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License