Skip to content

Instantly share code, notes, and snippets.

Avatar

Mark Lopez Silvenga

View GitHub Profile
@Silvenga
Silvenga / ghost.conf
Last active Aug 29, 2015
Ghost Upstart Script
View ghost.conf
start on filesystem and started networking
stop on shutdown
author "Mark Lopez"
description "Ghost Upstart Job"
version "0.2"
respawn
respawn limit 5 30
@Silvenga
Silvenga / dup-backup.sh
Last active Jan 19, 2017
For daily systemwide encrypted backups of Ubuntu servers to remote host of Google Drive (free 15GB of storage).
View dup-backup.sh
#!/bin/bash
# Place in /usr/share/backup/
# and make executable
# chmod 0744 dup-backup.sh
# install:
# apt-get install duplicity python-gdata python-gobject-2 python-paramiko
## Remeber to change Google drive user name and Google drive folder
## And change Email
# Must run as root for system wide backups