Fabfile update.

master
Nick Sergeant 2014-09-30 16:06:12 -04:00
parent 0a7f18d068
commit c59801fd70
1 changed files with 1 additions and 1 deletions

2
fabfile.py vendored
View File

@ -31,7 +31,7 @@ def dep():
def db_backup():
filename = datetime.datetime.now().strftime('%h-%d-%y__%I-%M-%S_%p.pgdump')
path = '/home/nick/snipt/{}'.format(filename)
local('.docker/control.sh backupdb > {}'.format(path))
local('/home/nick/snipt/.docker/control.sh backupdb > {}'.format(path))
conn = S3Connection(AMAZON_API_KEY, AMAZON_API_SECRET)
snipt_bucket = conn.get_bucket('snipt')
k = Key(snipt_bucket)