public interface BackupService
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<okhttp3.ResponseBody> |
getBackupKV(String zapTraceSpan)
Deprecated.
|
retrofit2.Call<MetadataBackup> |
getBackupMetadata(String zapTraceSpan,
String acceptEncoding)
Download snapshot of all metadata in the server
|
retrofit2.Call<okhttp3.ResponseBody> |
getBackupShardId(Long shardID,
String zapTraceSpan,
String acceptEncoding,
OffsetDateTime since)
Download snapshot of all TSM data in a shard
|
@Deprecated @GET(value="api/v2/backup/kv") retrofit2.Call<okhttp3.ResponseBody> getBackupKV(@Header(value="Zap-Trace-Span") String zapTraceSpan)
zapTraceSpan - OpenTracing span context (optional)@GET(value="api/v2/backup/metadata") retrofit2.Call<MetadataBackup> getBackupMetadata(@Header(value="Zap-Trace-Span") String zapTraceSpan, @Header(value="Accept-Encoding") String acceptEncoding)
zapTraceSpan - OpenTracing span context (optional)acceptEncoding - Indicates the content encoding (usually a compression algorithm) that the client can understand. (optional, default to identity)@GET(value="api/v2/backup/shards/{shardID}")
retrofit2.Call<okhttp3.ResponseBody> getBackupShardId(@Path(value="shardID")
Long shardID,
@Header(value="Zap-Trace-Span")
String zapTraceSpan,
@Header(value="Accept-Encoding")
String acceptEncoding,
@Query(value="since")
OffsetDateTime since)
shardID - The shard ID. (required)zapTraceSpan - OpenTracing span context (optional)acceptEncoding - Indicates the content encoding (usually a compression algorithm) that the client can understand. (optional, default to identity)since - Earliest time to include in the snapshot. RFC3339 format. (optional)Copyright © 2018–2023 InfluxData, Inc.. All rights reserved.