pg_dump and restore without indexes

From: Teja Jakkidi <teja(dot)jakkidi05(at)gmail(dot)com>
To: pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: pg_dump and restore without indexes
Date: 2024-06-04 17:42:17
Message-ID: 45A8AB37-2C13-465D-9294-85CCA6C81C2D@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello Admins,

I am trying to look for an option that can be added in pg_dump command to ignore all the indexes when creating the schema dump with data.
Is there any such option that can be used in pg_dump? Or in pg_restore?

Please help with your inputs.

Thanks in advance,
J. Teja.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Erik Wienhold 2024-06-04 17:56:13 Re: pg_dump and restore without indexes
Previous Message Naveed Iftikhar 2024-06-04 16:15:23 Re: pgBackRest configuration with DDBoost