Fix example for s3 repository bucket name

Closes #13588.
This commit is contained in:
David Pilato 2015-11-23 13:14:02 +01:00
parent 5b0e2823b1
commit 28109a18a2
1 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ PUT _snapshot/my_backup2
{ {
"type": "azure", "type": "azure",
"settings": { "settings": {
"container": "backup_container", "container": "backup-container",
"base_path": "backups", "base_path": "backups",
"chunk_size": "32m", "chunk_size": "32m",
"compress": true "compress": true
@ -150,7 +150,7 @@ Example using Java:
---- ----
client.admin().cluster().preparePutRepository("my_backup_java1") client.admin().cluster().preparePutRepository("my_backup_java1")
.setType("azure").setSettings(Settings.settingsBuilder() .setType("azure").setSettings(Settings.settingsBuilder()
.put(Storage.CONTAINER, "backup_container") .put(Storage.CONTAINER, "backup-container")
.put(Storage.CHUNK_SIZE, new ByteSizeValue(32, ByteSizeUnit.MB)) .put(Storage.CHUNK_SIZE, new ByteSizeValue(32, ByteSizeUnit.MB))
).get(); ).get();
---- ----