Linux Operating System (MOSC)

MOSC Banner

OCI CLI Block/Boot Volume

edited Mar 9, 2022 10:59PM in Linux Operating System (MOSC) 1 commentAnswered

I am using OCI CLI tools version 2.22.2. I am attempting to create a bash script using the OCI CLI that can pull a list of all boot and block volumes within our Oracle Cloud tenancy along with their assigned backup policy (bronze/silver/gold). I am current using "oci bv volume get --volume-id [OCID]" to gather information on our volumes. However, none of the fields returned show the currently assigned backup policy. Is there another way for me to pull this information for each volume?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center