From: Charles Connell Date: Tue, 13 May 2014 18:09:37 +0000 (-0400) Subject: Glacier backup script X-Git-Tag: release-20150131~83 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5c3e2d7d5c816fe12c4cdd58284994b225e235b6;p=oweals%2Fkarmaworld.git Glacier backup script --- diff --git a/database_backup.sh b/database_backup.sh new file mode 100644 index 0000000..849d035 --- /dev/null +++ b/database_backup.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +pg_dump -F t karmanotes > karmanotes_db_prod-$(date +"%Y-%m-%d").tar +glacier-cmd --region us-east-1 upload karmanotes_db_prod-$(date +"%Y-%m-%d").tar +