Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PostgreSQL dump/restore

I don't want to Dump the entire table but only certain records in a table in my dump file and later restore the same.
P.S.: I want to do the same for more than 1 table in my database but dump it in a single file.
Is this possible? If yes then how do i go about it?

Thank in advance.

like image 224
Shirish11 Avatar asked Jun 08 '26 05:06

Shirish11


1 Answers

The COPY command?

like image 90
Pondlife Avatar answered Jun 10 '26 20:06

Pondlife



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!