|
@@ -2,6 +2,14 @@
|
|
|
|
|
|
Tips for using Postgres SQL.
|
|
Tips for using Postgres SQL.
|
|
|
|
|
|
|
|
+## Use a database in a commandline
|
|
|
|
+
|
|
|
|
+```
|
|
|
|
+sudo service postgresql start ;
|
|
|
|
+sudo -u postgres psql <db name> ;
|
|
|
|
+sudo update-rc.d postgresql disable
|
|
|
|
+```
|
|
|
|
+
|
|
## Backup
|
|
## Backup
|
|
|
|
|
|
Create backup profile :
|
|
Create backup profile :
|