Commit Graph
63 Commits
Author SHA1 Message Date
Kenneth Skovhede ff4c411032 Changed the display names of the backends to be more user-friendly 2014-02-26 15:40:35 +01:00
Kenneth Skovhede bbe3c81bb6 Added option to re-authenticate file-based shares.
Thanks to Siyu Wu for making the basic patch.
2013-10-29 09:42:16 +01:00
Kenneth Skovhede ee9be320d0 Added compile flag to activate random transmission errors 2013-07-23 20:53:34 +02:00
Kenneth Skovhede e5b3f0ea93 Rewrote all backends to use the new Uri parser.
Updated the regex to be a little more forgiving.
Does not handle paths with @, like "ftp://server/@folder"
2013-05-05 23:46:00 +02:00
Kenneth Skovhede 62c75d9af9 Removed all informs code (no more 1.3.x UI) 2013-05-05 17:07:24 +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 0014b69ccf Removed unused x86 configurations and fixes som build refrences 2013-05-05 13:45:02 +02: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 f8dc5bbafd Added the "Password" type to argument types for simplified handling of password masking.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1509 59da171f-624f-0410-aa54-27559c288bec
2013-01-22 09:28:43 +00:00
kenneth@hexad.dk 203778b911 Added metadata recording, for later use in the new UI.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1274 59da171f-624f-0410-aa54-27559c288bec
2012-05-14 18:48:21 +00:00
kenneth@hexad.dk fc4e6c1f87 Update issue #444
Status: fixed

Problem was that the backend also supports urls like: file://user:pass@\\server\path.
Now the username and password is only accepted if it does not contain slash or backslash.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1197 59da171f-624f-0410-aa54-27559c288bec
2012-04-09 18:38:51 +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@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 8b7d8c0270 Update issue #500
Status: Fixed
The user is no longer asked to verify the password for the connection

git-svn-id: https://duplicati.googlecode.com/svn/trunk@973 59da171f-624f-0410-aa54-27559c288bec
2011-11-05 14:52:18 +00:00
kenneth.skovhede@gmail.com 1048994973 Removed some unused storage of options, this fixes a connection bug in FTP, and TahoeLAFS
git-svn-id: https://duplicati.googlecode.com/svn/trunk@938 59da171f-624f-0410-aa54-27559c288bec
2011-10-19 05:42:32 +00:00
kenneth.skovhede@gmail.com 91c4af1400 The UI now sends a special flag to the backend GUI that tells the current mode of operation.
This flag allows the backends to provide better testing and warning messages.

Update issue #407
Status: Fixed

The backends now check for existing files in the target directory,
and specially looks for any "duplicati-*" files.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@922 59da171f-624f-0410-aa54-27559c288bec
2011-10-01 14:55:38 +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 7ef7a98918 Update issue #251
Status: Fixed

The backend connections are now re-used.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@913 59da171f-624f-0410-aa54-27559c288bec
2011-09-24 11:39:50 +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 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
morten@momi.dk b6dc8981aa Update solution to .NET 4.0 and added new SSH backend based on SSH.NET.
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@709 59da171f-624f-0410-aa54-27559c288bec
2011-03-07 20:15:29 +00:00
kenneth.skovhede@gmail.com e2f7c2afac Update issue #346
Status: Fixed
I have now added password verification dialogs to all password fields.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@674 59da171f-624f-0410-aa54-27559c288bec
2011-01-15 15:40:33 +00:00
kenneth.skovhede@gmail.com 8b262288c6 Added option to allow the file backend to use a system Move call rather than copy.
Changed the non-streaming file-backend interface to use sytem copy calls rather than
manual stream copy.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@654 59da171f-624f-0410-aa54-27559c288bec
2010-12-29 14:31:33 +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 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 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 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 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 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 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 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 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
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 5010e4f094 Fixed issue #96.
Added a small application to fix future issues with embedded escape codes.
Also fixed some encoding issues with the pt-BR files.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@298 59da171f-624f-0410-aa54-27559c288bec
2009-09-26 09:43:02 +00:00
kenneth.skovhede@gmail.com 293311b68f All backends are now ported, needs a lot of testing before it can go into trunk
git-svn-id: https://duplicati.googlecode.com/svn/branches/Issue77@286 59da171f-624f-0410-aa54-27559c288bec
2009-09-20 20:58:49 +00:00
kenneth.skovhede@gmail.com 08280e0c42 Converted the S3 backend for issue 77.
Still have the SSH and WebDAV left.

git-svn-id: https://duplicati.googlecode.com/svn/branches/Issue77@285 59da171f-624f-0410-aa54-27559c288bec
2009-09-18 16:36:40 +00:00
kenneth.skovhede@gmail.com 1c4153b8d8 Implemented the FTP UI for issue 77.
Fixed various bugs with the 77 implementation.

git-svn-id: https://duplicati.googlecode.com/svn/branches/Issue77@284 59da171f-624f-0410-aa54-27559c288bec
2009-09-17 17:44:59 +00:00
kenneth.skovhede@gmail.com 6d34aa7919 Work on issue #77
git-svn-id: https://duplicati.googlecode.com/svn/branches/Issue77@280 59da171f-624f-0410-aa54-27559c288bec
2009-09-16 19:41:49 +00:00
kenneth.skovhede@gmail.com f64e7ad8d7 Build r276
git-svn-id: https://duplicati.googlecode.com/svn/trunk@276 59da171f-624f-0410-aa54-27559c288bec
2009-09-14 20:23:46 +00:00
kenneth.skovhede@gmail.com 0b82b67d38 Adjusted install build procedure to work with a clean checkout and a release build.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@272 59da171f-624f-0410-aa54-27559c288bec
2009-08-27 21:18:18 +00:00
kenneth.skovhede@gmail.com 36ff6e736d Updated license texts and bumped version numbers
git-svn-id: https://duplicati.googlecode.com/svn/trunk@261 59da171f-624f-0410-aa54-27559c288bec
2009-08-20 20:54:43 +00:00
kenneth.skovhede@gmail.com 17306fe5f5 Work on issue #84, WEBDAV errors with Apache.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@235 59da171f-624f-0410-aa54-27559c288bec
2009-07-19 22:09:43 +00:00
kenneth.skovhede@gmail.com bc3be0eecb Fixed issue #80, Add backend tester.
Fixed a timing issue in the SSH backend, which hopefully solves issue #59.
An error message indicating missing executable filenames was switched between linux and windows.
Added a number of app.config files.
Updated version numbers.


git-svn-id: https://duplicati.googlecode.com/svn/trunk@229 59da171f-624f-0410-aa54-27559c288bec
2009-07-19 12:08:59 +00:00
kenneth.skovhede@gmail.com 9b13c60a01 Added a FTP_USERNAME environment variable and corresponding --ftp-username option.
Fixed issue #86.
Fixed issue #87.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@225 59da171f-624f-0410-aa54-27559c288bec
2009-07-16 20:36:49 +00:00
kenneth.skovhede@gmail.com 72c92dd78b Made the LocalizationTool more SDK version independant.
Updated some sub-projects to VS 2008, fixed .Net 3.5 dependencies to 2.0.
Added a language selection option to the settings dialog.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@222 59da171f-624f-0410-aa54-27559c288bec
2009-07-14 22:26:22 +00:00
kenneth.skovhede@gmail.com 17f87d1328 Updated to VS 2009 Express.
Added WixProjBuilder to build the Wix projects without MSBuild support.
Simplified the build/release process.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@215 59da171f-624f-0410-aa54-27559c288bec
2009-07-05 11:41:02 +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 b2f7ed7132 Updated version numbers for the 1.0 Final release.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@183 59da171f-624f-0410-aa54-27559c288bec
2009-06-08 22:34:26 +00:00