Added size and hash to database when restoring dblock files with no dindex file.

This commit is contained in:
Kenneth Skovhede
2014-12-30 17:40:51 +01:00
parent 2f1c059eb7
commit a21bb367d8
@@ -271,6 +271,8 @@ namespace Duplicati.Library.Main.Operation
m_result.OperationProgressUpdater.UpdateProgress((((float)progress / lst.Count) * 0.1f) + 0.7f + (i * 0.1f));
var volumeid = restoredb.GetRemoteVolumeID(sf.Name);
restoredb.UpdateRemoteVolume(sf.Name, RemoteVolumeState.Uploaded, sf.Size, sf.Hash, tr);
// Update the block table so we know about the block/volume map
foreach(var h in rd.Blocks)