diff --git a/Duplicati/CommandLine/UnitTest.cs b/Duplicati/CommandLine/UnitTest.cs index 7e7482900..b3444ea0a 100644 --- a/Duplicati/CommandLine/UnitTest.cs +++ b/Duplicati/CommandLine/UnitTest.cs @@ -93,7 +93,11 @@ namespace Duplicati.CommandLine Console.WriteLine("Backing up the full copy: " + folders[0]); using (new Timer("Full backup of " + folders[0])) + { + options["full"] = ""; Duplicati.Library.Main.Interface.Backup(folders[0], target, options); + options.Remove("full"); + } for (int i = 1; i < folders.Length; i++) { diff --git a/Duplicati/Library/Backend/FTP/FTPBackend.cs b/Duplicati/Library/Backend/FTP/FTPBackend.cs index 3be88bfe1..5b1b801e8 100644 --- a/Duplicati/Library/Backend/FTP/FTPBackend.cs +++ b/Duplicati/Library/Backend/FTP/FTPBackend.cs @@ -75,7 +75,7 @@ namespace Duplicati.Library.Backend #endregion - private Match MatchLine(string line) + private static Match MatchLine(string line) { Match m = null; foreach (Regex s in PARSEFORMATS) @@ -85,7 +85,7 @@ namespace Duplicati.Library.Backend return null; } - private FileEntry ParseLine(string line) + public static FileEntry ParseLine(string line) { Match m = MatchLine(line); if (m == null) diff --git a/Duplicati/Library/Backend/SSH/Duplicati.Library.Backend.SSH.csproj b/Duplicati/Library/Backend/SSH/Duplicati.Library.Backend.SSH.csproj index 10e18cf2a..4b2e45c7f 100644 --- a/Duplicati/Library/Backend/SSH/Duplicati.Library.Backend.SSH.csproj +++ b/Duplicati/Library/Backend/SSH/Duplicati.Library.Backend.SSH.csproj @@ -41,6 +41,10 @@ {994F3D0A-E91E-4EEE-80EE-064485E09909} Duplicati.Library.Backend.BackendInterface + + {F61679A9-E5DE-468A-B5A4-05F92D0143D2} + Duplicati.Library.Backend.FTP +