From 0d607d25fe6e7335fb869a727430f5c25f396261 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 3 Jun 2016 18:19:06 +0100 Subject: [PATCH] Add backup script2 --- README.md | 1 + backup | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3382d78..5a6946b 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ Here's a list of the most interesting ones, along with what they do and where th - [tig](http://jonas.nitro.dk/tig/) - A terminal-based git repository browser. - backup - A script I wrote to make using Duplicity easier. - genimagecomparisonframes - Another script I wrote to generate the frames for the first half of [this video](https://starbeamrainbowlabs.com/blog/images/20160525-Tessellator-Comparison.webm). + - [dtach]() ## Disclaimer I don't own many of the tools in this repository. If you are an owner of one of these tools and I haven't linked to you, please let me know as I probably forgot. diff --git a/backup b/backup index f5ba385..b0ac32d 100755 --- a/backup +++ b/backup @@ -16,7 +16,7 @@ then exit fi -env PASSPHRASE=${PASSWORD} SIGN_PASSPHRASE=${PASSWORD} duplicity --encrypt-sign-key ${ENCRYPTION_KEY} "${SOURCE_DIRECTORY}" "${BACKUP_SOURCE_PREFIX}${BACKUP_DIRECTORY}" +env PASSPHRASE=${PASSWORD} SIGN_PASSPHRASE=${PASSWORD} duplicity --progress --encrypt-sign-key ${ENCRYPTION_KEY} "${SOURCE_DIRECTORY}" "${BACKUP_SOURCE_PREFIX}${BACKUP_DIRECTORY}" notify-send --icon "deja-dup" "Backup Complete" "Riftgate was backed up to Data Shape successfully."