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. |