Commit Graph
1158 Commits
Author SHA1 Message Date
kenneth.skovhede@gmail.com 8a0f95cc1d Fixed a problem with SSH backend requiring a keyfile.
Update issue #323
Status: Fixed

I see the problem, in SSHUI.cs line 107, the keyfile option is always set, even if it is empty.
I have added checks to detect the empty string in the UI and the backend itself.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@639 59da171f-624f-0410-aa54-27559c288bec
2010-12-18 11:20:59 +00:00
kenneth.skovhede@gmail.com 2375b8711e Minor modifications based on dicussion in group:
http://groups.google.com/group/duplicati/browse_thread/thread/f355e3af32034300

* Changed the text to indicate that the sub-page contains volumesize
* Added the options "alternate-destination-marker" and "alternate-target-paths" to the file backend
* Added the option "sorted-filelist"
* Now updates the display each second when performing a backup

git-svn-id: https://duplicati.googlecode.com/svn/trunk@636 59da171f-624f-0410-aa54-27559c288bec
2010-12-15 19:08:16 +00:00
kenneth.skovhede@gmail.com de77707e0b Fixed a typo
git-svn-id: https://duplicati.googlecode.com/svn/trunk@635 59da171f-624f-0410-aa54-27559c288bec
2010-12-14 07:53:09 +00:00
kenneth.skovhede@gmail.com 6ebc712bf4 Fixed a CloudFiles help string that mentions buckets
git-svn-id: https://duplicati.googlecode.com/svn/trunk@629 59da171f-624f-0410-aa54-27559c288bec
2010-12-11 17:15:49 +00:00
kenneth.skovhede@gmail.com 7270d2721c Fixed some strings for CloudFiles that mentioned AWS.
Fixed some strings for SSH help.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@627 59da171f-624f-0410-aa54-27559c288bec
2010-12-11 17:10:54 +00:00
kenneth.skovhede@gmail.com 1d1dac4411 Added an option to create folders with the backendtester
git-svn-id: https://duplicati.googlecode.com/svn/trunk@624 59da171f-624f-0410-aa54-27559c288bec
2010-12-07 21:28:05 +00:00
kenneth.skovhede@gmail.com 581a9d0664 Update issue #206
Status: Fixed
There is now a Tahoe-LAFS backend option.
It is quite new, so obviously it is fairly untested in real life.
It passes all unittests, and is largely based on the WEBDAV backend which as seen some action.
I will put up a preview build with Tahoe-LAFS support soon.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@623 59da171f-624f-0410-aa54-27559c288bec
2010-12-07 21:23:54 +00:00
kenneth.skovhede@gmail.com 1057424b0d Update issue #153
I have now added preliminary support for keyfiles under SSH.
For the time being it only supports OpenSSH private key files, and only unencrypted or tripple-DES encrypted ones.
This is a limitation of the SharpSSH library, which is based on an old JSCH implementation with this limitation.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@622 59da171f-624f-0410-aa54-27559c288bec
2010-12-07 21:13:51 +00:00
kenneth.skovhede@gmail.com 6048453a28 Update issue #304
Oops!
Yes, that would explain why it wasn't applied either.
Thanks.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@600 59da171f-624f-0410-aa54-27559c288bec
2010-11-21 19:51:47 +00:00
kenneth.skovhede@gmail.com 93ed07b879 Update issue #304
Status: Fixed
Yes, nicely spotted, thanks for reporting.

It seems that the settings was actually saved and applied,
but just didn't show up, so a re-save would clear it.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@594 59da171f-624f-0410-aa54-27559c288bec
2010-11-21 12:11:21 +00:00
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 3b34747b4f Update issue #301
I certainly don't mind fixing minor issues.
Spelling errors have a tendency to make the product look
incomplete, so I appreciate spelling error reports.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@590 59da171f-624f-0410-aa54-27559c288bec
2010-11-21 10:25:39 +00:00
kenneth.skovhede@gmail.com 93ff6a62f8 Update issue #275
Status: Fixed
The logic was attempting to prevent a case where the backup was scheduled to run and "Run backup now" was checked.
In this special case, the "Run backup now" does nothing because the backup will run twice otherwise.
The logic was a bit flawed, so based on some various settings it would detect that it was scheduled to run,
while it was not.

Thanks to your fine description, I was able to reproduce easily and fix it.
With the regards to the other error message, I have reproduced it by doing the following without restarting:
1) create the backup
2) edit the backup
3) delete the backup

I will create a new issue for it, but the bug is deep in the database abstraction layer,
so it is pretty hard to debug.

Update issue #227
Status: Fixed
Now correctly removes the deleted task from the scheduler and updates the display.
I also managed to get a slight speedup on the display update.



git-svn-id: https://duplicati.googlecode.com/svn/trunk@572 59da171f-624f-0410-aa54-27559c288bec
2010-11-02 19:31:34 +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 0da110ca99 Fixed a race-condition where an abort at a specific time would cause a thread to crash.
Only happens if the backend is unmanaged ssh, and is pretty hard to hit.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@547 59da171f-624f-0410-aa54-27559c288bec
2010-10-15 16:52:03 +00:00
kenneth.skovhede@gmail.com e23818903d Update issue #233
Status: Fixed
Removed the remaining warnings in the log

git-svn-id: https://duplicati.googlecode.com/svn/trunk@533 59da171f-624f-0410-aa54-27559c288bec
2010-10-03 12:20:04 +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 31eadfddd2 Fixed another bug with the S3 backend and multi request lists.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@522 59da171f-624f-0410-aa54-27559c288bec
2010-09-23 16:47:53 +00:00
kenneth.skovhede@gmail.com ad118c4f66 Update issue #134
Status: Fixed
After selecting a stored AWS ID for S3, the password is masked and cannot be revealed.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@518 59da171f-624f-0410-aa54-27559c288bec
2010-09-16 16:32:01 +00:00
kenneth.skovhede@gmail.com 62242bb04b Fixed a critical bug with the S3 backend that would cause deletion of backup volumes.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@511 59da171f-624f-0410-aa54-27559c288bec
2010-09-12 21:46:24 +00:00
kenneth.skovhede@gmail.com effdba0558 Update issue #134
Status: Fixed

I have now implemented a password protection control.
You can now only view passwords when you enter them.
After this, you may reset the passwords, by entering a
new one, but you cannot read the existing passwords.

To protect against people reading the database,
which contains the passwords in clear text, the
database is now encrypted by using the standard 
SQLite encryption method. This is different
than what I proposed, but is a much stronger
protection than merely scrambling the passwords,
and also protects all information (servername, etc).

It works by setting an environment variable
called DUPLICATI_DB_KEY. When no password
is set, Duplicati will use the key "Duplicati_Key_42",
ensuring that all databases are encrypted by default.

Using a pre-defined publicly known key is obviously
not a strong protection, but it protects from casual
users attempting to browse the database, and it also
protects from string scanners that scan a harddisk
for possible passwords.

On the first startup, Duplicati will encrypt the database,
using the mentioned key. You may want to delete any backup
databases that are placed in the same folder as the database.

Should you wish to decrypt the database, you can start 
Duplicati.exe with the commandline option "--unencrypted-database".
This will use the current key to decrypt the database, and save it
without encryption.

Should you wish to change the database password, simply decrypt the
database, then change the password via the environment variable,
and start Duplicati.exe as normal.

The SQLite documentation for the feature is here:
http://www.hwaci.com/sw/sqlite/see.html

Unfortunately, it does not seem as if any
of the free SQLite tools supports this.

The SQLite library found on Ubuntu
does not support encryption, so I have disabled 
this feature by default on Linux.

If a user has a special compiled version
of SQLite, they may use the environment
variables as mentioned above.

I will write this information into a wiki
page as soon asap.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@498 59da171f-624f-0410-aa54-27559c288bec
2010-09-07 21:39:22 +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 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 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 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 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 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 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
kenneth.skovhede@gmail.com 474e15e975 Fixed issue #127.
I am unable to reproduce the error with the "test connection" that you describe.
Was it with a particular bucket/folder name?
I have also added some logic to ensure that it does not repeatedly ask to prefix the username.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@406 59da171f-624f-0410-aa54-27559c288bec
2010-05-13 18:21:42 +00:00
kenneth.skovhede@gmail.com 5b6283995d Fixed an issue with cloudfiles and names with spaces (similar to issue #127).
Also changed the default url behavior to use api.mosso.com as the hostname to avoid problems with container names that are not valid hostnames.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@405 59da171f-624f-0410-aa54-27559c288bec
2010-05-13 18:10:09 +00:00
kenneth.skovhede@gmail.com 8989bb5c98 Fixed issue #192.
Added a warning and auto-fix method to remove leading slashes from the path part of the WEBDAV UI.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@396 59da171f-624f-0410-aa54-27559c288bec
2010-04-27 17:59:00 +00:00
kenneth.skovhede@gmail.com 66ea524105 Fixed issue #202.
This was a timeout bug that was triggered after 100 seconds.
Also added a timeout control to the WEBDAV and FTP backends, in case they have the same bug.
Made a few string localizable in the CloudFiles backend.
Added the code to do local MD5 generation, but commented it out as there are issues with this.
Added Duplicati version string to the WEBDAV backend user agent identification.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@394 59da171f-624f-0410-aa54-27559c288bec
2010-04-23 16:34:22 +00:00
kenneth.skovhede@gmail.com e9f8ac065f Fixed issue #192.
Fixed an issue with + in filenames.
Added spaces and + to the ExtendedChars of the backend tester.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@390 59da171f-624f-0410-aa54-27559c288bec
2010-03-30 20:11:38 +00:00
kenneth.skovhede@gmail.com 21f503318c Added option to compile as x86, to support 64bit debugging, see:
http://www.slickit.ca/2009/06/fixing-visual-studios-edit-and-continue.html

git-svn-id: https://duplicati.googlecode.com/svn/trunk@387 59da171f-624f-0410-aa54-27559c288bec
2010-03-30 15:09:28 +00:00
kenneth.skovhede@gmail.com 9e636f4cb1 Fixed issue #179.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@378 59da171f-624f-0410-aa54-27559c288bec
2010-03-04 21:52:53 +00:00
kenneth.skovhede@gmail.com c7f9668840 Fixed n issue with the unmanaged SSH backend (sftp/psftp based).
I belive this is the correct fix for issue #126.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@373 59da171f-624f-0410-aa54-27559c288bec
2010-02-15 19:47:42 +00:00
kenneth.skovhede@gmail.com c094073aa0 Fixed issue #166.
Fixed various items where ".Peek() < 0" was used instead of ".EndOfStream".
Added transfer time to the SSH List command, to support larger lists.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@372 59da171f-624f-0410-aa54-27559c288bec
2010-02-14 22:27:51 +00:00
kenneth.skovhede@gmail.com e421cabf67 Fixed bug with FTP after introduction of SSL support.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@369 59da171f-624f-0410-aa54-27559c288bec
2010-02-12 19:44:02 +00:00
kenneth.skovhede@gmail.com 20fdd52df8 Fixed issue #170.
It is not well tested, but it is basically a copy of the WEBDAV SSL code.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@361 59da171f-624f-0410-aa54-27559c288bec
2010-02-10 20:44:48 +00:00
kenneth.skovhede@gmail.com afcecabcbb Moved the SSL code into Core, so other backends can use it.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@360 59da171f-624f-0410-aa54-27559c288bec
2010-02-10 20:43:24 +00:00
kenneth.skovhede@gmail.com e2d5c0c095 Fixed issue #121, SSL support for WEBDAV.
Also updated the code to use the CreateFolder method that the other providers use.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@358 59da171f-624f-0410-aa54-27559c288bec
2010-02-09 23:37:51 +00:00
kenneth.skovhede@gmail.com f21d2d4af8 Fixed issue #122.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@342 59da171f-624f-0410-aa54-27559c288bec
2010-01-18 19:41:34 +00:00
kenneth.skovhede@gmail.com 52924703bc Support for CreateFolder in FTP and WEBDAV backends.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@338 59da171f-624f-0410-aa54-27559c288bec
2010-01-17 20:22:14 +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 1ca632088e Fixed issue #140.
Also fixed various UI problems that were found.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@322 59da171f-624f-0410-aa54-27559c288bec
2010-01-15 22:25:26 +00:00