Changes between Version 77 and Version 78 of InstallationGuidelines/PostgreSQL


Ignore:
Timestamp:
10/02/17 16:27:16 (4 years ago)
Author:
Fran Boon
Comment:

Better method

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/PostgreSQL

    v77 v78  
    271271If you want to exclude a table, there is no equivalent argument, so you can sue the following procedure:
    272272{{{
    273 pg_restore -l $pgdump_file > restore.pgdump.list
    274 # Open that restore.pgdump.list file in an editor, and insert an ; in front of the lines to not import
    275 pg_restore -L restore.pgdump.list | psql
     273pg_restore -l $pgdump_file  | grep -v "TABLE DATA public table_to_exclude"  > restore.pgdump.list
    276274}}}
    277275== Remote Access ==