Updating the Object Storage Object's Storage Tier

Update the storage tier for an object in that reside in the Standard and Infrequent Access tiers in an Object Storage bucket.

You can update the storage tier for objects that reside in the Standard and Infrequent Access tiers, but not the Archive tier. If you update the storage tier of an object to Archive, you can't change it back to a different tier. To update the storage tier of an object, you need OBJECT_UPDATE_TIER permissions.

Important

Objects in the Archive and Infrequent Access tiers have a minimum storage retention period and data retrieval fees. For more information, see Understanding Storage Tiers.

    1. On the Buckets list page, select the Object Storage bucket that you want to work with. If you need help finding the list page or the Object Storage bucket, see Listing Buckets.
    2. On the details page, select Objects.
    3. From the Actions menu for the object you want, select Update Storage Tier.
    4. Select an option under Storage Tier:
      • Standard Tier

      • Infrequent Access

      • Archive

      See Object Storage Storage Tiers for descriptions of the storage tier types.

    5. Select Save Changes.
  • Use the oci os object update-storage-tier command and required parameters to change the storage tier for an object in a bucket:

    oci os object update-storage-tier --bucket-name bucket_name --name object_name --storage-tier [Archive | InfrequentAccess | Standard] [OPTIONS]

    For example:

    oci os object update-storage-tier --bucket-name MyStandardBucket --name MyFile.txt --storage-tier Archive
    

    To view an object's storage tier, see Getting an Object's Details.

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the UpdateObjectStorageTier operation to change the storage tier for an object in a bucket.

    Object Storage prepends the Object Storage namespace string and bucket name to the object name when constructing a URL for use with the API:

    /n/object_storage_namespace/b/bucket/o/object_name

    The object name is everything after the /o/, which could include hierarchy levels and prefix strings.