To quit psql use the following command : \q Run a query to display the content of a table, for instance on dm.dematcare_event_t : select * from dm.dematcare_event_t
Run psql as postgres user (As root) : su postgres -c psqlĬonnect to the database, for instance on demcare : \c demcare B – How to backup your postgresql database using a command line B1 – How to access the Database To view the content of your database, right click on i) and select view data. Enter a filename.sql and luanch the backup. To back up your database, right clik on c) and select Backup. Then using the object browser window on the left, extend the following items: If pgadmin3 is not install, install it as followsīefore launching pgadmin3, you must have postgres sql installed (see link related to installation of CAR) and CAR must have been launched so that events are recorded by CAR in the db.Ĭlick on the top left button to connect and fill this fields as follows: – A – How to view and backup your postgresql database using the pgadmin3 interface