Description
List bucket(s)/object(s) in an object_container.
Syntax
object_container --bkt-list --name <container name>
[--bkt-name <bucket name>]
[--object-prefix <anything>]
Where
--name Name of the container
--bkt-name Name of the bucket
Result
[2023-04-17 13:34:55 EDT] 0B bucket1/
Description
Locks the configuration of buckets specifically in ObjectContainer only.
Syntax
object_container --bkt-lock --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
Successfully set bucket lock configuration: default-bucket mode :compliance 10d
|
NOTE: This CLI is used for locking the ObjectContainer buckets created before QoreStor 7.3.0 release. |
Description
Enable or suspend bucket versioning.
Syntax
object_container --bkt-version --name <container name>
--bkt-name <bucket name>
--mode <enable|suspend>
Where
--name Name of the container
--bkt-name Name of the bucket
--mode <enable|suspend>
Result
ObjectContainer1/bucket1 versioning is enabled.
|
NOTE: This CLI is used for enabling the versioning for the Object Container buckets created in 7.3.0. It does not support versions prior to 7.3.0. |
Description
Legalhold configuration of objects in a bucket for Object containers.
Syntax
object_container --bkt-legalhold --name <container name>
--bkt-name <bucket name>
--mode <set|clear>
[--object-name <anything>]
[--object-prefix <anything>]
Where
--name Name of the container
--bkt-name Name of the bucket
--mode <enable|suspend>
Result
Object legal hold successfully set for `file1`.
|
NOTE: This CLI is used for Legalhold configuration of bucket objects for Object Container created in 7.3.0. It does not support versions prior to 7.3.0. |