how to take postgres server backup skipping some of databases? I have PostgreSQL server version 9.5. Contains 20 Databases.

I want take server backup skipping of some 10 databases.

Am using pg_dumpall, but it was taking full server backup.

thanks,
Instead of using pg_dumpall, just use pg_dump and specify which databases you want to dump.  One possible way to do it is:

for db in &lt;space-separated list of database names&gt;
do
  pg_dump -U &lt;user&gt; -h &lt;host&gt; ${db} &gt; ${db}.dmp
done