PostgreSQL 9.2: Restore a database excluding the data of some tables

by FiruzzZ   Last Updated November 16, 2018 14:06 PM

I have a backup.custom that I want to restore, but I would like to exclude the data (not the schema) of some tables. Is it possible to achieve this with pg_restore or another command?

PD: Create the backup excluding the data is not a possibility since I don't have access to the database

I am using 9.2 (which I can update it if is necessary to whatever version that allows me to do this), the backup comes from a 9.1.10

Related Questions

Dump and Restore Only Data in Postgresql

Updated April 13, 2017 06:06 AM

Postgres very slow on server

Updated August 08, 2018 23:06 PM

ERROR: invalid input syntax for type money

Updated December 30, 2016 08:02 AM