diff --git a/pkg/service/backup/backupspec/manifest.go b/pkg/service/backup/backupspec/manifest.go index cead66bfc..9c5c13c6e 100644 --- a/pkg/service/backup/backupspec/manifest.go +++ b/pkg/service/backup/backupspec/manifest.go @@ -123,6 +123,7 @@ type ManifestContent struct { Schema string `json:"schema"` Rack string `json:"rack"` ShardCount int `json:"shard_count"` + CPUCount int `json:"cpu_count"` StorageSize uint64 `json:"storage_size"` InstanceDetails InstanceDetails `json:"instance_details"` diff --git a/pkg/service/backup/worker_manifest.go b/pkg/service/backup/worker_manifest.go index 0b91d90be..ce3d23d0b 100644 --- a/pkg/service/backup/worker_manifest.go +++ b/pkg/service/backup/worker_manifest.go @@ -113,6 +113,7 @@ func (w *worker) createTemporaryManifest(ctx context.Context, h hostInfo, tokens if err != nil { return ManifestInfoWithContent{}, errors.Wrap(err, "client.NodeInfo") } + c.CPUCount = int(nodeInfo.CPUCount) c.StorageSize = nodeInfo.StorageSize instanceMeta, err := w.Client.CloudMetadata(ctx, h.IP)