Buckets
Naming and creating buckets
Naming
Bucket names must start with your organization’s prefix followed by a dot:
<prefix>.<bucket-name>
Find your prefix in the Elastx Cloud Console. Names without the prefix are rejected.
Create a bucket
mc mb thevault/<prefix>.<bucket-name>
With object locking (immutability):
mc mb --with-lock thevault/<prefix>.<bucket-name>
Note: Object locking can only be enabled when the bucket is created. It also enables versioning, which cannot be turned off. See Object locking.
Upload and download
mc cp ./file.tar.gz thevault/<prefix>.<bucket-name>/
mc cp thevault/<prefix>.<bucket-name>/file.tar.gz ./
mc ls thevault/<prefix>.<bucket-name>