Commit graph

285 commits

Author SHA1 Message Date
zertrin
cd82c07579 Remove VERSION file and hardcode it directly in the script 2017-10-30 22:33:30 +08:00
zertrin
98bcf9f673 Bump version to 1.4.1 2017-10-04 09:59:55 +08:00
zertrin
0c4f2b7c45 Improved version parsing. Fix bug on MacOS (thanks @ErebusBat) 2017-09-30 22:50:03 +08:00
zertrin
2389ee61db Fix program version output when cwd is not the same as scriptdir 2017-09-29 12:16:20 +08:00
zertrin
def00abe60 Show program versions in output 2017-09-28 09:59:37 +08:00
zertrin
e4df413036 add link to issue #143 in Known issues section in the README 2017-09-24 14:35:38 +08:00
zertrin
dd2189ec4d Bump version to 1.4.0 2017-09-24 14:26:22 +08:00
zertrin
f8c4d0cc16 Add duplicity version check to handle deprecation of --include-globbing-filelist (fixes #136) 2017-09-24 14:23:36 +08:00
zertrin
723945af44 Merge pull request #157 from gunnarx/readme_spell
README.md: Fix some spelling errors
2017-06-06 15:15:28 +08:00
Gunnar Andersson
b7c292b5ff README.md: Fix some spelling errors 2017-06-05 08:31:32 +02:00
zertrin
cc2ae25355 Merge pull request #154 from dgibbs64/dev
[hostname] contains invalid character '[' in CentOS 7
2017-04-19 12:53:52 +08:00
zertrin
d1311a185a Merge pull request #156 from wtsi-hgi/fix/155-s3SchemeIdentification
Corrects cut of s3 protocol.
2017-04-19 12:53:25 +08:00
Colin Nolan
25d63bb99f Corrects cut of s3 protocol. 2017-04-18 09:36:32 +01:00
Daniel Gibbs
2ad58dc07e [hostname] contains invalid character '[' in CentOS 7
[hostname] contains invalid character '[' in CentOS 7 changed [ to (

See https://www.jethrocarr.com/2012/06/10/mailx-contains-invalid-character-2/

There may be a better way to resolve this however this quick fix works
2017-03-27 18:56:06 +01:00
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