0

我正在尝试为 OracleCloud 添加一个帐户,但我不确定我是否正确设置了一些必需的参数。我当前的命令如下所示: cbb addAccount -st OracleCloud -d OracleCloud -un "storage-a229571:" -kv no -c oracle-data-storagea-1 -ep https://a229571.storage.oraclecloud.com/v1 /storage-a229571 -reg "美国商业 2 us2" -ak https://us2.storage.oraclecloud.com/auth/v1.0

我运行它时收到此响应:无法验证帐户代码:获取 openstack 令牌 v1。消息:无法获取令牌代码:获取 openstack 令牌 v1。消息:无法获取令牌代码:无法获取工作 url。消息:无法获取工作 url

有没有人能够针对 OracleCloud 使用 Cloudberry Backup for Linux?

4

2 回答 2

0

好的,我终于有时间再做一次了。这就是我想出的:

cbb addAccount -st OracleCloud \
-d <Some Name> \
-un "storage-<identity domain>:<Oracle Cloud User Name>" \
-ak "<Password for -un>" \
-c "<An existing Container>" \
-ep <Authentication Endpoint> \
-kv no

-ep is usually https://<data center>.storage.oraclecloud.com/auth/v1.0
-reg is optional, and I could not get cbb to work if I included it
于 2016-10-06T17:40:44.473 回答
0

这是由于您将 -kv 标志设置为“否”。您需要 2 或 3,这将指导 Cloudberry Backup 使用 v2 或 v3 Keystone 版本(咨询您的 Oracle 代表)。检查此页面

以下是您可能要使用的标志的完整列表:

[root@localhost]# cbb addAccount -d Display_Name -st OracleCloud -h
CloudBerry Backup Command Line Interface started
addAccount -d Display_Name -st OracleCloud <-un UserName> <-ak ApiKey> <-c  BackupContainer> <-ep Endpoint>  [-useInternalUrl yes/no(default)] [-reg Region] [-bp BackupPrefix] <-kv no> | <-kv 2 <-tn TenantName | -ti TenantID> > | <-kv 3 [-us < yes | no > <-pn project_name> | <-pi project_id>] <-dn DomainName | -di DomainID> >
     -d   Display_Name    : Display name.
     -un  UserName        : User name.
     -ak  ApiKey          : Api key.
     -reg Region          : Region. Optional.
     -c   BackupContainer : Backup container.
     -ep  Endpoint        : Auth endpoint.
     -bp  BackupPrefix    : Backup prefix to differentiate between backups from different computers. Optional, by default is computer name.
     -kv  Keystone Version: Keystone version. Possible values 2, 3, no.
     -pn  project_name    : Project name. Use only with keystone version 3.
     -pi  project_id      : Project id. Use only with keystone version 3.
     -tn  TenantName      : Tenant name. Use only with keystone version 2.
     -ti  TenantID        : Tenant id. Use only with keystone version 2.
     -us  Use_scope       : Use scope. Use only with keystone version 3. Possilble values yes, no.
     -dn  DomainName      : Domain name. Use only with keystone version 3.
     -dn  DomainID        : Domain id. Use only with keystone version 3.
     -useInternalUrl      : use internal url. Optional, by default is no. Possilble values yes, no.
于 2016-09-14T17:40:53.707 回答