Commit Graph
324 Commits
Author SHA1 Message Date
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 85dfb95d79 Update issue #257
Status: Fixed

I have now put in the textbox with a scrollbar instead,
so the long texts can be viewed too.

I also added the display of valid values for the options that report it.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@489 59da171f-624f-0410-aa54-27559c288bec
2010-08-31 21:44:49 +00:00
kenneth.skovhede@gmail.com c4a9f87ec1 Update issue #249
Status: Fixed

I could only reproduce if I kept the status window open,
and then deleted the backup. It now updates the log window
immediately after the delete, if the window is open.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@488 59da171f-624f-0410-aa54-27559c288bec
2010-08-31 21:27:20 +00:00
kenneth.skovhede@gmail.com 0e8c3162e1 Update issue #165
Status: Fixed
The signature files are now placed in "%DUPLICATI_HOME%/Signature Cache", which defaults to "appdata/duplicati/Signature Cache".

Update issue #128
Status: Fixed
Duplicati now uses an environment variable called %DUPLICATI_HOME% to determine where to place the data files.
As an alternative to setting the environment variable, Duplicati.exe can be invoked with the commandline option
--portable-mode, which will create a folder called "data" in the folder where Duplicati.exe is placed.
For maximum portability you can also set the temporary folder inside Duplicati's options to %DUPLICATI_HOME%\temp.

Update issue #70
This just got a whole lot easier after the introduction of the environment variable %DUPLICATI_HOME%.
The implementation can just invoke "Duplicati.exe --portable-mode" and everything should work.
The final package should have a customized default database with the temp folder set to %DUPLICATI_HOME%\temp.
The no auto-start setting can be applied by the "backup defaults.xml" file.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@487 59da171f-624f-0410-aa54-27559c288bec
2010-08-31 20:58:11 +00:00
kenneth.skovhede@gmail.com 9de3be0ddd Update issue #256
Status: Fixed

I have now fixed it so the UI sets the required option automatically.

I also fixed a minor typo "sfpt" -> "sftp".

git-svn-id: https://duplicati.googlecode.com/svn/trunk@486 59da171f-624f-0410-aa54-27559c288bec
2010-08-31 20:15:42 +00:00
kenneth.skovhede@gmail.com be9afd996b Update to the last commit, fixed casing of m_folderTimestamps
git-svn-id: https://duplicati.googlecode.com/svn/trunk@485 59da171f-624f-0410-aa54-27559c288bec
2010-08-31 20:00:31 +00:00
kenneth.skovhede@gmail.com 76cac1ab86 Fixed a potential problem where the folder names where stored
in the local format (eg. using backslash). This could
create trouble if the backup was made on windows and restored
on linux.

Update issue #229
Status: Fixed

I have updated the code to store the correct time for the
files, as well as the folders. The folder timestamp
adds a slight overhead to the volumes, as Zip
archives have no folder entries, so the timestamps
for folders are kept in a separate file.

The time stored in the existing archives is the date the backup 
was made, not the last modified time, so it is not possible to 
restore the modification date for existing archives.
When restoring new archives, the correct date is set
for both files and folders.
When restoring older archives, the backup date is used
for files, and nothing is done for folders.

I also changed the internal storage to use UTC time format
for all timestamps to avoid problems with backup/restores on
machines with different timezones.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@484 59da171f-624f-0410-aa54-27559c288bec
2010-08-31 19:50:52 +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 6d2ee81a85 Changed the improved SharpRSync module to only use the embedded MD4 implementation.
The purpose of this change is to prevent loading a defunct MD4 implementation,
which exists in the Mono library in all versions prior to this path (july 2010):
http://github.com/mono/mono/commit/6be3c20a61d4c9937d4b9f1e95783a6203f9f9c7

The drawback is that IF the system has a native MD4 library, it is not used.
That is of course a negative thing, but so far I have not seen any stock 
windows/linux system with native MD4 support.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@481 59da171f-624f-0410-aa54-27559c288bec
2010-08-21 12:24:22 +00:00
kenneth.skovhede@gmail.com a02cdfc6cd Update issue #245
Status: Fixed

After a lot of work, I have now re-written the entire SharpRSync library.
My tests indicate that generating a diff file for an 8gb file took 10 minutes before, and now takes 8 minutes.
A delta for the same (unchanged) 8GB file took 58 minutes, and now takes 7 minutes.

The implementation seems to run faster under 64 bit, but I'm unsure if it is
related to the actual instructions issued, or the address simulation/conversion done by the OS.

I have also greatly optimized the amount of memory required by the program.
On windows, a delta for an 8GB file can be now be created with a total of 125 mb required memory.
The base app takes 65mb, so the used memory is around 60mb, and the raw diff file is approximately 44mb.

I compared it a bit to the rdiff program on linux.
For a 150mb file, rdiff takes about 1 second to generate a diff, and the same for a delta.
SharpRSync runs the same in about 7 seconds, although some of that is the mono startup and library loading.

For a 8gb file rdiff can generate a diff in about 500 seconds, where SharpRSync takes about 590 seconds.
When generating a delta, rdiff uses 530 seconds, and SharpRSync uses 770 seconds.
The last measurement is inaccurate as the memory requirement under mono is greater, and the test machine
had low memory, so there was a lot of swapping going on.

An interesting side effect is that the rdiff generated delta file is about 380kb, where the SharpRSync delta is 15 bytes.
This is because rdiff does not do the sequence matching optimization mentioned on the librsync page (last paragraph):
http://rsync.samba.org/tech_report/node4.html

Further optimization should probably focus on getting the MD4 algorithm to run faster.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@480 59da171f-624f-0410-aa54-27559c288bec
2010-08-21 10:41:57 +00:00
kenneth.skovhede@gmail.com 90c20b9862 Updated the MD4Managed to the latest trunk as that fixes an offset bug that I also discovered.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@479 59da171f-624f-0410-aa54-27559c288bec
2010-08-21 10:27:57 +00:00
kenneth.skovhede@gmail.com a89b532a40 Fixed a minor bug introduced by the configurable async volume folder.
Also modified the help text for the async folder location to clarify that it also works for synchronous uploads.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@478 59da171f-624f-0410-aa54-27559c288bec
2010-08-20 21:28:28 +00:00
kenneth.skovhede@gmail.com d652372232 Update issue #252.
Now also cleans the backup manifest.
This bug means that the after a delete-older-than or delete-all-but-n-full would leave the backup manifest.
Issuing the same command again would then remove the manifests.
This should not be noticeable by regular users, except that the lingering manifests may be displayed when attempting a restore operation.


git-svn-id: https://duplicati.googlecode.com/svn/trunk@477 59da171f-624f-0410-aa54-27559c288bec
2010-08-19 16:53:05 +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 74c6ec4a4e Reverted r465, the Gtk TrayIcon fails to work resonably with Windows forms :(
git-svn-id: https://duplicati.googlecode.com/svn/trunk@475 59da171f-624f-0410-aa54-27559c288bec
2010-08-16 18:33:52 +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 6d7156469b Work on issue #248
git-svn-id: https://duplicati.googlecode.com/svn/trunk@473 59da171f-624f-0410-aa54-27559c288bec
2010-08-15 16:06:06 +00:00
kenneth.skovhede@gmail.com 7269f66f5b Added validation to the values entered in the CommandLineOptionGrid
git-svn-id: https://duplicati.googlecode.com/svn/trunk@472 59da171f-624f-0410-aa54-27559c288bec
2010-08-15 15:41:17 +00:00
kenneth.skovhede@gmail.com 342e492a1b Fixed some missing translate-able strings in the TrayIconWrapper
git-svn-id: https://duplicati.googlecode.com/svn/trunk@471 59da171f-624f-0410-aa54-27559c288bec
2010-08-15 15:40:39 +00:00
kenneth.skovhede@gmail.com 04582c93b2 Reverted r496 as it broke the override grid, and re-applied the same type of fix.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@470 59da171f-624f-0410-aa54-27559c288bec
2010-08-15 14:57:01 +00:00
kenneth.skovhede@gmail.com 0c8f7e2054 Fixed some of issue #233
git-svn-id: https://duplicati.googlecode.com/svn/trunk@469 59da171f-624f-0410-aa54-27559c288bec
2010-08-15 14:43:09 +00:00
kenneth.skovhede@gmail.com ddd7b038b1 Merged the MacOS branch into trunk
git-svn-id: https://duplicati.googlecode.com/svn/trunk@465 59da171f-624f-0410-aa54-27559c288bec
2010-08-12 19:02:16 +00:00
kenneth.skovhede@gmail.com 9b6239d893 Fixed issue #100, aborts the backup if a source folder is missing.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@464 59da171f-624f-0410-aa54-27559c288bec
2010-08-12 18:56:04 +00:00
kenneth.skovhede@gmail.com aadd12012e Fixed a minor uninstall bug
git-svn-id: https://duplicati.googlecode.com/svn/trunk@463 59da171f-624f-0410-aa54-27559c288bec
2010-08-12 18:53:11 +00:00
kenneth.skovhede@gmail.com 92829fa393 Fixed issue #242.
Corrected a lot of avalible -> available and recieve -> receive spelling errors.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@462 59da171f-624f-0410-aa54-27559c288bec
2010-08-12 18:37:15 +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 1153d097fc Fixed various version information
git-svn-id: https://duplicati.googlecode.com/svn/trunk@460 59da171f-624f-0410-aa54-27559c288bec
2010-08-11 07:23:34 +00:00
kenneth.skovhede@gmail.com f2cd8360ca Changed some text on the Cleanup page so it better fits the actual page content.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@455 59da171f-624f-0410-aa54-27559c288bec
2010-07-15 15:55:46 +00:00
kenneth.skovhede@gmail.com 77aadc3108 Better support fro compiling w. mono.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@454 59da171f-624f-0410-aa54-27559c288bec
2010-07-12 19:24:01 +00:00
kenneth.skovhede@gmail.com 45200c583e Fixed issue #205.
Also fixed a problem with detecting the right OS version,
this should only cause you trouble if you have files with the same name but different casing.


git-svn-id: https://duplicati.googlecode.com/svn/trunk@453 59da171f-624f-0410-aa54-27559c288bec
2010-07-12 18:50:02 +00:00
kenneth.skovhede@gmail.com ae86443873 Filter editor work.
Fixed issue #172.
Fixed issue #218.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@450 59da171f-624f-0410-aa54-27559c288bec
2010-07-12 15:52:44 +00:00
kenneth.skovhede@gmail.com d9f65414ca Added a checkbox to hide the donate button.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@447 59da171f-624f-0410-aa54-27559c288bec
2010-07-08 18:31:18 +00:00
kenneth.skovhede@gmail.com 4cadf52bbc Removed the unused field SignatureKey from the database.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@446 59da171f-624f-0410-aa54-27559c288bec
2010-07-08 18:13:45 +00:00
kenneth.skovhede@gmail.com c31d7e3bfa UI rework, removed the mess with each of the advanced pages having a big if/else block to figure out what the next page should be.
Fixed issue #220.
Moved the incremental/full setting in to incremental page.

Fixed issue #164.
No longer re-schedules a backup if it is already scheduled or running.

Fixed issue #111.
Now allows you to select allowed day-of-week settings.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@445 59da171f-624f-0410-aa54-27559c288bec
2010-07-08 17:41:18 +00:00
kenneth.skovhede@gmail.com 3a420bef64 Added a donate button on the initial wizard page.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@443 59da171f-624f-0410-aa54-27559c288bec
2010-07-06 19:07:35 +00:00
kenneth.skovhede@gmail.com 104b0ac1f6 Fixed an issue with scrolling when having more than 6 source folders for a backup.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@442 59da171f-624f-0410-aa54-27559c288bec
2010-07-05 16:25:53 +00:00
kenneth.skovhede@gmail.com 1fc9d9b907 Fixed a typo in r440.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@441 59da171f-624f-0410-aa54-27559c288bec
2010-07-05 07:57:02 +00:00
kenneth.skovhede@gmail.com ef47b8b413 Fixed issue #225.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@440 59da171f-624f-0410-aa54-27559c288bec
2010-07-05 07:33:28 +00:00
kenneth.skovhede@gmail.com 3982a1e6a4 Fixed issue with x86 build.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@439 59da171f-624f-0410-aa54-27559c288bec
2010-07-05 07:32:41 +00:00
kenneth.skovhede@gmail.com 975a7fc220 Fix for cleaning up the database.
Fixed issue #68.
Fixed issue #175.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@438 59da171f-624f-0410-aa54-27559c288bec
2010-06-22 20:48:54 +00:00
kenneth.skovhede@gmail.com 5a70f3c7c5 Fixed a backwards compatibility problem with AES encryption.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@433 59da171f-624f-0410-aa54-27559c288bec
2010-06-20 11:44:21 +00:00
kenneth.skovhede@gmail.com 7edf074cbd An S3 issue fix.
Fixed issue #215.
If the user chooses EU buckets, bucketnames that are not valid hostname labels will be rejected.
If the user does not choose EU buckets, a warning is displayed for bucketnames that are not valid hostname labels, and the setup is switched to the path-style calling method.

Fixed issue #214.
There were multiple issues with entering a bucket/folder type path, those should now be resolved.

Fixed issue #212.
The UI and commandline now supports Reduced Redundancy Storage.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@430 59da171f-624f-0410-aa54-27559c288bec
2010-06-19 23:29:47 +00:00
kenneth.skovhede@gmail.com d6b0a530c3 Fixed an issue with the encryption module selector.
Fixed some line endings.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@429 59da171f-624f-0410-aa54-27559c288bec
2010-06-19 23:25:04 +00:00
kenneth.skovhede@gmail.com d46706337c Updated copyright headers.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@428 59da171f-624f-0410-aa54-27559c288bec
2010-06-19 21:17:33 +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 8296404414 Changed WEBDAV to send an empty body with a PROPFIND request.
Fixed issue #217.


git-svn-id: https://duplicati.googlecode.com/svn/trunk@426 59da171f-624f-0410-aa54-27559c288bec
2010-06-16 15:07:45 +00:00
kenneth.skovhede@gmail.com 7579199350 Possible fix to the FTP backend for issue #209
git-svn-id: https://duplicati.googlecode.com/svn/trunk@425 59da171f-624f-0410-aa54-27559c288bec
2010-06-09 10:54:58 +00:00
kenneth.skovhede@gmail.com 24ce6f2d93 Updated the UpdateVersionNumber.exe program to support configuration.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@421 59da171f-624f-0410-aa54-27559c288bec
2010-05-27 20:56:48 +00:00
kenneth.skovhede@gmail.com a91397ddfc Possible fix for issue #209
git-svn-id: https://duplicati.googlecode.com/svn/trunk@420 59da171f-624f-0410-aa54-27559c288bec
2010-05-27 19:37:14 +00:00
kenneth.skovhede@gmail.com 70708fc454 Fixed issue #136.
Fixed issue #182.
Fixed an error with the commandline version reported in the forum.
Added improved error output.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@417 59da171f-624f-0410-aa54-27559c288bec
2010-05-24 09:00:03 +00:00