From 7cfa24e05f5f08c928c7af4265d769cddb276a7b Mon Sep 17 00:00:00 2001 From: sanjusss Date: Wed, 12 Sep 2018 12:59:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E7=A4=BA=E4=BE=8B=E4=B8=AD=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0aws?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/example.json b/example.json index 6c701b5..5dcc7c9 100644 --- a/example.json +++ b/example.json @@ -17,6 +17,23 @@ }, "Tips": "name:任务名称;provider:上传服务提供商;path:需要备份的文件夹或文件在本地的路径;crontab:启动备份的时间集合,可以参考http://cron.qqe2.com/,使用时需要注意时区;uploader:上传设置" }, + { + "name": "上传到 aws", + "provider": "aws", + "path": "/data", + "crontab": [ + "0,30 * * * * ?" + ], + "uploader": { + "regionSystemName": "us-west-1", + "awsAccessKeyId": "xxxx", + "awsSecretAccessKey": "yyy", + "bucket": "backup", + "path": "data/file", + "Tips": "regionSystemName:区域的系统名,例如 us-west-1awsAccessKeyId:AWS Access Key ID;awsSecretAccessKey:AWS Secret Access Key;bucket:存储空间名;path:文件在存储空间下的路径前缀,例如\"data/some\",最终会生成类似\"data/some201809092054.zip\"之类的文件" + }, + "Tips": "name:任务名称;provider:上传服务提供商;path:需要备份的文件夹或文件在本地的路径;crontab:启动备份的时间集合,可以参考http://cron.qqe2.com/,使用时需要注意时区;uploader:上传设置" + }, { "name": "上传到 baidu", "provider": "baidu",