The trove client is the command-line interface (CLI) for the Database service API and its extensions.
This chapter documents trove version 2.3.0
.
For help on a specific trove command, enter:
$ trove help COMMAND
trove usage¶
usage: trove [--version] [--debug] [--service-type <service-type>] [--service-name <service-name>] [--bypass-url <bypass-url>] [--database-service-name <database-service-name>] [--endpoint-type <endpoint-type>] [--os-database-api-version <database-api-ver>] [--retries <retries>] [--json] [--profile HMAC_KEY] [--insecure] [--os-cacert <ca-certificate>] [--os-cert <certificate>] [--os-key <key>] [--timeout <seconds>] [--os-auth-type <name>] [--os-auth-url OS_AUTH_URL] [--os-domain-id OS_DOMAIN_ID] [--os-domain-name OS_DOMAIN_NAME] [--os-project-id OS_PROJECT_ID] [--os-project-name OS_PROJECT_NAME] [--os-project-domain-id OS_PROJECT_DOMAIN_ID] [--os-project-domain-name OS_PROJECT_DOMAIN_NAME] [--os-trust-id OS_TRUST_ID] [--os-default-domain-id OS_DEFAULT_DOMAIN_ID] [--os-default-domain-name OS_DEFAULT_DOMAIN_NAME] [--os-user-id OS_USER_ID] [--os-username OS_USERNAME] [--os-user-domain-id OS_USER_DOMAIN_ID] [--os-user-domain-name OS_USER_DOMAIN_NAME] [--os-password OS_PASSWORD] [--os-region-name <region-name>] <subcommand> ...
Subcommands:
backup-copy
Creates a backup from another backup.
- 从其他的备份中拷贝一个新的备份
backup-create
Creates a backup of an instance.
- 为实例创造一个新的备份
backup-delete
Deletes a backup.
- 删除备份
backup-list
Lists available backups.
- 列出所有可用的备份
backup-list-instance
Lists available backups for an instance.
- 列出一个实例可用的所有的备份
backup-show
Shows details of a backup.
- 展示备份的详细信息
cluster-create
Creates a new cluster.
- 创建一个新的集群
cluster-delete
Deletes a cluster.
- 删除集群
cluster-grow
Adds more instances to a cluster.
- 为一个集群创建更多的实例
cluster-instances
Lists all instances of a cluster.
- 列出一个集群的所有实例
cluster-list
Lists all the clusters.
- 列出所有的集群
cluster-modules
- Lists all modules for each instance of a cluster.
- 列出一个集群中每个实例的所有模块
cluster-show
- Shows details of a cluster.
- 展示一个句群的所有细节
cluster-shrink
- Drops instances from a cluster.
- 从一个集群中删除实例
configuration-attach
- Attaches a configuration group to an instance.
- 为一个实例添加一个配置组
configuration-create
- Creates a configuration group.
- 创建一个配置组
configuration-default
- Shows the default configuration of an instance.
- 展示一个实例的默认设置
configuration-delete
- Deletes a configuration group.
- 删除一个配置组
configuration-detach
- Detaches a configuration group from an instance.
- 从一个实例中分离一个配置组
configuration-instances
- Lists all instances associated with a configuration group.
- 列出与配置组关联的所有实例。
configuration-list
- Lists all configuration groups.
- 列出所有的配置组
configuration-parameter-list
- Lists available parameters for a configuration group.
-
列出了配置组可用参数。
configuration-parameter-show
- Shows details of a configuration parameter.
- 列出配置参数的细节
configuration-patch
- Patches a configuration group.
-
补丁配置组。
configuration-show
- Shows details of a configuration group.
- 展示一个配置组的细节
configuration-update
- Updates a configuration group.
- 更新一个配置组
create
- Creates a new instance.
- 创建一个新的实例
database-create
- Creates a database on an instance.
- 在实例上创建一个数据库
database-delete
- Deletes a database from an instance.
- 删除一个实例上的数据库
database-list
- Lists available databases on an instance.
- 列出一个实例上可用的数据库
datastore-list
- Lists available datastores.
- 列出可用的数据存储
datastore-show
- Shows details of a datastore
- 展示一个数据存储的细节.
datastore-version-list
- Lists available versions for a datastore
- 为一个数据存储列出可用的版本.
datastore-version-show
- Shows details of a datastore version.
- 展示一个数据存储的细节
delete
- Deletes an instance.
- 删除实例
detach-replica
- Detaches a replica instance from its replication source.
- 从复制的源中分离一个复制的实例
eject-replica-source
- Ejects a replica source from its set.
- 从其设置的地方弹出一个复制源
- 更多信息:http://www.cnblogs.com/S-tec-songjian/
-
此文章属博客园用户S-tec原创作品,受国家《著作权法》保护,未经许可,任何单位及个人不得做营利性使用;若仅做个人学习、交流等非营利性使用,应当指明作者姓名、作品名称,原文地址,并且不得侵犯作者依法享有的其他权利。