@@ -29,15 +29,21 @@ import (
2929
3030// BackupMeta provides meta data of a backup
3131type BackupMeta struct {
32- ID BackupID `json:"id,omitempty"`
33- Version string `json:"version,omitempty"`
34- DateTime time.Time `json:"datetime,omitempty"`
35- NumberOfFiles uint `json:"nrFiles,omitempty"`
36- NumberOfDBServers uint `json:"nrDBServers,omitempty"`
37- SizeInBytes uint64 `json:"sizeInBytes,omitempty"`
38- PotentiallyInconsistent bool `json:"potentiallyInconsistent,omitempty"`
39- Available bool `json:"available,omitempty"`
40- NumberOfPiecesPresent uint `json:"nrPiecesPresent,omitempty"`
32+ ID BackupID `json:"id,omitempty"`
33+ Version string `json:"version,omitempty"`
34+ DateTime time.Time `json:"datetime,omitempty"`
35+ NumberOfFiles uint `json:"nrFiles,omitempty"`
36+ NumberOfDBServers uint `json:"nrDBServers,omitempty"`
37+ SizeInBytes uint64 `json:"sizeInBytes,omitempty"`
38+ PotentiallyInconsistent bool `json:"potentiallyInconsistent,omitempty"`
39+ Available bool `json:"available,omitempty"`
40+ NumberOfPiecesPresent uint `json:"nrPiecesPresent,omitempty"`
41+ Keys []BackupMetaSha256 `json:"keys,omitempty"`
42+ }
43+
44+ // BackupMetaSha256 backup sha details
45+ type BackupMetaSha256 struct {
46+ SHA256 string `json:"sha256"`
4147}
4248
4349// BackupRestoreOptions provides options for Restore
0 commit comments