立即与支持人员聊天
与支持团队交流

QoreStor 7.3.0 - Command Line Interface Reference Guide

Introduction to the QoreStor Command Line Reference Guide Introducing QoreStor Managing QoreStor
Alerts Commands Authenticate Commands Email_alerts Commands OST RDA SAML sc_manager command Stats Storage Group commands System User
Managing QoreStor Storage Operations
Cloud_tier Connection Container iSCSI NDMP Object_container Object_direct Performance_tier Replication Seed Schedule VTL
Maintaining QoreStor About us

object_container --bkt-retention

Description

Retention configuration of bucket and objects inside it.

Syntax

object_container --bkt-retention --name <container name> 
--bkt-name <bucket name>
--mode <compliance|governance|none>
[--object-name <anything>]
[--object-prefix <anything>]
[--valid-days <1 to 36500 days>]
[--valid-years <1 to 100 years>]

Where

--name Name of the container
--bkt-name Name of the bucket
--mode <compliance|governance|none>

Result

Object retention successfully set for `ObjectContainer1/bucket3/file1`.

object_container --bkt-show

Description

Show Locking and Retention configauration of a bucket and objects inside it.

Syntax

object_container --bkt-show --name <container name> 
--bkt-name <bucket name>
[--object-name <anything>]
[--object-prefix <anything>]

Where

--name Name of the container
--bkt-name Name of the bucket

Result

Object Locking                : Enabled 
Object Retention Mode : COMPLIANCE
Object Retention Duration : 10DAYS
Object Versioning : Enabled

object_container --policy-list

Description

List all the available policies.

Syntax

object_container --policy-list --name <container name>
            

Where

--name Name of the container

Result

List of available policies on object container`ObjectContainer1` are:
writeonly
readonly
readwrite

object_container --policy-set

Description

Set a policy to the user.

Syntax

object_container --policy-set --name <container name> 
--policy-name <Policy name>
--user-name <user name>
            

Where

--name Name of the container
--policy-name Name of the policy
--user-name Name of the user


Result

Successfully set policy `readwrite` to user `backup_user` on object container `ObjectContainer1`
相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级