Skip to content

Commit

Permalink
在示例中增加aws
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjusss committed Sep 12, 2018
1 parent 5f21d21 commit 7cfa24e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions example.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7cfa24e

Please sign in to comment.