Versions in this module Expand all Collapse all v1 v1.7.9 Oct 27, 2019 Changes in this version + const BackupMagicHeader + const MuxHeader + type Client struct + func NewClient(host string) *Client + func (c *Client) MetastoreBackup() (*meta.Data, error) + func (c *Client) UpdateMeta(req *Request, upStream io.Reader) (map[uint64]uint64, error) + func (c *Client) UploadShard(shardID, newShardID uint64, destinationDatabase, restoreRetention string, ...) error + type Request struct + BackupDatabase string + BackupRetentionPolicy string + ExportEnd time.Time + ExportStart time.Time + RestoreDatabase string + RestoreRetentionPolicy string + ShardID uint64 + Since time.Time + Type RequestType + UploadSize int64 + type RequestType uint8 + const RequestDatabaseInfo + const RequestMetaStoreUpdate + const RequestMetastoreBackup + const RequestRetentionPolicyInfo + const RequestSeriesFileBackup + const RequestShardBackup + const RequestShardExport + const RequestShardUpdate + type Response struct + Paths []string + type Service struct + Listener net.Listener + Logger *zap.Logger + MetaClient interface{ ... } + Node *influxdb.Node + TSDBStore interface{ ... } + func NewService() *Service + func (s *Service) Close() error + func (s *Service) Open() error + func (s *Service) WithLogger(log *zap.Logger)