我试图为OracleCloud添加一个帐户,但我不确定是否正确设置了一些必需的参数。我当前的命令如下:
cbb addAccount-st OracleCloud-d OracleCloud-un“storage-a229571:”-kv no-c oracle-data-storagea-1-ephttps://a229571.storage.oraclecloud.com/v1/storage-a229571-reg“美国商业2 us2”-akhttps://us2.storage.oraclecloud.com/auth/v1.0
当我运行它时会得到这样的响应:
无法验证帐户
代码:获取openstack令牌v1。消息:无法获取令牌
代码:获取openstack令牌v1。消息:无法获取令牌
代码:无法获取工作url。消息:无法获取工作url
有没有人能够在OracleCloud上使用Cloudberry的Linux备份?

最佳答案

这是因为你的-千伏旗,你设置为“不”。您需要2或3,这将指导Cloudberry备份使用v2或v3 Keystone版本(请咨询您的Oracle代表)。检查这个page
下面是您可能要使用的标志的完整列表:

[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.

关于linux - 为Linux设置Cloudberry Backup for OracleCloud,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/39456425/

10-10 17:49