Commit Graph
42 Commits
Author SHA1 Message Date
Kenneth Skovhede 5d5559e169 Added support for multiple mail servers, both manually and through DNS lookup.
Each address is tried by priority until the message passes.
2014-01-18 23:16:34 +01:00
Kenneth Skovhede 393e5e325f Improved autodetection of target stmp server, and added fallback DNS support for Google and OpenDNS 2014-01-18 22:28:51 +01:00
Kenneth Skovhede 47bc010b3c Added test-filters command 2013-12-07 15:22:51 +01:00
Kenneth Skovhede cb88c5c90b Update issue #882
Status: Fixed

The valid values were not reported for --send-mail-level
2013-11-07 10:14:35 +01:00
Kenneth Skovhede a9045d8a23 Update issue #891
Status: Fixed

Changed the prompts to:
"Enter encryption passphrase" and "Confirm encryption passphrase".
2013-11-07 09:55:34 +01:00
Kenneth Skovhede 252d4c077c Changed how the ConsolePasswordInput module detects the passphrase 2013-09-13 13:24:40 +02:00
Kenneth Skovhede 162c04da6c Not asking for passphrase caused conflicts, so for now we just ask 2013-08-26 13:12:24 +02:00
Kenneth Skovhede 022d1ad76b Updated ConsolePasswordInput to use the correct names for the passwordless operations 2013-08-24 14:04:49 +02:00
Kenneth Skovhede 8f69fc85c2 Removed a bunch of warnings 2013-06-26 21:29:03 +02:00
Kenneth Skovhede d696670598 Reworked the result reporting to support type safe values 2013-05-25 16:40:15 +02:00
Kenneth Skovhede 50825be1a2 Whitespace update and change to use the new print serializer 2013-05-22 21:35:18 +02:00
Kenneth Skovhede 86b52d364d Added a custom URL parser 2013-05-05 21:18:00 +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 6a0c6b583e Merged r1500 into trunk, reintegrated branch sandboxes/Aaron/issue331
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1512 59da171f-624f-0410-aa54-27559c288bec
2013-01-22 19:20:19 +00:00
kenneth@hexad.dk 8bf025134c Added option to specify multiple hashes in the hash override option
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1491 59da171f-624f-0410-aa54-27559c288bec
2012-12-08 12:54:56 +00:00
kenneth@hexad.dk c6f2fe9a5b Fixed a spelling error, thanks to Phillip!
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1474 59da171f-624f-0410-aa54-27559c288bec
2012-11-13 12:46:26 +00:00
kenneth@hexad.dk 86e19e76f8 Fixed a bug where the sendmail-levels were reported as invalid.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1473 59da171f-624f-0410-aa54-27559c288bec
2012-11-03 18:27:37 +00:00
kenneth@hexad.dk 23515674fd Added --backup-name to help when constructing emails and running scripts
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1445 59da171f-624f-0410-aa54-27559c288bec
2012-08-27 18:43:58 +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 7acbc99fe3 Fixed a bug with the script name parsing for paths with spaces.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1432 59da171f-624f-0410-aa54-27559c288bec
2012-08-17 17:25:55 +00:00
kenneth@hexad.dk 6e8fc9af27 Update issue #106
Updated implementation, and added a Windows .bat example.
Instead of using stdin the result is now written to a file, as Windows has some issues with reading stdin from a script. 

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1427 59da171f-624f-0410-aa54-27559c288bec
2012-08-16 20:00:23 +00:00
kenneth@hexad.dk da1150e6cc Added support for callbacks.
Added a run-script module.
Need to make a Windows example script

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1426 59da171f-624f-0410-aa54-27559c288bec
2012-08-15 18:33:46 +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.skovhede@gmail.com b108e96e8e Temporary checkin for the 2.0 stuff
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1005 59da171f-624f-0410-aa54-27559c288bec
2011-11-18 18:03:18 +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 c138d1668e Added the delete-all-but-n command
git-svn-id: https://duplicati.googlecode.com/svn/trunk@939 59da171f-624f-0410-aa54-27559c288bec
2011-10-19 05:50:10 +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 a9c78a0fbd Fixed a logic bug for applying the accept-any-certificate option.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@907 59da171f-624f-0410-aa54-27559c288bec
2011-09-24 07:12:07 +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 bba6371df0 Mono fix
git-svn-id: https://duplicati.googlecode.com/svn/trunk@794 59da171f-624f-0410-aa54-27559c288bec
2011-06-12 16:06:50 +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
kenneth.skovhede@gmail.com fb62721ea2 Changed the way the commandline usage text is stored, so it is easier to localize
git-svn-id: https://duplicati.googlecode.com/svn/trunk@734 59da171f-624f-0410-aa54-27559c288bec
2011-03-27 15:07:55 +00:00
kenneth.skovhede@gmail.com b149736c81 Added an option to verify uploads by issuing a list after each put.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@715 59da171f-624f-0410-aa54-27559c288bec
2011-03-10 21:33:44 +00:00
kenneth.skovhede@gmail.com 094d946b34 Cleanup now verifies the backend chain and thus requires a password.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@714 59da171f-624f-0410-aa54-27559c288bec
2011-03-10 19:11:14 +00:00
kenneth.skovhede@gmail.com a478f9d155 Update issue #378
Status: Fixed

I have now added a module called http-options which can be used to
configure http options, notably the 100-Expect.

I am unsure if it will break existing installations if I disable
it by default, so it is still enabled but can be disabled by the
switch --disable-expect100-continue.

You can set this option in the GUI under "Advanced options".

git-svn-id: https://duplicati.googlecode.com/svn/trunk@713 59da171f-624f-0410-aa54-27559c288bec
2011-03-10 19:08:16 +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 75000e64eb Update issue #321
Status: Fixed

There were some issues with namespaces and signing of the files,
which caused the translations to not load.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@649 59da171f-624f-0410-aa54-27559c288bec
2010-12-28 14:27:34 +00:00
kenneth.skovhede@gmail.com b4b3ec526c Added CreateFolder to the list of passphrase-less operations.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@560 59da171f-624f-0410-aa54-27559c288bec
2010-10-23 13:11:31 +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 c6e12ce122 Fixed a x86 build problem
git-svn-id: https://duplicati.googlecode.com/svn/trunk@535 59da171f-624f-0410-aa54-27559c288bec
2010-10-09 12:25:37 +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