Commit graph

271 commits

Author SHA1 Message Date
zertrin
418ab79b11 Bump version to v1.3.0 2016-10-23 20:05:08 +02:00
zertrin
6ba17fa268 Rename repository from 'duplicity-backup' to 'duplicity-backup.sh' 2016-10-23 20:04:23 +02:00
zertrin
b207b90cba Add -h / --help option to print usage and don't send email or notification when printing usage only 2016-10-23 20:00:23 +02:00
zertrin
fb54103607 Attempt to fix issue #145 by adding a parameter 2016-10-23 19:39:32 +02:00
zertrin
d2ae7c58c1 Fix GPG error when backing up the script if no specific keyring is set up 2016-09-11 23:04:46 +02:00
zertrin
a827d886f4 Version v1.2 2016-09-10 14:56:35 +02:00
zertrin
5a5244e164 Fix "line 89: 4: Bad file descriptor" when printing usage without config set up 2016-09-10 14:56:05 +02:00
zertrin
26dc5cab55 Merge pull request #141 from arichiardi/fix-gpg-photo
Add --no-show-photos to --gpg-options
2016-09-09 16:55:02 +02:00
zertrin
cddd3f3c74 Merge pull request #137 from zertrin/rework-logging
Big rework of logging handling. Add a --quiet option to suppress most output
2016-09-09 16:54:47 +02:00
Andrea Richiardi
277677350c Add --no-show-photos to --gpg-options, fixes #140 2016-09-08 19:13:26 -07:00
zertrin
fb54765c53 Merge remote-tracking branch 'origin/dev' into rework-logging 2016-09-08 20:57:11 +02:00
zertrin
4bdde466e2 Merge pull request #138 from zertrin/fix-issue-135-s-nail
Add case for s-nail when using mailx
2016-09-06 11:40:09 +02:00
zertrin
0f901f4f78 Always exclude /proc from Source Disk Use Information 2016-09-05 01:40:52 +02:00
zertrin
4d5ab6247d Add case for s-nail when using mailx 2016-09-05 01:15:47 +02:00
zertrin
5d20128634 Improve some of the new comments about the new logging 2016-09-03 23:43:19 +02:00
zertrin
6c7eea2401 Big rework of logging handling. Add a --quiet option to suppress most output
To achieve the goals, I needed to dive into the arcane art of I/O
redirection in Bash. By playing correctly with the file descriptors and
tee, we can implement a sort of logging level system.
2016-09-03 23:26:54 +02:00
zertrin
b39300c514 Add --version option to README.md 2016-09-03 17:45:16 +02:00
zertrin
6421242e02 Wrap long lines in the CHANGELOG 2016-09-03 17:41:57 +02:00
zertrin
e92a4c49b3 v1.1 restart versionning and keeping a CHANGELOG
This time for real.
2016-09-03 17:30:17 +02:00
zertrin
4fbb5ed190 Merge remote-tracking branch 'origin/fix-issue-128-incexc' into dev
Fix and improve handling of INCLIST and EXCLIST
2016-09-03 15:41:56 +02:00
zertrin
17e40b3c67 Fix shellcheck error SC2166 2016-09-03 15:16:17 +02:00
zertrin
6b7c1c66b2 Fix shellcheck error SC2128 2016-09-03 15:14:19 +02:00
zertrin
f9c07e28fa Fix shellcheck SC2153 and SC1090 2016-09-03 15:10:18 +02:00
zertrin
73adf5dc99 Fixes related to new warnings coming from the new version of shellcheck 2016-08-31 23:03:09 +02:00
zertrin
f4c999b2c5 Merge pull request #133 from jrbenito/ifttt
Add IFTTT notification service
2016-08-31 22:11:07 +02:00
Josenivaldo Benito Jr
6ce9a646cd Wrong identation
Signed-off-by: Josenivaldo Benito Jr <jrbenito@benito.qsl.br>
2016-08-31 17:09:28 -03:00
Josenivaldo Benito Jr
562d6d05f2 Merge branch 'dev' into ifttt 2016-08-31 17:05:31 -03:00
zertrin
1238c14af6 Merge pull request #134 from jrbenito/issue_sendnotification_and_email
Send notification if stale lock is detected
2016-08-31 22:00:19 +02:00
Josenivaldo Benito Jr
4f96d724b3 Send notification if stale lock is detected
add send notification along with e-mail notification on stale lock
check.

Signed-off-by: Josenivaldo Benito Jr <jrbenito@benito.qsl.br>
2016-08-31 16:36:29 -03:00
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