Update documentation and json examples for snapshot agent

This commit is contained in:
Preetha Appan 2017-06-21 21:15:02 -05:00
parent 7e86f4e746
commit 5bc9edb4ec
1 changed files with 5 additions and 1 deletions

View File

@ -103,7 +103,9 @@ Usage: `consul snapshot agent [options]`
"secret_access_key": "",
"s3_region": "",
"s3_bucket": "",
"s3_key_prefix": "consul-snapshot"
"s3_key_prefix": "consul-snapshot",
"s3_server_side_encryption":false,
"s3_static_snapshot_name":""
}
}
}
@ -188,6 +190,8 @@ if desired.
* `-aws-s3-server-side-encryption` - Enables saving snapshots to S3 using server side encryption with [Amazon S3-Managed Encryption Keys](http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html)
* `-aws-s3-static-snapshot-name` - If this is given, all snapshots are saved with the same file name. The agent will not rotate or versionize snapshots, and will save them with the same name each time.
Use this if you want to rely on [S3's versioning capabilities](http://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html) instead of the agent handling it for you.
## Examples
Running the agent with no arguments will run a long-running daemon process that will