Chat now with support
Chat with Support

QoreStor 7.4.1 - 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 Anomaly Detection
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-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`

object_container --policy-unset

Description

Unset a policy to the user.

Syntax

object_container --policy-unset --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 unset policy `readwrite` to user `backup_user` on object container `ObjectContainer1`.

NOTE: This command is valid for the Object containers created from QoreStor 7.4.1 onwards.

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating