cancel
Showing results for 
Search instead for 
Did you mean: 

How to pg_dump the database for backup?

Alessandro_Raff
Champ in-the-making
Champ in-the-making

OS: Ubuntu Server 12.04 LTS

PostgreSQL 9.1

I've logged in via SSH.

login user: nuxeo

Nuxeo: 5.5 ( installed via apt-get )

I've tried several commands and/or psql but can't find and dump the nuxeo db.

$ sudo su - postgres

$ psql

# SELECT * FROM pg_user;

I only see 1 user: postgres

# \l

I only see postgres, template0 and template1

Where are nuxeo user and db?

Any help?

1 ACCEPTED ANSWER

Fred_Vadon
Star Contributor
Star Contributor

Hi!

If you are running a default installation, it's probably because the nuxeodb postgres server is listening on port 5433. If you connect with :

psql -p 5433

then you should see more infos 🙂

And a command like :

pg_dump -p 5433 -f yourdumpfile.dump nuxeo

should give you what you are looking for.

View answer in original post

2 REPLIES 2

Fred_Vadon
Star Contributor
Star Contributor

Hi!

If you are running a default installation, it's probably because the nuxeodb postgres server is listening on port 5433. If you connect with :

psql -p 5433

then you should see more infos 🙂

And a command like :

pg_dump -p 5433 -f yourdumpfile.dump nuxeo

should give you what you are looking for.

Thanks!!!

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.