Commit Graph
86 Commits
Author SHA1 Message Date
Kenneth Skovhede 1f4cb3a93b Updated LZMA binary to latetst version from Tobias 2014-01-16 15:26:40 +01:00
Kenneth Skovhede 560dd508ca Removed lightdatamodel 2013-11-24 00:31:55 +01:00
Kenneth Skovhede 6022043856 Added support for reading file types and extend attributes under linux 2013-09-08 00:36:02 +02:00
Kenneth Skovhede 8b4ae331ed Update issue #852
Updated thirdparty Renci.SshNet.dll to new version
2013-08-25 13:15:05 +02:00
Kenneth Skovhede acb1e664f8 Added LZMA support based on the code provided by Tobias Käes.
Apart from building a binary, some minor fixes were applied to follow the Duplicati style more.
Some variables were renamed, all strings were moved to the resx files, and the compression hint was included.
The compression detection was removed, and now uses the common implementation.
2013-08-17 15:55:43 +02:00
Kenneth Skovhede a3b25d273e Merge branch 'master' into sandboxes/Kenneth/ForestHash 2013-06-17 21:07:32 +02:00
Kenneth Skovhede 17bdd64108 Updated the AlphaVSS library to newest version 2013-06-17 21:06:55 +02:00
Kenneth Skovhede 88454c4334 Merge branch 'master' into sandboxes/Kenneth/ForestHash 2013-06-02 14:55:05 +02:00
Kenneth Skovhede e0ada634ba Removed putty as the SSH backend no longer supports command line call-outs 2013-06-02 14:52:09 +02:00
Kenneth Skovhede 6a011905a7 Removed scheduler as it is replaced by the new service component 2013-06-02 14:51:46 +02:00
Kenneth Skovhede 370768caed Updated SQLite binaries to newest available windows versions which increases speed by a factor 10+ 2013-06-02 14:15:13 +02:00
Kenneth Skovhede 0d16dd1cc1 Update issue #829
Status: fixed

I removed the stray third party binaries
2013-05-25 22:04:08 +02: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 6822fc69fa Update issue #29
This adds the email feature to Duplicati.
Currently there is no GUI for this, just advanced options.
The options supported are:
--send-mail-to="Name <test@example.com>, Other <test2@example.com>, test3@example.com"
--send-mail-from="Backup Admin <admin@example.com>
--send-mail-subject="Duplicati %OPERATIONNAME% Report"
--send-mail-body="%RESULT%%"
--send-mail-url="tls://smtp.google.com:587"
--send-mail-username="username"
--send-mail-password="password"
--send-mail-level="Warning"
--send-mail-any-operation=true

The only required setting is --send-mail-to.
If the --send-mail-from is not set, it will use the host of the "to" and set "no-reply@" in front.
E.g. --send-mail-to="name@example.com" will cause the sender to be "no-reply@example.com".

If the --send-mail-url is not set, a DNS lookup will find the MX record for the first recipient domain,
and send directly to that. The url can be either "smtp://server:port" or "tis://server:port".

The --send-mail-subject and --send-mail-body parameters can contain placeholders like %RESULT%.
Each option will be exported like this, e.g. %volsize% or %use-ssl%. The special placeholders are:
%RESULT% - The result/log of the backup
%OPERATIONNAME% - The name of the operation, usually "Backup", but could be "Restore" etc.
%REMOTEURL% - The backend url
%LOCALPATH% - The path to the local folders involved (i.e. the folders being backed up)

The --send-mail-level can be either "Success", "Warning" or "Error". Default "Success" means all backups generate an email. "Warning" will only send an email if the backup caused a warning or an error. "Error" will only send an email if the backup failed.

The --send-mail-any-operation can be set to "true" if all operations (e.g. "Restore", "Cleanup", "DeleteAllButN", ...) should generate an email. By default only backup operations will send an email.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1436 59da171f-624f-0410-aa54-27559c288bec
2012-08-21 09:35:55 +00:00
kenneth@hexad.dk 7081aaed9a Re-integrated the LZMA branch into trunk.
Update issue #92
Duplicati 2.0 trunk now uses SharpCompress and allows compression using LZMA (and bz2, etc.)
Big thanks to Simon Colmer for working on this!

For now the file format is still zip, but the compression inside is different.
Once SharpCompress supports 7zip write, we can add that easily. Same goes for LZMA2 compression.



git-svn-id: https://duplicati.googlecode.com/svn/trunk@1397 59da171f-624f-0410-aa54-27559c288bec
2012-08-01 19:50:40 +00:00
kenneth@hexad.dk b277f6325d Fairly large rewrite of how files and paths are handled.
This fixes issues #144, #577 and #320.

This update introduces a new options called "symlink-policy" that can be set to "store", "ignore" or "follow".
The default setting "store" means all symlinks are recorded as symlinks and recreated as symlinks on restore. This is chosen as default because it is the best replication of the actual disk contents.
Setting it to "ignore" simply means that no information is recorded about any symlinks.
And lastly, setting it to "follow" reverts to the previous default of treating symlinks as if they are normal files/folders.
Caveat: On Windows, you need Administrator privileges to create symlinks (when restoring), but not for reading them (on backup).

Since this change meant that the file attributes must be read, I also added support for the option "exclude-files-attributes", that can be used to ignore/exclude files with certain attributes, such as "hidden", "archive" or "encrypted".

Since I had to much about so much with getting the symlinks supported on Windows, I also added some extra logic to the Windows file handler, so it can now handle files and folders with up to 32k chars in the path. The logic is done so that the normal System.IO operations are used for paths with less than 260 characters (MAX_PATH), and on error or longer paths, the Win32 Unicode API is invoked. This should give maximal backwards compatibility and still allow backup and restore of files with long paths.

This commit also includes a BlockingQueue implementation that is supposed to make file/folder enumeration faster, but this has not been implemented because Duplicati depends on having a "whole world" view of the files and folders before running the backup (i.e. deeper changes required for this).


git-svn-id: https://duplicati.googlecode.com/svn/trunk@1381 59da171f-624f-0410-aa54-27559c288bec
2012-07-29 20:07:10 +00:00
kenneth@hexad.dk 2ba5e750db Update issue #595
Status: Fixed

Update the Google GData libraries to version 2.0

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1209 59da171f-624f-0410-aa54-27559c288bec
2012-04-21 21:21:03 +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
kenb@programmer.net 480bb7a81d Added ListViewPrinter to ObjectListView code
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1091 59da171f-624f-0410-aa54-27559c288bec
2012-01-11 20:50:07 +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 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 48259fb87b Added the Json.Net project
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1020 59da171f-624f-0410-aa54-27559c288bec
2011-11-20 11:46:17 +00:00
kenb@programmer.net e0377b8ccc Used by Scheduler for Source file selection
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1016 59da171f-624f-0410-aa54-27559c288bec
2011-11-20 08:45:25 +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 428001d1d9 Another trunk to v2 merge
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1008 59da171f-624f-0410-aa54-27559c288bec
2011-11-18 18:14:33 +00:00
kenb@programmer.net bf6899edff Added download.txt and license.txt
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1004 59da171f-624f-0410-aa54-27559c288bec
2011-11-18 15:48:30 +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@hexad.dk 91a1c6a588 Fixed locking support for OSX
git-svn-id: https://duplicati.googlecode.com/svn/trunk@982 59da171f-624f-0410-aa54-27559c288bec
2011-11-13 10:58:35 +00:00
kenneth@hexad.dk 6add824f64 Fixed single instance support for Linux
git-svn-id: https://duplicati.googlecode.com/svn/trunk@980 59da171f-624f-0410-aa54-27559c288bec
2011-11-10 16:30:25 +00:00
kenneth.skovhede@gmail.com e4f03fc170 Updated GnuPG binary for windows to the latest version
git-svn-id: https://duplicati.googlecode.com/svn/trunk@952 59da171f-624f-0410-aa54-27559c288bec
2011-10-28 05:52:10 +00:00
kenneth.skovhede@gmail.com c78ce7959d Updated LightDatamodel.dll to include Turkish language fixes
git-svn-id: https://duplicati.googlecode.com/svn/trunk@933 59da171f-624f-0410-aa54-27559c288bec
2011-10-16 10:45:47 +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 345d18a013 Updated the LightDatamodel.dll to include some locale fixes for Turkish language
git-svn-id: https://duplicati.googlecode.com/svn/trunk@903 59da171f-624f-0410-aa54-27559c288bec
2011-09-16 17:46:56 +00:00
kenb@programmer.net aee8a3c137 Duplicati.Scheduler initial commit.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@849 59da171f-624f-0410-aa54-27559c288bec
2011-08-01 03:40:38 +00:00
kenneth.skovhede@gmail.com af681f57f0 Fixed a timeout issue with S3
git-svn-id: https://duplicati.googlecode.com/svn/trunk@846 59da171f-624f-0410-aa54-27559c288bec
2011-07-30 09:36:44 +00:00
kenneth.skovhede@gmail.com f02527c3ac Added extra gdata dlls
git-svn-id: https://duplicati.googlecode.com/svn/trunk@839 59da171f-624f-0410-aa54-27559c288bec
2011-07-25 05:36:57 +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 47c0326072 Updated LightDataModel
Update issue #297
Status: Fixed

The long standing delete bug is now fixed.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@824 59da171f-624f-0410-aa54-27559c288bec
2011-07-02 06:57:01 +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 9a0e31e5b8 Preliminary work on the standalone server component
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@785 59da171f-624f-0410-aa54-27559c288bec
2011-06-06 18:48:52 +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 743f180429 Cleanup of thirdparty software.
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@710 59da171f-624f-0410-aa54-27559c288bec
2011-03-08 19:34:29 +00:00
kenneth.skovhede@gmail.com 15635465cb Reverted the signing of SSH and TahoeLAFS because it caused load issues to have them signed.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@660 59da171f-624f-0410-aa54-27559c288bec
2010-12-30 14:02:05 +00:00
kenneth.skovhede@gmail.com cf3072a10e Signed the LitJSON and SharpSSH dll's with Signer.exe from CodePlex, using the Duplicati key.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@648 59da171f-624f-0410-aa54-27559c288bec
2010-12-28 14:26:04 +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 c9ee03975d Update issue #285
Status: Fixed

I found out that Mono on windows does not support "mixed-mode" assemblies, which is what the System.Data.SQLite.dll's are:
http://www.mono-project.com/CPlusPlus

On my machine it gives a weird error with "CRT not initialized" if I run Duplicati under Mono.
I have changed the loader to check for Linux AND Mono.
I have also update the build script to include the version of the dll that you found,
it seems that Mono only runs with 32bit on windows, so the dll must also be 32 bit.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@562 59da171f-624f-0410-aa54-27559c288bec
2010-10-27 19:40:29 +00:00
kenneth.skovhede@gmail.com ebf7ba1f52 Cleared up a confusing fact about the SharpZipLib license
git-svn-id: https://duplicati.googlecode.com/svn/trunk@497 59da171f-624f-0410-aa54-27559c288bec
2010-09-07 21:13:29 +00:00
kenneth.skovhede@gmail.com a2c6b7c0a5 Added a license tab to the options dialog to ensure compliance with thirdparty licenses.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@496 59da171f-624f-0410-aa54-27559c288bec
2010-09-07 16:53:33 +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 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