Created
October 2, 2018 16:14
-
-
Save skwp/417a3f0822f8d15ce06d416d856bee08 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [[ -z "$TAG_restore_backup" ]]; then | |
log "Tag restore_backup not set. Not restoring from backup, this is a clean node." | |
else | |
log "Restoring backup from $TAG_restore_backup" | |
/usr/local/bin/aws s3 cp $TAG_restore_backup /tmp | |
cd / | |
tar zxvf /tmp/bitcoin.tgz | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment