2
2
mirror of https://github.com/octoleo/restic.git synced 2024-05-28 22:50:48 +00:00

Store ID in Snapshot

This commit is contained in:
Alexander Neumann 2015-03-09 22:56:44 +01:00
parent 2166367039
commit 7b54c21726

View File

@ -770,6 +770,9 @@ func (arch *Archiver) Snapshot(p *Progress, paths []string, pid backend.ID) (*Sn
return nil, nil, err
}
// store ID in snapshot struct
sn.id = blob.Storage
debug.Log("Archiver.Snapshot", "saved snapshot %v", blob.Storage.Str())
// cache blobs