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:
parent
356ef8998d
commit
0d607d25fe
2 changed files with 2 additions and 1 deletions
|
@ -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.
|
- [tig](http://jonas.nitro.dk/tig/) - A terminal-based git repository browser.
|
||||||
- backup - A script I wrote to make using Duplicity easier.
|
- 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).
|
- 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
|
## 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.
|
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
2
backup
|
@ -16,7 +16,7 @@ then
|
||||||
exit
|
exit
|
||||||
fi
|
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."
|
notify-send --icon "deja-dup" "Backup Complete" "Riftgate was backed up to Data Shape successfully."
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue