Can any one tell me , How can i take database dump using pg_dump without getting specific table records.
Can any one tell me , How can i take database dump using pg_dump
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want a table-wide filter, you can use either –exclude-table=table or –table=table to resp. exclude tables or include only the tables you want.
If you want to “filter out” some records, then you have no direct option to do it. My best advice is to:
original DB)
This is of course quite rudimentary, and there might be other solutions suitable to your needs. E.g. dump using plain text format then manually edit the dump to remove the rows.