Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am cm6051 on github.
  • I am cm6051 (https://keybase.io/cm6051) on keybase.
  • I have a public key whose fingerprint is D1D5 27BF 6BA6 A6C4 1F7C D18F A172 AC1C 4AAC 8B8C

To claim this, I am signing this object:

@cm6051
cm6051 / attic-backups
Last active Sep 30, 2016
Backup script using Attic
View attic-backups
#!/bin/bash
set -e
MYSQL_DIR=/var/backups/mysql
ATTIC_DIR=/var/backups/attic
BACKUP_NAME=tip1.attic
BACKUP_SOURCES="/etc /home /usr/share/nginx ${MYSQL_DIR}"
REMOTE_DEST="backuptip1@scout.yoyo.org"
echo "================="