projects
/
oweals
/
karmaworld.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
065ceb5
)
Glacier backup script
author
Charles Connell
<charles@connells.org>
Tue, 13 May 2014 18:09:37 +0000
(14:09 -0400)
committer
Charles Connell
<charles@connells.org>
Tue, 13 May 2014 18:09:37 +0000
(14:09 -0400)
database_backup.sh
[new file with mode: 0644]
patch
|
blob
diff --git a/database_backup.sh
b/database_backup.sh
new file mode 100644
(file)
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
+