Commit graph

297 commits

Author SHA1 Message Date
harrim4n
ae37de0e65 fixed shellcheck errors 2017-12-23 20:01:22 +01:00
harrim4n
2a77dde6ee added support for B2 backend 2017-12-23 19:04:00 +01:00
zertrin
e070ca7887
Merge pull request #168 from arichiardi/fix-file-dest
Use regex for trimming file:// destinations
2017-11-14 22:34:33 +08:00
zertrin
5a023c3609
Merge pull request #167 from arichiardi/notification-separator
Add notification separator
2017-11-14 22:27:23 +08:00
Andrea Richiardi
6377ad5281 Use regex for trimming file:// destinations
A problem with cut was causing:

  $ DEST="file:///media/user/data"
  $ TMPDEST=$(echo "${DEST}" | cut -c 6-)
  $ echo $TMPDEST
  ///media/user/data

The fix uses a regex instead so that we trim away things correctly. It also seems somewhat more
readable.
2017-11-13 21:14:07 -08:00
Andrea Richiardi
649c7830b0 Add notification separator
The notification request is now isolated visually for better debugging.
2017-11-12 17:28:32 -08:00
zertrin
dba25a57de change example conf to use single quotes for passphrases and paths 2017-11-05 11:08:24 +08:00
zertrin
13af8206e3 Bump version to v1.4.3 2017-10-30 23:44:52 +08:00
zertrin
9a36453bb1 Merge branch 'GerardRibas-telegram-notifications' into dev 2017-10-30 23:35:47 +08:00
zertrin
a7752c4c78 Minor changes before merging PR adding Telegram notifications support 2017-10-30 23:34:45 +08:00
zertrin
06291f0a6e Merge branch 'telegram-notifications' of git://github.com/GerardRibas/duplicity-backup.sh into GerardRibas-telegram-notifications 2017-10-30 23:14:17 +08:00
zertrin
cd82c07579 Remove VERSION file and hardcode it directly in the script 2017-10-30 22:33:30 +08:00
Gerard Ribas Canals
de7a6be9fe Telegram Notifications 2017-10-13 10:17:01 +02: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