Configuring an Online Decompression Policy (Beta Testing)
You can compress multiple files into a ZIP package and then upload it to OBS for auto decompression online.
To achieve online decompression, configure a decompression policy before a package upload. If an uploaded package matches the configured policy, OBS automatically decompresses the package. Decompression policies do not apply to the ZIP packages that already exist in OBS before the policies are created.
You can create online decompression policies or replicate existing online decompression policies from another bucket.
Online decompression is currently available only in the CN North-Beijing4, CN South-Guangzhou, and CN East-Shanghai2 regions.
Creating an Online Decompression Policy
- In the navigation pane on the left of OBS Console, choose Object Storage.
- In the bucket list, click a bucket name, and then the Overview page of the bucket is displayed.
- In the navigation pane, choose Data Processing > Online Decompression. The Online Decompression page is displayed.
- Click Create. The dialog box shown in Figure 1 is displayed.
- Configure the online decompression policy. Table 1 describes the related parameters.
- Click OK. The online decompression policy is created.
Replicating Online Decompression Policies
- In the navigation pane on the left of OBS Console, choose Object Storage.
- In the bucket list, click a bucket name, and then the Overview page of the bucket is displayed.
- In the navigation pane, choose Data Processing > Online Decompression. The Online Decompression page is displayed.
- Click Replicate.
- Select a replication source, that is, the source bucket for which the online decompression policies were configured.
- The online decompression policies replicated from a source bucket will not overwrite existing policies in the destination bucket, and any that conflict with the existing ones will not be replicated.
- The version of both the source and destination buckets must be 3.0.
- You can remove the policies that you do not want to replicate.
- There can be 10 online decompression policies at most in a bucket. If the number of policies you will replicate plus the number of existing policies in the destination bucket exceeds 10, the replication will fail. Before replicating the policies, delete some if necessary.
Figure 2 Replicating online decompression policies
- Click OK to replicate the online decompression policies to the destination bucket.
Last Article: Cloud Trace Service
Next Article: Task Management

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.