From the man page….
“
-s
--schema-only
Dump only the object definitions (schema), not data.
…..”
On Thu, Apr 6, 2023 at 18:40 Atul Kumar <akumar14871(at)gmail(dot)com> wrote:
> Hi,
>
> Please help me in telling that how I can take the backup of one single
> schema without its data using pg_dump utility ?
>
>
> So far, I could not find anything suitable for doing so.
>
> Regards,
> Atul
>
> --
"Genius might be described as a supreme capacity for getting its possessors
into trouble of all kinds."
-- Samuel Butler