diff --git a/Duplicati/CommandLine/Commands.cs b/Duplicati/CommandLine/Commands.cs index 93c6c718f..4b73ffd16 100644 --- a/Duplicati/CommandLine/Commands.cs +++ b/Duplicati/CommandLine/Commands.cs @@ -150,6 +150,7 @@ namespace Duplicati.CommandLine return PrintWrongNumberOfArguments(args, 1); string backend = args[0]; + args.RemoveAt(0); using(var i = new Library.Main.Controller(backend, options)) i.Restore(args.ToArray(), filter);