Chat now with support
Chat with Support

QoreStor 7.0.1 - Command Line Reference Guide

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

container --cloud_policy

Description

Cloud policy for a replication primary container.

Syntax

container --cloud_policy [--age_of_file <1 hours to 70 years (in hours)>]
	[--incl_file_ext <file extension list>]
	[--excl_file_ext <file extension list>]
	[--incl_file_regex <file regex pattern>]
	[--excl_file_regex <file regex pattern>]
	[--incl_dir <include directory list>]
	[--excl_dir <exclude directory list>]
	[--on_prem_reten_age <1 hours to 70 years (in hours)>]
	[--reset <incl_file_ext|incl_file_regex|excl_file_ext|excl_file_regex|incl_dir|excl_dir>]
	--name <name>

Where:

--age_of_file         Age of file in hours to be pushed to cloud.
--incl_file_ext       Comma separated list of file extensions of files to be pushed to cloud.( Ex: .jpg,.gz )
--excl_file_ext       Comma separated list of file extensions of files to be excluded from pushing to cloud.( Ex: .jpg,.gz )
--incl_file_regex     | separated list of regular expressions files to be pushed to cloud.( Ex: .jpg|.gz )
--excl_file_regex     | separated list of regular expressions files to be pushed to cloud.( Ex: .jpg|.gz )
--incl_dir            Comma separated list of directories in which files under those directories needs to be pushed to cloud. ( Ex: /inc_dir1/,/inc_dir2 )
--excl_dir            Comma separated list of directories in which files under those directories that should be excluded from pushing to cloud. ( Ex: /excl_dir1/,.excl_dir2 )
--on_prem_reten_age   Age in number of hours the on_prem data that is uploaded to cloud should be retained.
--reset               reset incl_file_ext, excl_file_ext, incl_dir or excl_dir.
--name                Name of container.

Result

container --delete_files --name <name>

Description

Deletes only the data files in a container, and leaves the container intact.

Syntax

container --delete_files --name <name>

Where

--name   Container Name

Result

Error: Connection needs to be disabled first.

NOTE: This command is only supported on OST/RDA connection type containers and the connection to the container must be disabled before you can delete its files. For details, see connection --disable . To delete the files and the existing OST container on which the files resides, see container --delete.

container --add_uac

Description

Add user access control to the container. Mode is [RW | RWD]

Syntax

container --add_uac --name <name> --user <user name> --mode <RW|RWD>
Where
--name   Name of container.
--user   Name of the user.
--mode   Access permissions for the user: {RW | RWD}

Result

Successfully updated container with uac for user "<user name>"

container --delete_uac

Description

Delete user access control to the container.

Syntax

container --delete_uac --name <name>  --user <user name>

Where

--name   Name of container.
--user   Name of the user.

Result

Successfully deleted uac for user "<user>" from the container

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating