Search Postgresql Archives

Re: backing up the data from a single table?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 13, 2019 at 4:14 PM stan <stanb@xxxxxxxxx> wrote:
Is there a way to "export" a single table, that can be easily re
"imported"?

Export:

pg_dump --table=foo > foo.sql

Import:

cat foo.sql | psql



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux