Uncomment makefile for pulldb.

master
Nick Sergeant 2015-10-17 15:00:33 -04:00
parent ca39cedc6f
commit 72871ae04f
1 changed files with 3 additions and 3 deletions

View File

@ -147,9 +147,9 @@ vagrant:
@$(ssh-vagrant) '$(pm) rebuild_index --noinput;'
pulldb:
# @ssh nick@snipt.net -p 55555 'sudo su -c "pg_dump snipt|gzip > /tmp/snipt.dump" postgres'
# @scp -q -P 55555 nick@snipt.net:/tmp/snipt.dump snipt.dump.gz
# @dropdb snipt
@ssh nick@snipt.net -p 55555 'sudo su -c "pg_dump snipt|gzip > /tmp/snipt.dump" postgres'
@scp -q -P 55555 nick@snipt.net:/tmp/snipt.dump snipt.dump.gz
@dropdb snipt
@createdb snipt
@cat snipt.dump.gz | gunzip | psql snipt
@rm snipt.dump.gz