This file contains hidden or 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
#!/bin/bash | |
# grab the latest backup from the warehouse data hoarder | |
# this file goes in the root of the nanobox project. | |
# it assumes you followed the backup guide: | |
# https://content.nanobox.io/data-safety-with-nanobox-backup-and-recovery/ | |
port=7410 | |
address="https://localhost:$port/blobs" | |
token=$(nanobox evar ls | awk '/DATA_HOARDER_TOKEN/ {print $3}') |