| From: | "sivapostgres(at)yahoo(dot)com" <sivapostgres(at)yahoo(dot)com> |
|---|---|
| To: | Pgsql-general <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: To take backup of Postgresql Database without large objects |
| Date: | 2025-04-11 12:55:40 |
| Message-ID: | 1477036526.178965.1744376140698@mail.yahoo.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hello,
Using PostgreSQL 15.1, compiled by Visual C++ build 1914, 64-bit in Windows 10.
Trying to take backup of a database, using pg_dump, where one table contains bytea datatype, which I don't want to include in the backup.
My command was:"E:\DBBackup\bin\pg_dump.exe" -h 192.168.1.1 -p 5432 -U <username> --no-blobs -F c -v -f "E:\DBBackup\demo6_110420251637.bak" demo6
the backup includes the bytea field also.
I tried with "E:\DBBackup\bin\pg_dump.exe" -h 192.168.1.1 -p 5432 -U <username> -B -F c -v -f "E:\DBBackup\demo6_110420251637.bak" demo6
also, which also included the bytea field.
What wrong I'm doing? Couldn't figure it out. Any help is appreciated.
Happiness Always
BKR Sivaprakash
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ron Johnson | 2025-04-11 13:29:07 | Re: To take backup of Postgresql Database without large objects |
| Previous Message | Dimitrios Apostolou | 2025-04-11 11:38:26 | Re: pg_restore causing ENOSPACE on the WAL partition |