Merge pull request #3897 from drwtsn32x/master
Improve logging during database recreation
This commit is contained in:
@@ -188,13 +188,18 @@ namespace Duplicati.Library.Main.Operation
|
||||
backend.WaitForComplete(restoredb, null);
|
||||
m_result.EndTime = DateTime.UtcNow;
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
progress++;
|
||||
if (filelistWork.Count == 1 && m_options.RepairOnlyPaths)
|
||||
{
|
||||
m_result.OperationProgressUpdater.UpdateProgress(0.5f);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_result.OperationProgressUpdater.UpdateProgress(((float)progress / filelistWork.Count()) * (m_options.RepairOnlyPaths ? 1f : 0.2f));
|
||||
Logging.Log.WriteVerboseMessage(LOGTAG, "ProcessingFilelistVolumes", "Processing filelist volume {0} of {1}", progress, filelistWork.Count);
|
||||
}
|
||||
|
||||
using(var tmpfile = entry.TempFile)
|
||||
{
|
||||
@@ -341,6 +346,7 @@ namespace Duplicati.Library.Main.Operation
|
||||
|
||||
progress++;
|
||||
m_result.OperationProgressUpdater.UpdateProgress((((float)progress / indexfiles.Count) * 0.5f) + 0.2f);
|
||||
Logging.Log.WriteVerboseMessage(LOGTAG, "ProcessingIndexlistVolumes", "Processing indexlist volume {0} of {1}", progress, indexfiles.Count);
|
||||
|
||||
using(var tmpfile = sf.TempFile)
|
||||
{
|
||||
@@ -456,6 +462,7 @@ namespace Duplicati.Library.Main.Operation
|
||||
|
||||
progress++;
|
||||
m_result.OperationProgressUpdater.UpdateProgress((((float)progress / lst.Count) * 0.1f) + 0.7f + (i * 0.1f));
|
||||
Logging.Log.WriteVerboseMessage(LOGTAG, "ProcessingBlocklistVolumes", "Pass {0} of 3, processing blocklist volume {1} of {2}", (i + 1), progress, lst.Count);
|
||||
|
||||
var volumeid = restoredb.GetRemoteVolumeID(sf.Name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user