<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to pg_dump the database for backup? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-pg-dump-the-database-for-backup/m-p/321116#M8117</link>
    <description>&lt;P&gt;OS: Ubuntu Server 12.04 LTS&lt;/P&gt;
&lt;P&gt;PostgreSQL 9.1&lt;/P&gt;
&lt;P&gt;I've logged in via SSH.&lt;/P&gt;
&lt;P&gt;login user: nuxeo&lt;/P&gt;
&lt;P&gt;Nuxeo: 5.5 ( installed via apt-get )&lt;/P&gt;
&lt;P&gt;I've tried several commands and/or psql but can't find and dump the nuxeo db.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;$ sudo su - postgres

$ psql

# SELECT * FROM pg_user;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I only see 1 user: &lt;STRONG&gt;postgres&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;# \l
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I only see &lt;STRONG&gt;postgres, template0 and template1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Where are &lt;EM&gt;&lt;STRONG&gt;nuxeo&lt;/STRONG&gt;&lt;/EM&gt; user and db?&lt;/P&gt;
&lt;P&gt;Any help?&lt;/P&gt;</description>
    <pubDate>Thu, 17 May 2012 18:03:24 GMT</pubDate>
    <dc:creator>Alessandro_Raff</dc:creator>
    <dc:date>2012-05-17T18:03:24Z</dc:date>
    <item>
      <title>How to pg_dump the database for backup?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-pg-dump-the-database-for-backup/m-p/321116#M8117</link>
      <description>&lt;P&gt;OS: Ubuntu Server 12.04 LTS&lt;/P&gt;
&lt;P&gt;PostgreSQL 9.1&lt;/P&gt;
&lt;P&gt;I've logged in via SSH.&lt;/P&gt;
&lt;P&gt;login user: nuxeo&lt;/P&gt;
&lt;P&gt;Nuxeo: 5.5 ( installed via apt-get )&lt;/P&gt;
&lt;P&gt;I've tried several commands and/or psql but can't find and dump the nuxeo db.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;$ sudo su - postgres

$ psql

# SELECT * FROM pg_user;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I only see 1 user: &lt;STRONG&gt;postgres&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;# \l
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I only see &lt;STRONG&gt;postgres, template0 and template1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Where are &lt;EM&gt;&lt;STRONG&gt;nuxeo&lt;/STRONG&gt;&lt;/EM&gt; user and db?&lt;/P&gt;
&lt;P&gt;Any help?&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2012 18:03:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-pg-dump-the-database-for-backup/m-p/321116#M8117</guid>
      <dc:creator>Alessandro_Raff</dc:creator>
      <dc:date>2012-05-17T18:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to pg_dump the database for backup?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-pg-dump-the-database-for-backup/m-p/321117#M8118</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;If you are running a default installation, it's probably because the nuxeodb postgres server is listening on port 5433.
If you connect with :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;psql -p 5433
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;then you should see more infos &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And a command like :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;pg_dump -p 5433 -f yourdumpfile.dump nuxeo
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;should give you what you are looking for.&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2012 10:48:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-pg-dump-the-database-for-backup/m-p/321117#M8118</guid>
      <dc:creator>Fred_Vadon</dc:creator>
      <dc:date>2012-05-18T10:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to pg_dump the database for backup?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-pg-dump-the-database-for-backup/m-p/321118#M8119</link>
      <description>&lt;P&gt;Thanks!!!&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2012 12:00:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-pg-dump-the-database-for-backup/m-p/321118#M8119</guid>
      <dc:creator>Alessandro_Raff</dc:creator>
      <dc:date>2012-05-18T12:00:04Z</dc:date>
    </item>
  </channel>
</rss>

