RStack-主控数据库备份与使用阿里OSS对象存储备份同步[部署教程]


来源: 模板家 时间: 2021-10-15 22:45:52 人气: 55 评论: 0

安装阿里OSS云存储

登录主控服务器

cd /usr/local/bin

wget https://gosspublic.alicdn.com/ossutil/1.7.3/ossutil64

chmod +x ossutil64

./ossutil64 config

执行后的说明:

以下的accessKeyID,accessKeySecret登录 https://ram.console.aliyun.com/manage/ak 创建

 此时会提示如下信息让你选择?

ou use other commands: 按回车跳过

Please enter endpoint: 因为我的endpoint是杭州节点所以我输入:oss-cn-hangzhou.aliyuncs.com

Please enter accessKeyID: 输入创建的accessKeyID

Please enter accessKeySecret: 输入创建的accessKeySecret

Please enter stsToken: 按回车跳过

创建OSS存储云路径(然后将rstack添加到主控>系统设置>自动备份>OSS云路径填写为rstack)

ossutil64 mb oss://rstack

设置主控服务器 自动备份选项 按需设置

开启云同步

开启云通知(需设置邮箱服务器 与 系统设置中的管理邮箱接收)

云路径填写 rstack


评论