Skip to content

Instantly share code, notes, and snippets.

@danwbyrne
Last active February 3, 2020 17:42
Show Gist options
  • Save danwbyrne/50e52db404c9bf55d54d1050afaba757 to your computer and use it in GitHub Desktop.
Save danwbyrne/50e52db404c9bf55d54d1050afaba757 to your computer and use it in GitHub Desktop.
Deployment backup/upload

download the backup with:

gsutil -m rsync -r gs://bucket-1.neo-one.io/node_0/1562867047/ ./node-backup //edit this to select the most recent

extract the backup with:

for file in *.tar.gz; do tar -zxf "$file"; done //edit this to delete the file after too
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment