Commit graph

292 commits

Author SHA1 Message Date
Josenivaldo Benito Jr
465ae13b78 Add IFTTT notification service
Add the ability to trigger a custom event on the Maker channel provided
by IFTTT service. With this trigger one can program actions on another
channels. Examples:

-Log backup notification to a google spreadsheet;
-Receive notification on devices with IFTTT application installed;
-Send e-mails
-Log to evernote
-Turn a Philips Hue light green for good backup or red on errors

IFTTT Maker channel accepts three values (named value1, value2, value3)
as part of the trigger. This implementation sends the content of
NOTIFICATION_CONTENT as "value1" parameter and let "value2" be defined
at
configuration file. At this time "value3" is not used.

Signed-off-by: Josenivaldo Benito Jr <jrbenito@benito.qsl.br>
2016-08-31 15:26:12 -03:00
Josenivaldo Benito Jr
c9bd2a49f2 Add IFTTT notification service
Add the ability to trigger a custom event on the Maker channel provided
by IFTTT service. With this trigger one can program actions on another
channels. Examples:

-Log backup notification to a google spreadsheet;
-Receive notification on devices with IFTTT application installed;
-Send e-mails
-Log to evernote
-Turn a Philips Hue light green for good backup or red on errors

IFTTT Maker channel accepts three values (named value1, value2, value3)
as part of the trigger. This implementation sends the content of
NOTIFICATION_CONTENT as "value1" parameter and let "value2" be defined at
configuration file. At this time "value3" is not used.

Signed-off-by: Josenivaldo Benito Jr <jrbenito@benito.qsl.br>
2016-08-31 15:13:34 -03:00
zertrin
637336a45d Merge pull request #131 from lechup/cleanup
Adding -e, --cleanup flag
2016-07-13 19:10:58 +02:00
Leszek Piątek
4c99612258 Added info in readme about --cleanup flag. 2016-07-13 18:24:04 +02:00
Leszek Piątek
2f07d0e216 Adding -e, --cleanup flag... 2016-07-13 18:23:27 +02:00
zertrin
9e02ee3296 Merge pull request #130 from ArthurGarnier/dev
Support mailx from mailutils
2016-07-13 17:55:55 +02:00
Arthur Garnier
1604d024d7 Support mailx from mailutils 2016-07-03 01:07:08 +02:00
Marc Gallet
7a84fbdfa8 Fix for issue #128 2016-06-15 13:38:18 +02:00
zertrin
dcdc081f30 changed my mind about where to place NOTIFICATION_SERVICE 2016-04-29 15:31:56 +02:00
zertrin
b90289d33b minor comment changes to notifications 2016-04-29 15:27:40 +02:00
zertrin
b92d60f028 Merge commit '0501d233' into dev 2016-04-29 14:34:39 +02:00
sean
0501d23303 fixed error 2016-04-28 15:58:49 -04:00
zertrin
6dc6d198bb Restore the functionality to specify a custom mail script 2016-04-28 21:28:54 +02:00
thel0be
3ffde7807f Adding Pushover notifications 2016-04-23 14:15:09 -04:00
zertrin
d7737e3045 Merge pull request #120 from zertrin/fix-email-handling
Full rework of email handling
2016-04-10 16:37:48 +02:00
zertrin
09550fdd28 Merge pull request #121 from dismantl/gpg_backslashes
added -r flag to bash read to allow backslashes in GPG passphrases
2016-04-10 16:36:20 +02:00
Dan Staples
a719668f15 added -r flag to bash read to allow backslashes in GPG passphrases 2016-04-06 11:05:19 -04:00
zertrin
fad4bd2425 Full rework of email handling 2016-04-01 23:21:19 +02:00
zertrin
a1c16990d1 Merge pull request #119 from colinfrei/patch-1
Typo
2016-03-28 23:49:29 +02:00
zertrin
f3f4ddcd89 rework code for email and notifications (more DRY) 2016-03-28 23:47:39 +02:00
Colin Frei
74f637d4f9 Typo 2016-03-28 23:21:02 +02:00
zertrin
279a5580fe Update README.md - add missing git fetch step 2016-03-26 12:51:19 +01:00
zertrin
8c5de6162e Update README.md - add travis badge and rework of the Contributing section 2016-03-25 21:14:39 +01:00
zertrin
4513feaf26 Merge pull request #118 from zertrin/shellcheck_cleaning
- massive cleaning with shellcheck: from 5 errors and 200 warnings to zero
- adding Travis-CI
2016-03-25 20:49:31 +01:00
zertrin
bcd64c10d2 first iteration after activation of Travis-CI 2016-03-25 20:40:46 +01:00
zertrin
93e9854b98 let's try to do some Travis-CI with shellcheck 2016-03-25 20:29:06 +01:00
zertrin
6c63877052 one last cleaning in the conf file with shellcheck 2016-03-25 20:00:39 +01:00
zertrin
3797960809 massive cleaning with shellcheck: from 5 errors and 200 warnings to zero 2016-03-25 19:47:29 +01:00
zertrin
8c0f58d8f0 Merge branch 'sparanoid-patch-1' into dev 2016-03-25 17:40:32 +01:00
zertrin
5cf7abbdba Merge branch 'chrissam-dev' into dev 2016-03-24 21:12:34 +01:00
zertrin
454d2781e8 minor changes to the pull request before merging 2016-03-24 21:12:17 +01:00
zertrin
60d5e058df Merge branch 'patch-2' of https://github.com/sparanoid/duplicity-backup into sparanoid-patch-2
Conflicts:
	duplicity-backup.conf.example
2016-03-24 21:03:20 +01:00
zertrin
471cc9f88b minor changes to the pull request before merging 2016-03-24 20:59:42 +01:00
Christopher Sam
491b045599 Add storage class option for AWS S3 to specify storage class to be used 2016-03-16 18:01:49 +05:30
Tunghsiao Liu
3eabe0dce5 Add config sample for Slack notifications 2016-02-26 14:56:31 +08:00
Tunghsiao Liu
fcfa9ac064 Add Slack incoming webhook notifications support 2016-02-26 14:54:34 +08:00
Tunghsiao Liu
4fca4440d1 Better comment 2016-02-26 14:44:46 +08:00
David Kolb
ff1e8270c0 Adding support for custom mail scripts. 2016-01-27 10:50:15 -05:00
zertrin
17b3f70063 Merge pull request #111 from vx28643/dev
added ftps and ftpes to list of possible destinations
2016-01-23 12:19:19 +01:00
vx28643
931fe9e995 added ftps and ftpes to list of possible destinations 2016-01-23 15:12:03 +11:00
zertrin
3b06a9bf02 Merge pull request #107 from sparanoid/patch-1
Fix typo
2015-10-19 10:49:03 +02:00
Tunghsiao Liu
423a1d37f8 Fix typo 2015-10-19 13:59:34 +08:00
zertrin
36a1a7f2da Update README.md - detailed contribution howto 2015-10-12 13:27:20 +02:00
zertrin
3a48d5a719 Fix bug #106 (unary operator expected) 2015-10-10 13:31:12 +02:00
zertrin
b105051554 Rework README.md 2015-10-08 11:39:23 +02:00
zertrin
bbfafcab0c Merge branch 'paszczus-master' into dev 2015-10-08 10:16:57 +02:00
zertrin
e5d57852ce also send email on cleanup failure + replace introduced tabs with spaces 2015-10-08 10:15:56 +02:00
Sławomir Paszkiewicz
8985d9c432 - added EMAIL_FAILURE_ONLY option to send e-mails only if there was an error while doing backup
- added HOSTNAME option to inform in e-mail report for which server is this report for
- e-mail subject is rewrited now to know if backup was OK or not
2015-09-02 10:17:14 +02:00
zertrin
142f4c6b89 Merge branch 'awk_backslash' of https://github.com/mddirba/duplicity-backup into mddirba-awk_backslash 2015-08-20 23:06:01 +02:00
Matthew Dirba
689eb23161 add more backslashes to unweildy awk script 2015-08-17 14:58:00 -05:00