Commit Graph
40 Commits
Author SHA1 Message Date
kenneth.skovhede@gmail.com e7dc268fad Renamed the Duplicati.Library.Core dll to Duplicati.Library.Utility as the "Core" name was misleading.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@591 59da171f-624f-0410-aa54-27559c288bec
2010-11-21 11:08:15 +00:00
kenneth.skovhede@gmail.com 0eedae3760 Fixed an issue where a cleanup would go into an infinite loop.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@564 59da171f-624f-0410-aa54-27559c288bec
2010-10-27 21:09:11 +00:00
kenneth.skovhede@gmail.com 6cbe503d28 The logic for missing folders on the backends have changed.
Previously some backends autocreated a missing folder, and some threw an exception.

The new standard is that all backends throw the FolderMissingException on all access (except delete).
This means that the Test() and List() methods are now the same for all stock backends.
Third-party applications that use the backends should implement custom logic to auto-create the folders,
when the FolderMissingException is encountered.

Duplicati auto-creates missing folders, but this can be toggled through the new flag --disable-autocreate-folders.
In case the auto-create fails to detect a missing folder, there is now a "create-folder" action in the commandline version.

Update issue #102
Status: Fixed
The IBackend_v2 interface has the CreateFolder and Test methods.
The CreateFolder is exposed to the commandline interface with the action create-folder.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@558 59da171f-624f-0410-aa54-27559c288bec
2010-10-23 11:40:43 +00:00
kenneth.skovhede@gmail.com cf8e7c4890 Better support for restoring a backup with multiple source folders.
Added name support in GUI and commandline version.
When restoring from commandline, subfolders will now be named like the source folders, if only one source folder is given.
When restoring from GUI, the names will be suggested like in the commandline.
It is no longer required that the unused folders exists when restoring a multi-source backup from the GUI.
Added size tooltips to the restore GUI window with the list of backup chains.
Now correctly deletes old signature cache files, even if they use the old names.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@542 59da171f-624f-0410-aa54-27559c288bec
2010-10-12 22:22:29 +00:00
kenneth.skovhede@gmail.com 7dc0d3cee7 Fixed some issues with passwordless operations.
Update issue #235
I have now added a simple version of the collection-status command,
which shows Type, Time, Volume count and Size for each backup set,
with the incrementals listed under the full's they belong to.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@540 59da171f-624f-0410-aa54-27559c288bec
2010-10-09 16:46:52 +00:00
kenneth.skovhede@gmail.com b20257d186 Now recognizes both old-style and new-style cache filenames (prefer new)
git-svn-id: https://duplicati.googlecode.com/svn/trunk@539 59da171f-624f-0410-aa54-27559c288bec
2010-10-09 16:11:11 +00:00
kenneth.skovhede@gmail.com b81d63ea73 Fixed a bug with async uploads that caused some files to no be uploaded.
Fixed a protential race condition with warning messages and file counts (cosmetic only) when using async transfers.
Spelling correction, Seperator -> Separator.
Changed so a restore operation can also supply advanced options.
Changed the format of timestamps in filenames to follow the Duplicity convention, which removes the need for --time-separator and --use-short-filenames.
Moved the URL utility into Core, to avoid compilation errors with Monodevelop.
Reorganized the runner to better support the LiveControls on all operations rather than only for backup/restore.

Update issue #210
Status: Fixed
I have now changed the time format to follow the Duplicity naming convention.
This means that all filenames are now generated with the time set as "yyyyMMddTHHmmssZ".
This format is more portable across all platforms, and easily sortable/readable.
The drawback is that the Z indicates UTC time, so if one looks at the filenames, 
the times are not local. The motivation for this is to avoid trouble
with daylight savings time offsets.

There is full backwards compatibility as long as backups have not used more than
one character for --time-separator (only possible via commandline).
This new format means that the options --time-separator and --use-short-filenames
are now deprecated and removed from the user interface. It is possible to
access them from the advanced options page, along with the --use-old-filenames option.

If anyone needs these options for some reason, let me know, otherwise they will be removed
in a later version.



git-svn-id: https://duplicati.googlecode.com/svn/trunk@523 59da171f-624f-0410-aa54-27559c288bec
2010-09-25 12:02:14 +00:00
kenneth.skovhede@gmail.com df085e4271 Update issue #221
Status: Fixed
Added the first generic module, a password request module.
The motivation for this is to allow the creation of custom passphrase modules.
A simple model would be to add a GUI input dialog. 
A more sophisticated version may read a passphrase to an encrypted file which contains the real passphrase or similar.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@519 59da171f-624f-0410-aa54-27559c288bec
2010-09-17 16:20:16 +00:00
kenneth.skovhede@gmail.com 537be589ee Fixed a bug where empty manifests where reported
git-svn-id: https://duplicati.googlecode.com/svn/trunk@515 59da171f-624f-0410-aa54-27559c288bec
2010-09-16 16:12:12 +00:00
kenneth.skovhede@gmail.com 3e054c2576 Added a number of error correction and detection messages to prevent the volume deletion problem created by the S3 backend bug.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@512 59da171f-624f-0410-aa54-27559c288bec
2010-09-12 21:50:09 +00:00
kenneth.skovhede@gmail.com 1aaf9c8f98 Added option to enable verbose error messages
git-svn-id: https://duplicati.googlecode.com/svn/trunk@508 59da171f-624f-0410-aa54-27559c288bec
2010-09-11 12:43:55 +00:00
kenneth.skovhede@gmail.com 8e16d51e00 Update issue #21
Status: Fixed

The backup can now proceed with a broken signature file.
A restore operation is not affected by broken signature files either,
although the restore will include previously deleted files,
if the signatures are damaged.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@492 59da171f-624f-0410-aa54-27559c288bec
2010-09-04 12:23:03 +00:00
kenneth.skovhede@gmail.com 79fdce5ca6 Update issue #185
Status: Fixed
The code to support this was already in place, but did
not work because Application.Exit() had been invoked,
making all messageboxes return Cancel without showing.

I also improved the logic a bit so a cancel does
not invoke the cleanup afterwards, making the exit
procedure faster.

I also added checks for the stop command to the
code that fetches the signature files, to make
the application respond faster to the stop command.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@490 59da171f-624f-0410-aa54-27559c288bec
2010-09-01 21:04:18 +00:00
kenneth.skovhede@gmail.com b079ece335 Update issue #90.
Status: Fixed

I have fixed a number of UI issues when using async uploads.
For one, the pause/stop features now work.

If the progress is paused, a upload progressbar will be displayed,
so the progress does not appear to hang.

When the backup is complete, the remaining uploads
are now done as normal, resulting in a normal UI display with progress.

I have also reserved some space on the progress bar for cleanup,
and inserted a status message indicating that the cleanup is in progress.

The async now works so well, that I think it should be on by default.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@482 59da171f-624f-0410-aa54-27559c288bec
2010-08-25 20:59:47 +00:00
kenneth.skovhede@gmail.com ebe68c9c70 Fixes issue #110.
Also fixed a bug with the "allow-full-removal" option.

Update issue 110
I have now added a limit to the number of generated volumes, and as described, it is 2 by default.
I have also added support for setting a custom folder where the volumes are placed in. They are placed in the temp folder by default.

I re-read the comments on this issue, and I can see that I misread the statements from Baris.Eris.
This limit does not prevent any volumes from being uploaded (you can use the --totalsize option for that),
it just pauses the volume generation when there are already two or more volumes waiting to be uploaded.
As soon as a volume is uploaded, the program continues. The purpose of this is not to limit the data being
uploaded, but rather to prevent spamming the disk with hundreds of volumes.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@476 59da171f-624f-0410-aa54-27559c288bec
2010-08-17 16:09:36 +00:00
kenneth.skovhede@gmail.com 8e74a65706 Fixed a problem where the innerException information is lost
git-svn-id: https://duplicati.googlecode.com/svn/trunk@474 59da171f-624f-0410-aa54-27559c288bec
2010-08-15 16:20:47 +00:00
kenneth.skovhede@gmail.com 51552bea24 Fixes for issue #18.
Added snapshot support using either VSS (win xp/vista/7) or LVM (linux).
Using the snapshot feature requires administrative/root privileges, and is toggled by the "snapshot-policy" option (by commandline or in advanced settings).

Also improved the validation of options to not show incorrect warnings.
This fixes issue #233.


git-svn-id: https://duplicati.googlecode.com/svn/trunk@461 59da171f-624f-0410-aa54-27559c288bec
2010-08-12 18:32:15 +00:00
kenneth.skovhede@gmail.com a40f6acf37 A fairly large refactoring of the code.
This was based on the idea that the interfaces should remain static.
I hope this change is enough to ensure stable interfaces until release 1.2.

Overview of changes:
Moved all interfaces into the same dll.
Encryption and compression is now plugable modules, just as the backends.
Encryption/compression can now register an UI.
Encryption now uses AESCrypt as a default.
GPG does not default to using the --armor option.
Added support for generic modules, but none are written yet.
Added support for plugable settings pages in the "Options" dialog.

Fixed issue #148.
Duplicati now uses AESCrypt as the default encryption format.

Fixed issue #199.
GPG now supports custom commandline options.

Fixed issue #207.
Encryption modules are now plugable.

Fixed issue #118.
S3 credentials are now stored.

Fixed issue #151.
Backends can now register system wide options.


git-svn-id: https://duplicati.googlecode.com/svn/trunk@427 59da171f-624f-0410-aa54-27559c288bec
2010-06-19 21:08:21 +00:00
kenneth.skovhede@gmail.com 50f06f0f3a Merge Sandbox Issue #5 into trunk.
Fixed issue #5.
Fixed issue #48.
Fixed issue #58.
Fixed issue #194.
Fixed issue #195.
Fixed issue #201.
Fixed issue #137.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@400 59da171f-624f-0410-aa54-27559c288bec
2010-05-12 08:41:54 +00:00
kenneth.skovhede@gmail.com 1f87e01fc7 Fixed issue #129.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@337 59da171f-624f-0410-aa54-27559c288bec
2010-01-17 20:21:08 +00:00
kenneth.skovhede@gmail.com 3156127a41 Fixed a missing upload progress bar from r310.
Added better progress text when restoring.
Added progress reporting when restoring.
Added progress bar for download, if the backend supports reporting sizes.
Also contains a fix for issue #143.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@334 59da171f-624f-0410-aa54-27559c288bec
2010-01-16 16:18:59 +00:00
kenneth.skovhede@gmail.com 05bfadbc41 Updated License notice to 2010
git-svn-id: https://duplicati.googlecode.com/svn/trunk@311 59da171f-624f-0410-aa54-27559c288bec
2010-01-03 22:57:13 +00:00
kenneth.skovhede@gmail.com e43553f608 Fixed issue #10.
Fixed issue #69.
Fixed issue #142.
I finally got the time to complete the pause and throttle options.
It required a minor rewrite, so I also fixed issue #142.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@310 59da171f-624f-0410-aa54-27559c288bec
2010-01-03 22:46:58 +00:00
kenneth.skovhede@gmail.com 6eb7159069 Fixed issue #114, removed the extra property in the IStreamingBackend interface.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@289 59da171f-624f-0410-aa54-27559c288bec
2009-09-21 20:15:29 +00:00
kenneth.skovhede@gmail.com 6167b04e75 Removed unused code, thanks to the warnings given by MonoDevelop.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@270 59da171f-624f-0410-aa54-27559c288bec
2009-08-27 20:40:31 +00:00
kenneth.skovhede@gmail.com 79c99336ab A heavy chunk of work on the translation support.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@196 59da171f-624f-0410-aa54-27559c288bec
2009-06-14 21:51:06 +00:00
kenneth.skovhede@gmail.com aa8fcdb6a0 Fixed issue #59 (SSH backend on Linux)
A full rewrite of the SSH backend, and a simple C# version of expect.
Fixed issues with similar named files on the same backend.
Fixed an issue where files were not deleted.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@172 59da171f-624f-0410-aa54-27559c288bec
2009-05-11 18:56:21 +00:00
kenneth.skovhede@gmail.com 30ae390f41 Missing changes to the previous commit.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@148 59da171f-624f-0410-aa54-27559c288bec
2009-04-07 22:05:56 +00:00
kenneth.skovhede@gmail.com 6f3b674deb Fixed issue #45.
Made heavy speedup improvements when restoring a small number of files.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@147 59da171f-624f-0410-aa54-27559c288bec
2009-04-07 22:02:51 +00:00
kenneth.skovhede@gmail.com 132a80acf9 Better error messages when listing files fails.
Re-fixed a bug with restore when there are multiple full backups.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@146 59da171f-624f-0410-aa54-27559c288bec
2009-04-07 21:11:53 +00:00
kenneth.skovhede@gmail.com 562c44f1c6 Work on issue #27, the waithandle issue is now resolved.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@143 59da171f-624f-0410-aa54-27559c288bec
2009-04-05 21:30:16 +00:00
kenneth.skovhede@gmail.com 531e7eae3e Fixed issue #44.
Fixed a problem with restoring files when there were multiple full backups.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@142 59da171f-624f-0410-aa54-27559c288bec
2009-04-05 21:11:47 +00:00
kenneth.skovhede@gmail.com 6124b79774 Fixed the PurgeSignatureCache function to only remove Duplicati files.
Added a button to purge the cache from the settings menu.
Added a size label to show the size of the signature cache.
Made the ListBackupFiles abort the current action when closed.
Made the ListBackupFiles available from the status window.
Fixed a small problem where all folders were marked as deleted in the previous commit (would only result in missing empty folders on restore).
Changed the name of the "Setup" menu to be "Wizard ..." for issue #13, and changed the icon.
Added Mono compatible SQLite dll's.
Updated the SQLite dll's to version 1.0.60.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@139 59da171f-624f-0410-aa54-27559c288bec
2009-04-01 08:30:14 +00:00
kenneth.skovhede@gmail.com eab455ddc6 Reworked the way the backends are used, by introducing a higher level BackendWrapper.
Reworked encryption to not support streaming, but only pre/post process encrypted files.
The Get/Put methods in the BackendWrapper now automatically writes/reads from the signature cache.
Introduced a DoubleClickRadioButton for use on the main pages.
Fixed a bug where zero byte files would throw an exception on restore.
Fixed a bug where deleting a folder while building the filelist would interrupt the backup.
Fixed issue #17.
Fixed issue #22.
Fixed issue #38.
Added the commandline option to support issue #39, but still needs a UI entry.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@131 59da171f-624f-0410-aa54-27559c288bec
2009-03-26 19:39:50 +00:00
kenneth.skovhede@gmail.com acfcd02a3a Fixed issue #14, and added a more readable output than what was avalible in beta 3.
Added commandline action to purge the signature cache.
Duplicati now removes files from the signature cache when they are deleted from the backend.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@130 59da171f-624f-0410-aa54-27559c288bec
2009-03-23 20:44:25 +00:00
kenneth.skovhede@gmail.com 0cd0b4d1c8 Added the cleanup method, this closes #16.
Fixed a bug where non-modified files were marked as deleted.
Cleaned up the ListContent method to use the same code as the Backup method, this closes #31.
Added a WEBDAV backend for #28, but there is no UI for it yet.
Made most of the work for documenting commandline options, #14.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@123 59da171f-624f-0410-aa54-27559c288bec
2009-03-21 12:46:54 +00:00
kenneth.skovhede@gmail.com 5bb75df28d Added passive/active option to the FTP backend.
Added button to create the remote folder, when using FTP.
This closes #2.
Added progressbars and status text to the status window.
This closes #7.
Fixed issues with interrupted uploads, if there were files, but the manifest was incomplete.
The FTP connection now has keep-alive disabled.
This closes #15.
Fixed #12 for now, the fix could have more grace, but works for now.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@112 59da171f-624f-0410-aa54-27559c288bec
2009-03-11 20:56:01 +00:00
kenneth.skovhede@gmail.com 8babf1d616 Updated license notices.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@85 59da171f-624f-0410-aa54-27559c288bec
2009-02-10 23:36:15 +00:00
kenneth.skovhede@gmail.com c9ce3a3216 Added options to throttle up and download.
GPG encryption now works correctly.
Asyncronous uploads now work as expected.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@73 59da171f-624f-0410-aa54-27559c288bec
2009-01-25 19:33:36 +00:00
kenneth.skovhede@gmail.com 67b978ab03 Fixed some statistic reporting.
Added optional retry's on remote communication.
Reports unexamined files if the total backupsize is too large.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@68 59da171f-624f-0410-aa54-27559c288bec
2009-01-20 17:17:46 +00:00