Added api certs

This commit is contained in:
Fergal Moran
2016-02-02 20:42:03 +00:00
parent a04c936170
commit 2abf269687
6 changed files with 117 additions and 0 deletions

2
postgres/backup.sh Normal file
View File

@@ -0,0 +1,2 @@
su - postgres -c pg_dump deepsouthsounds > /tmp/dss.sql
scp /tmp/dss.sql fergalm@home.bitchmints.com:/srv/dev/

1
postgres/backup.sql Normal file
View File

@@ -0,0 +1 @@
su postgres -c 'pg_dump -h 127.0.0.1 deepsouthsounds > "/tmp/backup_$(date +"%m%d%Y%H%M%S.sql")"'