2016-04-07 18:12:21 +02:00
|
|
|
#!/bin/bash
|
|
|
|
DEST=$1
|
|
|
|
DESTDIR=$2
|
|
|
|
|
|
|
|
# Deploy a base backup
|
2016-06-07 18:26:14 +02:00
|
|
|
#ssh -T $DEST 'cd {{ psql_data_dir }}; tar zxf pgsql.tar.gz' 2>/dev/null 1>/dev/null < /dev/null
|
2016-04-07 18:12:21 +02:00
|
|
|
# Startup PostgreSQL server
|
|
|
|
ssh -T $DEST sudo /etc/init.d/postgresql start 2>/dev/null 1>/dev/null < /dev/null
|