Commit Graph
145 Commits
Author SHA1 Message Date
Kenneth Skovhede 56a97ee70a Added bash script to checkout testing data 2013-03-16 12:08:52 +01:00
Kenneth Skovhede 53a6631a85 Mono-fication of projects 2013-03-16 12:07:58 +01:00
Kenneth Skovhede 2d852fc131 Added new options to unit test to make profiling easier 2013-03-16 12:07:06 +01:00
Kenneth Skovhede a0c3dd03eb Fixed a stray debug item 2013-03-15 22:11:51 +01:00
Kenneth Skovhede ada71d379b Fixed unit test to copy source files to a temporary location for backup so that the filename re-use mechanism is checked. 2013-03-15 21:14:57 +01:00
Kenneth Skovhede b21fc3289e Refactored the unit test to be more profiling friendly 2013-03-09 13:25:04 +01:00
Kenneth Skovhede aca4ed95cc More work on the block hash.
Rewrote the backup and restore to work within a transaction as that speeds things up a lot.
Rewrote the backup procedure to generate the file list from the database, instead of on-the-fly as that is more efficient.
Re-arranged the database to use less storage on large sets of unchanged files.
2013-03-08 22:24:54 +01:00
Kenneth Skovhede c0d2f8f0e1 Merge branch 'master' into sandboxes/Kenneth/ForestHash
Conflicts:
	Duplicati.sln
	Duplicati/CommandLine/Program.cs
	Duplicati/CommandLine/Strings/Program.Designer.cs
	Duplicati/CommandLine/Strings/Program.resx
	Duplicati/CommandLine/UnitTest.cs
	Duplicati/CommandLine/help.txt
	Duplicati/GUI/Datamodel/Datamodel.csproj
	Duplicati/GUI/Duplicati.csproj
	Duplicati/GUI/Program.cs
	Duplicati/GUI/Wizard pages/RestoreSetup/FinishedRestoreSetup.cs
	Duplicati/Library/Backend/File/FileBackend.cs
	Duplicati/Library/Compression/FileArchiveDirectory.cs
	Duplicati/Library/Compression/FileArchiveZip.cs
	Duplicati/Library/Interface/ICompression.cs
	Duplicati/Library/Main/Duplicati.Library.Main.csproj
	Duplicati/Library/Main/Interface.cs
	Duplicati/Library/Main/Options.cs
	Duplicati/Library/Main/RSyncDir.cs
	Duplicati/Library/Main/Strings/Interface.Designer.cs
	Duplicati/Library/Main/Strings/Interface.resx
	Duplicati/Library/Utility/BlockingQueue.cs
	Duplicati/Library/Utility/Duplicati.Library.Utility.csproj
	Duplicati/Library/Utility/Strings/Utility.Designer.cs
	Duplicati/Library/Utility/Strings/Utility.resx
	Duplicati/Library/Utility/ThrottledStream.cs
	Duplicati/Library/Utility/Timeparser.cs
	Duplicati/Library/Utility/Utility.cs
	Duplicati/Server/Duplicati.Server.csproj
	Duplicati/Server/DuplicatiRunner.cs
	Duplicati/Server/Program.cs
2013-03-08 12:07:13 +01:00
rstach@gmail.com 1787691203 Missing word in CLI help
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1541 59da171f-624f-0410-aa54-27559c288bec
2013-03-02 21:57:39 +00: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
rstach@gmail.com 23eb72b8b1 Add missing word in CLI help
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1537 59da171f-624f-0410-aa54-27559c288bec
2013-03-02 06:58:37 +00:00
kenneth@hexad.dk a0521da54d Initial version of the new block-based storage format.
Still needs a work over in terms of error handling, progress reporting, warning output, refactoring etc.
Also misses the volume reuse/reclaim algorithms.
But it passes the unit tests now, with and without a local database.

git-svn-id: https://duplicati.googlecode.com/svn/sandboxes/Kenneth/ForestHash@1526 59da171f-624f-0410-aa54-27559c288bec
2013-02-12 21:43:14 +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
rstach@gmail.com ce43e5fdbe Added list-source-folders to the CLI help.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1503 59da171f-624f-0410-aa54-27559c288bec
2013-01-19 09:12:00 +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 f256d2cfa8 Reintegrated sandbox Andreas/webui into trunk, as that is what we will be using onwards
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1482 59da171f-624f-0410-aa54-27559c288bec
2012-11-18 16:24:32 +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 9f76eb94f7 Merged r1267 into trunk
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1268 59da171f-624f-0410-aa54-27559c288bec
2012-05-10 20:33:59 +00:00
kenneth@hexad.dk f7eab32f13 Fixed a network-drive debugging issue
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1260 59da171f-624f-0410-aa54-27559c288bec
2012-05-08 19:05:03 +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 4f80113ecf Updated backendtester to support modules, so it output certificate errors and hashes
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1241 59da171f-624f-0410-aa54-27559c288bec
2012-05-05 18:14:02 +00:00
kenneth@hexad.dk 83bf3d13df Fixed a problem with the unit test when there are sets with no changes.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1171 59da171f-624f-0410-aa54-27559c288bec
2012-03-20 19:47:16 +00:00
kenneth@hexad.dk b99075cc7b Fixed debugging/running the command line version from a network drive.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1170 59da171f-624f-0410-aa54-27559c288bec
2012-03-20 19:45:50 +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 14c26db679 Added changes to r1120, updated the project file to include the new executables
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1123 59da171f-624f-0410-aa54-27559c288bec
2012-02-03 07:47:54 +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 ce9043da74 Improved error message for the backendtester when creating folders
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1117 59da171f-624f-0410-aa54-27559c288bec
2012-02-03 07:29:37 +00:00
kenneth@hexad.dk 9bebb15319 Improved logging of the unit test when creating folders fail
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1106 59da171f-624f-0410-aa54-27559c288bec
2012-01-19 19:05:52 +00:00
kenneth@hexad.dk 9f4f917a1a Reintegrated 2.0 - trunk is now 2.0
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1076 59da171f-624f-0410-aa54-27559c288bec
2011-12-16 19:40:50 +00:00
kenneth@hexad.dk c387c9d9db Fixed some issues with signing that cause problems under MonoDevelop
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1054 59da171f-624f-0410-aa54-27559c288bec
2011-12-06 09:54:38 +00:00
kenneth@hexad.dk 48accd49bc Revert bogus commit r1051
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1053 59da171f-624f-0410-aa54-27559c288bec
2011-12-05 17:17:54 +00:00
kenneth@hexad.dk 3ef5514162 Update issue #504
Status: Fixed

The mkdir command is now executed without a trailing slash.
Since this is too close to the release of 1.3, there is a fallback that will try with a trailing slash as well, to catch the odd case where a SSH server has the opposite problem.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1051 59da171f-624f-0410-aa54-27559c288bec
2011-12-05 17:05:57 +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@hexad.dk a571f239fb Fixed some build issues after the merge.
Also fixed the build problems with MonoDevelop (non-signed assemblies)

git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1009 59da171f-624f-0410-aa54-27559c288bec
2011-11-18 23:47:27 +00:00
kenneth.skovhede@gmail.com b108e96e8e Temporary checkin for the 2.0 stuff
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1005 59da171f-624f-0410-aa54-27559c288bec
2011-11-18 18:03:18 +00:00
kenneth@hexad.dk 63580c169b Merged trunk into 2.0 branch
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1000 59da171f-624f-0410-aa54-27559c288bec
2011-11-17 22:44:36 +00:00
kenneth.skovhede@gmail.com 95d49bf120 Updated backendtester to also attempt to overwrite uploaded files, as both SkyDrive and GoogleDocs had problems with that.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@943 59da171f-624f-0410-aa54-27559c288bec
2011-10-25 19:01:55 +00:00
kenneth.skovhede@gmail.com 41b1a5ad4a Added a protection against partial downloads
git-svn-id: https://duplicati.googlecode.com/svn/trunk@941 59da171f-624f-0410-aa54-27559c288bec
2011-10-22 14:55:06 +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 0b8b0d44ea Update issue #392
Status: Fixed

There is now a more consistent parsing of boolean commandline parameters.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@918 59da171f-624f-0410-aa54-27559c288bec
2011-09-27 05:35:49 +00:00
kenneth.skovhede@gmail.com 091994c0cb Merged trunk changes into 2.0 branch
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@906 59da171f-624f-0410-aa54-27559c288bec
2011-09-23 06:24:58 +00:00
kenneth.skovhede@gmail.com c85deda4c4 Updated project files to VS2010 instead of the rather outdated VS2008, this should make things easier for new people joining in.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@874 59da171f-624f-0410-aa54-27559c288bec
2011-09-09 17:10:35 +00:00
kenneth.skovhede@gmail.com bdc3ce0dd9 Update issue #376
Status: Fixed

There is now a Google Docs backend.

The API turned out to be broken (or at least hard to use correctly) for uploading files,
so I eventually wrote a custom uploader. The custom uploader can also upload files larger
than 10 MB.

I have tested this with my usual test setup, but let me know if there are any issues with it.
A preview release will be put on the download page asap.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@835 59da171f-624f-0410-aa54-27559c288bec
2011-07-23 15:18:40 +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 992f696b29 Update issue #119
Status: Fixed

There is now a SkyDrive backend.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@820 59da171f-624f-0410-aa54-27559c288bec
2011-06-29 06:30:02 +00:00
kenneth.skovhede@gmail.com db8cdd0dd2 Update issue #160
Status: Fixed

Changed to the AWSSDK library, which fixes a few quirks, but basically seems to be the Affirma version slightly renamed.



git-svn-id: https://duplicati.googlecode.com/svn/trunk@811 59da171f-624f-0410-aa54-27559c288bec
2011-06-23 21:37:14 +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