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",