Re: Backup schema without data

Поиск
Список
Период
Сортировка
От Michael Loftis
Тема Re: Backup schema without data
Дата
Msg-id CAHDg04s0zDtg1vrSR7ts5DyfFw+MkVPBoDo8ZsWqyoUn59foog@mail.gmail.com
обсуждение исходный текст
Ответ на Backup schema without data  (Atul Kumar <akumar14871@gmail.com>)
Список pgsql-general
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@gmail.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

В списке pgsql-general по дате отправления:

Предыдущее
От: Louis Tian
Дата:
Сообщение: Re: [EXTERNAL]: Re: UPSERT in Postgres
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Backup schema without data