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.2.1 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.2.1. It does not support versions prior to 7.2.1. |
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.2.1. It does not support versions prior to 7.2.1. |
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`.