All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

KArchive user guide

Last updated:2021-07-06 15:04:41

  1. Before you start
  1. Operations in the KS3 console
  1. API operations

Before you start

You can use Kingsoft Cloud Archive Storage (KArchive) in the following three ways:

  1. KS3 console Log in to the KS3 console in your browser. In the console, you can create a KArchive bucket, upload objects to the bucket, restore the objects, and change the storage class. For more information, see Operations in the KS3 console.
  2. API operations You can call the API operations to use KArchive to flexibly meet your development requirements. For more information, see Archive Storage Related.
  3. Lifecycle rules You can configure lifecycle rules to change the storage classes of objects. When an object stored in KS3 expires, the system automatically changes the storage class of the object to Archive based on the lifecycle rule. For more information about KS3, see Kingsoft Cloud Standard Storage Service. For more information about lifecycle management, see Manage lifecycle.

Activate KArchive

  1. Create a Kingsoft Cloud account. Before you use KArchive, make sure that you have created a Kingsoft Cloud account and completed real-name verification. If you have not created a Kingsoft Cloud account, create an account. For more information, see Activate KS3.
  2. Log in to the KS3 console.

Operations in the KS3 console

Create a KArchive bucket

  1. Log in to the KS3 console and click Bucket in the left navigation pane.

  2. On the Bucket list page, click Create Bucket.

  3. In the Create Bucket panel, enter a bucket name. After the bucket is created, the bucket name cannot be changed.

The bucket name must conform to the following naming rules:

  • The name can contain only abcdefghijklmnopqrstuvwxyz0123456789.-.
  • The name must start with a lowercase letter or digit.
  • The name can contain 3 to 63 characters in length.
  • The name cannot be in the IP address format, such as 192.168.0.1.
  • The name cannot start with kss.
  1. Set the Region parameter to the data center to which the bucket belongs. After the bucket is created, the region cannot be changed.

  2. Set the Project parameter to the project to which the bucket belongs. After the bucket is created, you can change the project as required.

  3. Set the Storage type parameter to Archive.

  4. Set the Access Control parameter to the required access permission.

Note:

Public Reading/Writing: Anyone including anonymous users can upload objects to the bucket and list the objects, and costs of all these operations are borne by the bucket creator. Use this permission with caution.

Public Reading: Only the bucket creator can write data to the objects in the bucket, but anyone including anonymous users can list the objects in the bucket.

Private: Only the bucket creator can upload objects to the bucket and list the objects. Others have no access to the objects in the bucket.

Upload objects

  1. Log in to the KS3 console and click Bucket in the left navigation pane. On the Bucket list page, click the name of the target KArchive bucket.

  2. On the Bucket Details tab, click the Content Management tab. On the Content Management tab, click File Uploading.

  3. In the Upload files panel, select one or more objects or folders to upload.

  4. Set the Storage type parameter to ARCHIVE.

  5. Set the Access Control parameter to the required access permission.

  6. Click OK to upload the objects.

Share objects

You must restore an Archive object before you can share it. The restoration takes about 1 to 5 minutes. After an object is restored, it is in the Restored state. You can download or share it.

Note: Kingsoft Cloud charges you a fee for data retrieval when you restore objects. For more information, see Billing modes and items.

  1. Log in to the KS3 console and click Bucket in the left navigation pane. On the Bucket list page, click the name of the target KArchive bucket.

  2. On the Bucket Details tab, click the Content Management tab. On the Content Management tab, click the name of the target object, or click Details in the Action column of the target object.
  3. In the File details panel, click Restore.

  4. In the message that appears, click OK.

Delete objects

  1. Log in to the KS3 console and click Bucket in the left navigation pane. On the Bucket list page, click the name of the target KArchive bucket.

  2. On the Bucket Details tab, click the Content Management tab. On the Content Management tab, find the object that you want to delete and choose More > Delete in the Action column. To delete multiple objects at a time, select the objects and choose Batch operation > Delete

  3. In the message that appears, click OK.

Delete buckets

  1. Log in to the KS3 console and click Bucket in the left navigation pane. On the Bucket list page, find the bucket that you want to delete and click Delete in the Action column.

  2. In the message that appears, click OK.

Note: Before you delete a bucket, make sure that all objects in the bucket are deleted. For more information about how to delete objects, see Delete objects.

API operations

For more information about API operations related to Archive storage, see Archive Storage Related.

On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback