parent
5b0e2823b1
commit
28109a18a2
|
@ -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();
|
||||||
----
|
----
|
||||||
|
|
Loading…
Reference in New Issue