This page is used to test the ELB!
ELB01
ELB test (page one)!
恢复副本集备份到本地自建数据库
假设路径“/path/to/mongo”为执行恢复操作所在路径,路径“/path/to/mongo/data”为备份文件所在路径。 步骤 2 恢复前,确保路径“/path/to/mongo/data”为空目录。 cd /path/to/mongo/data/ rm -rf* 步骤 3 将已下载的副本集备份文件压缩包复制到“/path/to/mongo/data/”路径下,并解压。
Xcopy
/Xcopy --source-host 源库host --source-port 源库端口 --source-user 源库用户 --so...password '源库密码' --dest-host 目标库host --dest-port 目标库端口 --dest-user 目标库用户 --dest-password '目标库密码' --include-table 表名 --truncate模式级别数据迁移。.
通过程序代码连接实例
使用keytool工具配置CA证书: keytool -importcert -trustcacerts -file path to certificate authority file> -keystore <path to trust store> -storepass <password> 在程序中设置JVM 系统属性以指向正确的信任库和密钥库: System.setProperty("javax.net.ssl.trustStore","<path to trust store>");
数据回源配置
操作步骤 点击天翼云门户首页的“控制中心”,输入登录的用户名和密码,进入控制中心页面。 在控制台上方点击,选择地域,以下操作选择上海-上海36。 在控制台首页,选择“存储>对象存储”。 在ZOS控制台,单击Bucket名称进入“概览”页面。 选择“基础设置”页面,找到“数据回源”,点击“设置”按钮。 点击“创建规则”,在弹出的数据回源规则窗口中按参数说明进行配置。