How do I exclude a schema , a function and a table from pg_backup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I need to exclude a schema, few tables and functions defined in public
schema. How do i exclude them from the backup ? I know how to exclude schema
and tables. is there a way to exclude 1 or more functions?


sudo -u postgres  pg_dump -Fc -exclude-schema=schema1 --exclude-table=table1
--disable-triggers -f DB.dump database1



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux