Skip to content

Instantly share code, notes, and snippets.

Philipp Berner philippb

Block or report user

Report or block philippb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@philippb
philippb / git-backup-to-AWS-S3.sh
Created Mar 6, 2012 — forked from weavenet/gist:1524092
Complete git repository backup script to AWS S3
View git-backup-to-AWS-S3.sh
#!/bin/bash
# Script to backup git repo to S3
# Set bucket, dir, password and account to use for the backup. I keep mine in local env vars
# These are set by localrc which lives on an encrypted home directory and is executed by my bashrc
bucket=$GITHUB_BACKUP_BUCKET
dir=$GITHUB_BACKUP_DIR
password=$GITHUB_BACKUP_PASSWORD
account=$GITHUB_ACCOUNT
You can’t perform that action at this time.