[英]How to list all the RDS snapshots through CLI and import some of those fields into a spreadsheet
我需要列出所有可用集群的自動和手動快照的所有這些((DBSnapshotIdentifier、DBInstanceIdentifier、AvailabilityZone、SnapshotType、Encrypted、SnapshotCreateTime)屬性,並將這些數據導入到電子表格中。
我嘗試aws rds describe-db-snapshots
這個命令,但我需要單獨獲取這些屬性並將它們導入電子表格
使用常規 cli 命令並將其保存到 json 文件中。 aws rds describe-db-snapshots > filename.json
然后使用 JQ 通過命令行將 JSON 轉換為 CSV
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.