This topic introduces the cloud_tier command usage:
- cloud_tier --show [options]
- cloud_tier --add [options]
- cloud_tier --update [options]
- cloud_tier --delete [options]
- cloud_tier --setpassphrase
- cloud_tier --enable [options]
- cloud_tier --purge-ssl-certificate
- cloud_tier --src_cont_list [--cloud_archive]
- cloud_tier --help
Description
Displays the current cloud connection details..
Syntax
cloud_tier --show [--verbose]
[--cloud_archive]
Where
--verbose Display more details.
--cloud_archive View details of cloud archive
Result
Cloud_tier Name : DefaultCloudTier
Cloud_tier Compression Type : Fast
Cloud_tier Encryption Set : On
Cloud_tier Encryption Type : Static
Cloud_tier Rotate Period : 0
Cloud_tier Passphrase set : Yes
Description
Adds a new cloud connection.
|
NOTE: You will need your cloud provider connection string to properly configure the cloud tier.
For Azure:
The Connection String can be found in your Azure portal under Storage Accounts >Access leys > Connection string
For AWS S3 and compatible platforms:
AWS Connection String to be formed from the Security credentials in the below format. "accesskey=<ABDCEWERS>;secretkey=< >; loglevel=warn; region=<aws-region>;"
The correct Region Name can be obtained from
https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
NOTE:For more information see : QoreStor User Guide. |
Syntax
cloud_tier --add --cloud_container <bucket name> --cloud_provider <AWS-S3|AZURE|Wasabi-S3|Backblaze-S3|Google-S3|IBM-S3|S3-Compatible>
[--cloud_archive_service <S3-Glacier|S3-Deep-Archive>]
[--archive_retention_in_warm <1 to 365 days>]
[--archive_role_arn <archive role arn>]
[--archive_restore_type <Batch|Lambda>]
where
--cloud_container Name of the cloud container. Valid values are [a-z,A-Z,0-9,'-'].
--cloud_provider Name of the cloud service provider. Valid values are [a-z,A-Z,0-9,'-'].
--cloud_archive_service Name of the cloud archive service. Valid values are [a-z,A-Z,0-9,'-'].
--archive_retention_in_warm Valid values are [0-9], default 7 days. Value entered is in days and counted from date of restore.
--archive_role_arn Valid values are [a-z,A-Z,0-9,'_','-',':','/']
--archive_restore_type Valid values are Batch or Lambda
Result
Enter AWS cloud connection string to connect to container <name>:
Checking if container [<name>] is empty...
Container empty test pass. Container [<name>] in the cloud is empty.
Connection credentials validated successfully.
Cloud Tier created successfully.
Description
Updates a cloud connection details.
Syntax
cloud_tier --update [--cloud_password]
[--cloud_archive]
[--archive_retention_in_warm <1 to 365 days>]
[--archive_role_arn <archive role arn>]
[--archive_restore_type <Batch|Lambda>]
Where
--cloud_password Updates cloud connection password.
--cloud_archive Update connection for cloud archive
--archive_retention_in_warm Valid values are [0-9], default 7 days. Value entered is in days and counted from date of restore.
--archive_role_arn Valid values are [a-z,A-Z,0-9,'_','-',':','/']
--archive_restore_type Valid values are Batch or Lambda
Result
Enter cloud connection string to connect for storage_group <cloud_tier name> :
Connection credentials validated successfully.
Cloud Tier updated successfully.