1
0
Fork 0
mirror of https://github.com/sbrl/bin.git synced 2018-01-10 21:33:46 +00:00

Add backup script2

This commit is contained in:
Starbeamrainbowlabs 2016-06-03 18:19:06 +01:00
parent 356ef8998d
commit 0d607d25fe
2 changed files with 2 additions and 1 deletions

View file

@ -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.

2
backup
View file

@ -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."