This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
############################## | |
# Created by Stephen Simpson # | |
# Version 0.1 # | |
# Last Modified: 12/05/12 # | |
############################## | |
###VARIABLES#### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server.py | |
------------- | |
import SocketServer | |
import json | |
import os | |
import subprocess | |
import commands | |
class MyTCPServer(SocketServer.ThreadingTCPServer): | |
allow_reuse_address = True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
##Notification email address | |
[email protected] | |
#Bucket name | |
BUCKET=BUCKETNAME | |
ERRORLOG=/var/log/backuplogs/backup.err`date +%F` | |
ACTIVITYLOG=/var/log/backuplogs/activity.log`date +%F` |
NewerOlder