Creates Snapshot of current data
PUT {{baseUrl}}/admin/tsdb/snapshot?skip_head=false
Snapshot creates a snapshot of all current data into snapshots/<datetime>-<rand>
under the TSDB's data directory and returns the directory as response. It will optionally skip snapshotting data that is only present in the head block, and which has not yet been compacted to disk.
New in v2.1 and supports PUT from v2.9
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
skip_head | boolean | Skip data present in the head block. Optional. | |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"status":"success","data":{"name":"20171210T211224Z-2be650b6d019eb54"}}