9 Commits

Author SHA1 Message Date
David Pilato
6e1ab49757 Update to elasticsearch 1.1.1
(Impact only on tests as test framework moved a bit)

(cherry picked from commit e5a32c0)
2014-04-18 11:31:22 +02:00
David Pilato
96c280f43d Update to elasticsearch 1.1.0
Closes #11.
2014-03-26 19:37:35 +01:00
David Pilato
11dfdfb189 Add Azure Storage repository
elasticsearch 1.0 will provide a new feature named `Snapshot & Restore`.

We want to add support for [Azure Storage](http://www.windowsazure.com/en-us/documentation/services/storage/).

To enable Azure repositories, you have first to set your azure storage settings:

```yaml
    cloud:
        azure:
            storage_account: your_azure_storage_account
            storage_key: your_azure_storage_key
```

The Azure repository supports following settings:

* `container`: Container name. Defaults to `elasticsearch-snapshots`
* `base_path`: Specifies the path within container to repository data. Defaults to empty (root directory).
* `concurrent_streams`: Throttles the number of streams (per node) preforming snapshot operation. Defaults to `5`.
* `chunk_size`: Big files can be broken down into chunks during snapshotting if needed. The chunk size can be specified
in bytes or by using size value notation, i.e. `1g`, `10m`, `5k`. Defaults to `64m` (64m max)
* `compress`: When set to `true` metadata files are stored in compressed format. This setting doesn't affect index
files that are already compressed by default. Defaults to `false`.

Some examples, using scripts:

```sh
$ curl -XPUT 'http://localhost:9200/_snapshot/my_backup1' -d '{
    "type": "azure"
}'

$ curl -XPUT 'http://localhost:9200/_snapshot/my_backup2' -d '{
    "type": "azure",
    "settings": {
        "container": "backup_container",
        "base_path": "backups",
        "concurrent_streams": 2,
        "chunk_size": "32m",
        "compress": true
    }
}'
```

Example using Java:

```java
client.admin().cluster().preparePutRepository("my_backup3")
        .setType("azure").setSettings(ImmutableSettings.settingsBuilder()
                .put(AzureStorageService.Fields.CONTAINER, "backup_container")
                .put(AzureStorageService.Fields.CHUNK_SIZE, new ByteSizeValue(32, ByteSizeUnit.MB))
        ).get();
```

Closes #2.
2014-03-17 09:23:29 +01:00
David Pilato
fbf9b0049c Update to elasticsearch 1.0.0.RC1
Closes #4.
2014-01-15 16:30:42 +01:00
David Pilato
48b264172c update headers 2014-01-15 16:04:02 +01:00
David Pilato
316a1411d0 Move tests to elasticsearch test framework
Move tests to elasticsearch test framework.
In addition to this, we want to refactor some package names to prepare next snapshot/restore feature (see #2).

Closes #3.
2014-01-07 00:03:44 +01:00
David Pilato
0c185a19b2 Fix after review: no need to ask for SERVICE_NAME twice 2013-11-06 16:05:20 +01:00
David Pilato
a1f85f6d90 Preparing release for 1.0.0-Alpha 2013-11-06 09:54:30 +01:00
David Pilato
fba4f6b1a1 Create elasticsearch-cloud-azure project 2013-08-22 13:16:00 +02:00