简体   繁体   English

如何通过 CLI 列出所有 RDS 快照并将其中一些字段导入电子表格

[英]How to list all the RDS snapshots through CLI and import some of those fields into a spreadsheet

I need to list all these ( ( DBSnapshotIdentifier, DBInstanceIdentifier, AvailabilityZone, SnapshotType, Encrypted, SnapshotCreateTime) properties of both automated and manual snapshots of all the available clusters and import this data into a spreadsheet.我需要列出所有可用集群的自动和手动快照的所有这些((DBSnapshotIdentifier、DBInstanceIdentifier、AvailabilityZone、SnapshotType、Encrypted、SnapshotCreateTime)属性,并将这些数据导入到电子表格中。

I tried aws rds describe-db-snapshots this command but I need to get those properties alone and also import those to a spreadsheet我尝试aws rds describe-db-snapshots这个命令,但我需要单独获取这些属性并将它们导入电子表格

Use the regular cli command and save it into a json file.使用常规 cli 命令并将其保存到 json 文件中。 aws rds describe-db-snapshots > filename.json and then convert JSON to CSV via the Command Line Using JQ aws rds describe-db-snapshots > filename.json然后使用 JQ 通过命令行将 JSON 转换为 CSV

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何获取早于x天的rds快照列表 - How to get a list of rds snapshots older than x days 如何获取使用 AWS CLI 手动创建的 RDS 数据库实例的所有快照的名称? - How can I get the name of the all snapshot of RDS DB instance created manually using the AWS CLI? firebase - 从引用列表中获取所有快照 - firebase - get all snapshots from list of refrences 如何使用 AWS CLI 批量删除多个 AWS 快照? - How to bulk delete multiple AWS snapshots using AWS CLI? 如何在 AWS cli 中获取所有实例和特定标签的列表 - How to get a list of all instances and a specific tag in AWS cli 如何通过 API 检索 AWS RDS 数据库实例中所有数据库的列表? - How can I retrieve the list of all databases in an AWS RDS DB instance via API? 如何获取 Firestore 中的所有用户,除了用户文档中的块数组列表中的用户? - How to get all users in Firestore except those in block array list inside user document? 列出所有正在运行的没有任何快照的 EC2 实例 - List all running EC2 instances without any snapshots AWD RDS 最终手动快照是完整的还是增量的? 可以恢复最终的手动快照,如果删除了事件,则您拍摄了所有其他手动快照 - AWD RDS final manual snapshot are full or incremental ? final manual snapshot can be restore, event if deleted you taken all other manual snapshots 如何生成我的所有 IAM 角色以及在 AWS 上使用这些角色的服务的列表 - How can I generate a list of all my IAM roles and the services using those roles on AWS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM