Chat now with support
Chat with Support

QoreStor 7.4.0 - Command Line Interface Reference Guide

Introduction to the QoreStor Command Line Reference Guide Introducing QoreStor Managing QoreStor
Alerts Commands Authenticate Commands Email_alerts Commands OST RDA SAML sc_manager command Stats Storage Group commands System User Anomaly Detection
Managing QoreStor Storage Operations
Cloud_tier Connection Container iSCSI NDMP Object_container Object_direct Performance_tier Replication Seed Schedule VTL
Maintaining QoreStor About us

cloud_tier --show

Description

Displays the current cloud connection details..

Syntax

cloud_tier --show [--verbose]
	[--name <cloud tier name>]	
	[--cloud_archive]		

Where

--verbose Displays more details
--name Displays CloudTier name
--cloud_archive View details of cloud archive

Result

Cloud_tier Name : aws-cl-bucket1
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

cloud_tier --add

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|Scality-Artesca-S3|S3-Compatible>
	[--name <cloud tier name>]
 	[--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>]
 	--enable_locking <Yes|No>

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,'-'].
--name     			Name of the CloudTier
--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
--enable_locking		Enable cloud locking or not. Valid values are Yes or No.
				

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.

cloud_tier --update

Description

Updates a cloud connection details.

Syntax

cloud_tier --update [--name <cloud tier name>]
	[--cloud_password]
       [--cloud_archive]
	[--archive_retention_in_warm <1 to 365 days>]	
	[--archive_role_arn <archive role arn>] 
       [--archive_restore_type <Batch|Lambda>]
 	[--s3_storage_class <INTELLIGENT_TIERING|STANDARD_IA|ONEZONE_IA|GLACIER_IR|STANDARD>]

Where

--name 			       Name of the CloudTier 
--cloud_password 		Updates cloud connection string
--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
--s3_storage_class		Valid values are "INTELLIGENT_TIERING" or "STANDARD_IA" or "ONEZONE_IA" or "GLACIER_IR" or "STANDARD"
 	

Result

Enter cloud connection string to connect for storage_group <cloud_tier name> :
Connection credentials validated successfully.
Storage Group "aws-cl-bucket1" updated successfully.

cloud_tier --delete

Description

Deletes an existing cloud connection.

Syntax

cloud_tier --delete [--name <cloud tier name>]
		     [--cloud_archive]

Where

--name      	Name of the CloudTier 
--cloud_archive Deletes the cloud archive and its connection

Result

Cloud Tier Storage Group "aws-cl-bucket1" has been deleted.

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating