Skip to content

Instantly share code, notes, and snippets.

View crobertwatson's full-sized avatar

Rob Watson crobertwatson

View GitHub Profile
#!/usr/bin/env bash
# pantheon-backup-to-gdrive.sh
# Script to backup Pantheon sites and copy to Google Drive
#
# Requirements:
# - Pantheon terminus cli
# - Valid terminus machine token
# - Google Drive folder ID
# - gdrive CLI by Petter Rasmussen (https://github.com/prasmussen/gdrive)