> Can you help me how can I do this? > > Here is what I was doing before, which triggered the bug: > > pg_restore --schema-only --format=custom --single-transaction $BACKUP_FILE > > pg_restore --list $BACKUP_FILE > dump_list.full > grep -v "public events_map" dump_list.full > dump_list.main > > pg_restore --data-only --format=custom --use-list=dump_list.main --jobs=4 > $BACKUP_FILE
I'd do this:
pg_restore --list $BACKUP_FILE | grep -v "TABLE DATA public events_map" > dump_list pg_restore -j4 --use_list=dump_list $BACKUP_FILE