From f1895acff53cbcaaeaf2bbaad241d1bf97b44808 Mon Sep 17 00:00:00 2001 From: BlueBlock Date: Tue, 10 Sep 2019 13:05:45 -0400 Subject: [PATCH] add the fileset file to dlist we also jsut set PartialBackup=false just to be clear and not assume the value --- Duplicati/Library/Main/Operation/BackupHandler.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Duplicati/Library/Main/Operation/BackupHandler.cs b/Duplicati/Library/Main/Operation/BackupHandler.cs index e5cc48400..d04884e99 100644 --- a/Duplicati/Library/Main/Operation/BackupHandler.cs +++ b/Duplicati/Library/Main/Operation/BackupHandler.cs @@ -30,6 +30,8 @@ using Duplicati.Library.Snapshots; using Duplicati.Library.Utility; using Duplicati.Library.Common.IO; using Duplicati.Library.Common; +using Duplicati.Library.Main.Operation.Backup; +using Duplicati.Library.Main.Operation.Common; namespace Duplicati.Library.Main.Operation { @@ -241,11 +243,11 @@ namespace Duplicati.Library.Main.Operation if (token.IsCancellationRequested) { - result.PartialBackup = true; } else { + result.PartialBackup = false; await database.UpdateFilesetAndMarkAsFullBackupAsync(filesetid); } @@ -499,8 +501,11 @@ namespace Duplicati.Library.Main.Operation } } + // Add the fileset file to the dlist file + filesetvolume.CreateFilesetFile(!token.IsCancellationRequested); + // Ensure the database is in a sane state after adding data - using(new Logging.Timer(LOGTAG, "VerifyConsistency", "VerifyConsistency")) + using (new Logging.Timer(LOGTAG, "VerifyConsistency", "VerifyConsistency")) await db.VerifyConsistencyAsync(m_options.Blocksize, m_options.BlockhashSize, false); // Send the actual filelist