Skip to content

Commit

Permalink
vss: fallback to MS provider
Browse files Browse the repository at this point in the history
  • Loading branch information
DRON-666 committed Mar 22, 2021
1 parent c5cb2cc commit f261ce3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions internal/fs/vss_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -861,8 +861,11 @@ func NewVssSnapshot(provider string,
}

if err := iVssBackupComponents.AddToSnapshotSet(volume, providerID, &snapshotSetID); err != nil {
iVssBackupComponents.Release()
return VssSnapshot{}, err
providerID = ole.NewGUID("{b5946137-7b9f-4925-af80-51abd60b20d5}")
if iVssBackupComponents.AddToSnapshotSet(volume, providerID, &snapshotSetID) != nil {
iVssBackupComponents.Release()
return VssSnapshot{}, err
}
}

mountPointInfo := make(map[string]MountPoint)
Expand Down

0 comments on commit f261ce3

Please sign in to comment.