Status: Fixed
Changed the command from --encrypt to --symmetric, and changed default options to blank.
Also exposed the command as an option, so it can be changed to --encrypt if anyone wants to try asymmetric encryption.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1529 59da171f-624f-0410-aa54-27559c288bec
Status: Fixed
Update from
Environment.SpecialFolder.Desktop
to
Environment.SpecialFolder.DesktopDirectory
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1520 59da171f-624f-0410-aa54-27559c288bec
Refactored the patch from issue #766
Moved reading into a function in the utility module.
Moved parsing of file data into a function.
Added parameters to the command line client, such that the CLI may have options.
Implemented these options in the help output, so the --parameters-file can be viewed from the help.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1511 59da171f-624f-0410-aa54-27559c288bec
Updated the reporting of options to use the data type to correctly handle case-sensitivity information.
Updated to use the Password type to apply password masking.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1510 59da171f-624f-0410-aa54-27559c288bec
This is a reworked version of the patch in issue #236.
I have masked the passphrase, and added the cleanup commands as well.
Let me know if this works for you.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1507 59da171f-624f-0410-aa54-27559c288bec
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
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
The number of methods required by the ICompression interface is now reduce and all handling of path conversion and text encoding is now done in the CompressionWrapper class. This should make it easier to implement a new compression module, and reduce the number of errors that occur because of filename/encoding issues.
This commit also contains a fix for reporting a sane error message if the compression module is not found/loaded.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1417 59da171f-624f-0410-aa54-27559c288bec
I also find a little place that could be a performance problem, so maybe this fixes the issue even without the mapping.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1414 59da171f-624f-0410-aa54-27559c288bec