User Tools

Site Tools


aws:postgresql

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
aws:postgresql [2014/07/29 11:28]
asok
aws:postgresql [2015/07/08 05:34] (current)
asok
Line 5: Line 5:
     service tomcat6 stop     service tomcat6 stop
     su - postgres     su - postgres
-    pg_dumpall > /root/mydata.bu+    pg_dumpall > mydata.bu
     exit     exit
     mv /​var/​lib/​pgsql/​mydata.bu /root     mv /​var/​lib/​pgsql/​mydata.bu /root
Line 21: Line 21:
   * Rename service name   * Rename service name
 <​code>​ <​code>​
-    mv /​etc/​init.d/​postgresql-9.3 /​etc/​init.d/​posgresql+    mv /​etc/​init.d/​postgresql-9.3 /​etc/​init.d/​postgresql
 </​code>​ </​code>​
   * Using yast set run level 3 & 5 for automatic startup.   * Using yast set run level 3 & 5 for automatic startup.
Line 33: Line 33:
     service postgresql restart     service postgresql restart
     service tomcat6 start     service tomcat6 start
 +</​code>​
 +  * Create Symbolic Link to ensure back up scripts will work
 +<​code>​
 +    ln -s /​opt/​PostgreSQL/​9.3 /​var/​lib/​pgsql ​   ​
 </​code>​ </​code>​
/srv/www/htdocs/wiki/data/attic/aws/postgresql.1406633333.txt.gz · Last modified: 2014/07/29 11:28 by asok