Commit Graph
88 Commits
Author SHA1 Message Date
Kenneth Skovhede 176c3e1114 Bugfix for --source in parameters file 2013-12-07 15:23:11 +01:00
Kenneth Skovhede 47bc010b3c Added test-filters command 2013-12-07 15:22:51 +01:00
Kenneth Skovhede aff431eafb Various output tweaks 2013-08-28 17:18:29 +02:00
Kenneth Skovhede e20108fe6f Bugfix for invoking CLI without parameters 2013-08-24 20:59:33 +02:00
Kenneth Skovhede 021847acf3 Added alias "verify" for the "test" command 2013-08-24 14:02:33 +02:00
Kenneth Skovhede 54758a83ee Renamed create-bug-report to create-report 2013-08-23 22:23:52 +02:00
Kenneth Skovhede a0ce141be9 Implemented a message sink so we can filter messages rather than dumping them to console 2013-08-18 23:16:58 +02:00
Kenneth Skovhede 2bf912a0af Rewrote the filter system to distinguish between match and result, which allows filter combinations 2013-06-29 12:16:30 +02:00
Kenneth Skovhede f0d0dfb586 Implemented the test command 2013-06-26 21:59:01 +02:00
Kenneth Skovhede aabd2b4698 Fixed wrong error message 2013-06-26 21:50:47 +02:00
Kenneth Skovhede 5b05dc5bb1 Removed recreate database as a cli command, repair does the same now 2013-06-20 20:17:43 +02:00
Kenneth Skovhede e36fa0c441 Implemented list-changes 2013-06-20 20:17:10 +02:00
Kenneth Skovhede 137e889874 Implemented the create-bug-report command 2013-06-16 22:27:51 +02:00
Kenneth Skovhede b19eaacbd7 Implented ListControlFiles and added file count and file size to the normal list output 2013-05-30 21:54:43 +02:00
Kenneth Skovhede 99bbe8481d Added command line input as output if --verbose is set 2013-05-30 21:18:03 +02:00
Kenneth Skovhede c29d9d00b9 Implemented the backup command.
Rewrote filter handling across the entire project.
2013-05-13 22:32:05 +02:00
Kenneth Skovhede 3b70f99722 Implemented the new delete command and removed some more unused code 2013-05-11 22:56:21 +02:00
Kenneth Skovhede 524d096d5b Added the new LIST command 2013-05-11 12:03:15 +02:00
Kenneth Skovhede 211edcffdd Some cleanup after removing the old format 2013-05-05 18:14:27 +02:00
Kenneth Skovhede c7836ce403 Removed support for the old file format 2013-05-05 17:54:59 +02:00
Kenneth Skovhede e100e0a8d8 Merge branch 'master' into sandboxes/Kenneth/ForestHash
Conflicts:
	Duplicati/CommandLine/help.txt
	Duplicati/GUI/Program.cs
	Duplicati/GUI/Wizard pages/RestoreSetup/FinishedRestoreSetup.cs
2013-05-05 17:11:14 +02:00
Kenneth Skovhede 9d09cb473d Renamed ftp-password to auth-password and ftp-username to auth-username 2013-05-05 16:40:37 +02:00
Kenneth Skovhede 93bdb2a434 Merge branch 'master' into sandboxes/Kenneth/ForestHash
Conflicts:
	Duplicati/CommandLine/Help.cs
	Duplicati/CommandLine/Program.cs
	Duplicati/Library/Main/Strings/Interface.Designer.cs
	Duplicati/Library/Main/Strings/Interface.resx
	Duplicati/Library/Main/Strings/Options.Designer.cs
	Duplicati/Library/Main/Strings/Options.resx
2013-05-04 14:07:04 +02:00
Kenneth Skovhede 7ac9ce698a Simplified the CLI and moved actual commands into a separate file 2013-05-02 20:57:39 +02:00
Kenneth Skovhede 65b4efdfab Added method to scrub filenames from database 2013-04-22 21:20:14 +02:00
Kenneth Skovhede 58f9ee9582 Cherry picked 23e675077e 2013-04-09 21:43:39 +02:00
Kenneth Skovhede a2df8ccd4f Improved error message if the user forgets to type the target url 2013-04-09 21:37:57 +02:00
Kenneth Skovhede 40c85e1cb8 Improved error message if the user forgets to type the target url 2013-04-08 22:19:42 +02:00
Kenneth Skovhede 23e675077e Fixed issue when running with no console attached 2013-04-08 22:19:19 +02:00
Kenneth Skovhede 62e00308a6 Bugfix to the delete-filesets 2013-04-01 15:04:22 +02:00
Kenneth Skovhede 5ea0322fd1 Added guards to prevent calling unsupported methods from CLI 2013-04-01 13:05:12 +02:00
Kenneth Skovhede 499745220d Improved cleanup to report the file sets that reference a non-accesible block
Added command to allow deleting specific filesets
2013-03-31 19:33:34 +02:00
Kenneth Skovhede cfda6c4abb Major overhaul, which includes the option to select hash algorithm.
Implemented delete-all-but-n and delete-older-than.
Implemented compacting.
Added the --dry-run option, which currently works for deleting and compacting, but not restore or backup.
Added output to console for use with dry-run, and added option to redirect this to the log for use in service mode.
2013-03-27 16:06:45 +01:00
kenneth@hexad.dk 77c82cf4f7 Fixed the single most commonly reported issue: forgetting to write file:// in front of the target URI.
It is now permitted to specify the target or source path, without the file:// prefix, but ONLY if there is also a "backup" or "restore" argument, otherwise it is not possible to infer what to do.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1538 59da171f-624f-0410-aa54-27559c288bec
2013-03-02 13:41:30 +00:00
kenneth@hexad.dk bc099b0f97 Update issue #766
Refactored the patch from issue #766
Moved reading into a function in the utility module.
Moved parsing of file data into a function.

Added parameters to the command line client, such that the CLI may have options.
Implemented these options in the help output, so the --parameters-file can be viewed from the help.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1511 59da171f-624f-0410-aa54-27559c288bec
2013-01-22 16:12:24 +00:00
kenneth@hexad.dk 3823a74e07 Fixed an issue with linefeeds not being written in the operating system format.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1493 59da171f-624f-0410-aa54-27559c288bec
2012-12-14 09:17:58 +00:00
kenneth@hexad.dk 8f3d2b961f Added reporting of symlinks.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1421 59da171f-624f-0410-aa54-27559c288bec
2012-08-07 20:12:12 +00:00
kenneth@hexad.dk d83eb730f2 Update issue #678
Status: Fixed

The CLI now returns error codes.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1420 59da171f-624f-0410-aa54-27559c288bec
2012-08-07 19:36:49 +00:00
kenneth@hexad.dk a292998f96 Changed so --debug-output also gives a stracktrace if the entire command line process crashes.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1418 59da171f-624f-0410-aa54-27559c288bec
2012-08-07 17:54:58 +00:00
kenneth@hexad.dk 7e5dd2d581 Update command line help to use a friendlier format.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1258 59da171f-624f-0410-aa54-27559c288bec
2012-05-08 18:32:31 +00:00
kenneth@hexad.dk 93dbd7fb02 Update issue #613
Status: Fixed

That was caused by a fix in r1159.
I have tested that the fix does not cause a regression.
Strange that it has not been reported before though.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1246 59da171f-624f-0410-aa54-27559c288bec
2012-05-06 19:37:16 +00:00
kenneth@hexad.dk 87263927de Fixed a problem with using delete-all-but-n as an option instead of as a command.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1159 59da171f-624f-0410-aa54-27559c288bec
2012-03-17 12:00:32 +00:00
kenneth@hexad.dk eb5583aee1 Update issue #532
Status: Fixed

Changed the included GPG to use gpg4win version 2.1.0 and include all required files.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1120 59da171f-624f-0410-aa54-27559c288bec
2012-02-03 07:34:25 +00:00
kenneth@hexad.dk eeee931ea0 All tray icons are now working.
This changes all implementations to run off the TrayIconBase, so there is only a single place to maintain the tray icon and menus.
WinForms and Gtk has been updated to use this new implementation.
The ApplicationIndicator has been added so the TrayIcon now shows under Ubuntu Unity as well.
Cocoa support has been added so there is now a NSStatusItem. In order to debug this, a special MonoDevelop-MonoMac project has been added, but this is not used in the solution. The project just loads the regular implementation, but the project builds a .app package and debugs from it. Everything should build on a stock Windows machine with VS, and Ubuntu/OSX with MonoDevelop (needs WinForms to build, but not to run).

The TrayIcon icons are now limited to Idle,Paused,Running and an Error/Warning notifier overlay, giving a total of six icons.
The graphics needs to be updated to reflect this, and the server SuggestedStatusIcon should be changed to only output one of these states.

git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1039 59da171f-624f-0410-aa54-27559c288bec
2011-11-28 11:05:42 +00:00
kenneth.skovhede@gmail.com c138d1668e Added the delete-all-but-n command
git-svn-id: https://duplicati.googlecode.com/svn/trunk@939 59da171f-624f-0410-aa54-27559c288bec
2011-10-19 05:50:10 +00:00
kenneth.skovhede@gmail.com a2c69ee672 Made some user-experience enhancements for the commandline interface
git-svn-id: https://duplicati.googlecode.com/svn/trunk@833 59da171f-624f-0410-aa54-27559c288bec
2011-07-23 14:57:32 +00:00
kenneth.skovhede@gmail.com b0a359fd27 Updated license text
git-svn-id: https://duplicati.googlecode.com/svn/trunk@770 59da171f-624f-0410-aa54-27559c288bec
2011-05-09 19:52:28 +00:00
kenneth.skovhede@gmail.com fb62721ea2 Changed the way the commandline usage text is stored, so it is easier to localize
git-svn-id: https://duplicati.googlecode.com/svn/trunk@734 59da171f-624f-0410-aa54-27559c288bec
2011-03-27 15:07:55 +00:00
kenneth.skovhede@gmail.com c753e7c622 Changed the default filesize to be -1 to differentiate files with length = 0 from those with no reported length.
Now also stores the filename+size of signature/content files to ensure that the parsed filenames match the expected ones.
The filesize and filenames are used to verify that the remote file is complete, without downloading it.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@716 59da171f-624f-0410-aa54-27559c288bec
2011-03-11 18:42:20 +00:00
kenneth.skovhede@gmail.com b834dab602 This commit upgrades the manifest version number to 3.
This commit includes an option to create an unencrypted verification file.
There is now a check to see if all volumes mentioned in the manifest exists,
before performing backup/restore operations.
This check is also performed on cleanup.
There is now a check that prevents auto-cleanup from removing more than
2 orphan files. 

If a delete-older-than or delete-all-but-n-full is interrupted, the leftover
files will not be auto-deleted but must be deleted with the cleanup command,
which allows the user to see what files are delete.

Update issue #360
Status: Fixed

There is now a complete verification chain, where the manifest hashes are verified backwards.


git-svn-id: https://duplicati.googlecode.com/svn/trunk@711 59da171f-624f-0410-aa54-27559c288bec
2011-03-10 18:26:38 +00:00