Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gehriger <gehriger@gmail.com>2018-04-19 23:59:28 +0300
committerDaniel Gehriger <gehriger@gmail.com>2018-04-19 23:59:28 +0300
commit2c1a0ddb4e7f7b511e7de1ceb3b9c9c6ab7afe11 (patch)
treeb0085840dc9309f3894ea5349ff6e61ee4dc98cd /Duplicati/Library/Interface
parente9f01b61bdcba091546497a3a437d35a94b792ab (diff)
Implemented backup based on changes recorded in NTFS USN journal
Diffstat (limited to 'Duplicati/Library/Interface')
-rw-r--r--Duplicati/Library/Interface/Duplicati.Library.Interface.csproj1
-rw-r--r--Duplicati/Library/Interface/USNJournalDataEntry.cs48
2 files changed, 49 insertions, 0 deletions
diff --git a/Duplicati/Library/Interface/Duplicati.Library.Interface.csproj b/Duplicati/Library/Interface/Duplicati.Library.Interface.csproj
index 745e830ff..6c9bee0eb 100644
--- a/Duplicati/Library/Interface/Duplicati.Library.Interface.csproj
+++ b/Duplicati/Library/Interface/Duplicati.Library.Interface.csproj
@@ -47,6 +47,7 @@
<Compile Include="CustomExceptions.cs" />
<Compile Include="FileEntry.cs" />
<Compile Include="IBackend.cs" />
+ <Compile Include="USNJournalDataEntry.cs" />
<Compile Include="ICommandLineArgument.cs" />
<Compile Include="IEncryption.cs" />
<Compile Include="ICompression.cs" />
diff --git a/Duplicati/Library/Interface/USNJournalDataEntry.cs b/Duplicati/Library/Interface/USNJournalDataEntry.cs
new file mode 100644
index 000000000..7970b99b5
--- /dev/null
+++ b/Duplicati/Library/Interface/USNJournalDataEntry.cs
@@ -0,0 +1,48 @@
+#region Disclaimer / License
+// Copyright (C) 2015, The Duplicati Team
+// http://www.duplicati.com, info@duplicati.com
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+#endregion
+
+namespace Duplicati.Library.Interface
+{
+ /// <summary>
+ /// Data representing the state of an NTFS USN (Change) Journal
+ /// </summary>
+ public class USNJournalDataEntry
+ {
+ /// <summary>
+ /// Volume of journal
+ /// </summary>
+ public string Volume;
+
+ /// <summary>
+ /// Journal ID, as recorded in the journal
+ /// </summary>
+ public long JournalId;
+
+ /// <summary>
+ /// USN to start at for next fileset (backup)
+ /// </summary>
+ public long NextUsn;
+
+ /// <summary>
+ /// A hash value representing the active exclusion filter
+ /// </summary>
+ public string ConfigHash;
+ }
+}