Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mSgOa-0005zS-64 for pgsql-admin@arkaria.postgresql.org; Tue, 21 Sep 2021 14:05:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mSgOZ-0001v7-53 for pgsql-admin@arkaria.postgresql.org; Tue, 21 Sep 2021 14:05:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mSgOY-0001uw-PP for pgsql-admin@lists.postgresql.org; Tue, 21 Sep 2021 14:05:14 +0000 Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mSgOR-0005WK-KK for pgsql-admin@postgresql.org; Tue, 21 Sep 2021 14:05:14 +0000 Received: by mail-qt1-x834.google.com with SMTP id r1so4668403qta.12 for ; Tue, 21 Sep 2021 07:05:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to; bh=Am1LjInXC2iqJMUgUbDrxBjSctUxLt5iqVnfnFoVULc=; b=Nk/tg9I8UuvDtAwq0Re6t+5tvsSxuMHDlNM8MHpLn9MTNIf5/RP8aCUqnSnxrMBp4c JsKIZDHehk4+l3Vg+X2u6Qb+hiAa8BJwKFT1ZBCkjbvXJuiOjmWsF7PYkq6XdGDibtoS qMB9TGdz/BOePnuGtroae66VJEcLwDO0OlMX63SW+lD4UeQ43X1cEQM4Ew807VUOFdMC P5ZMFETw16ApBGsxSepFidwkNSf8iSmnkjVTyTUBvtSJCCmIqPgcOCYvNnky4YYUqW6k Kt6Zp7apuq81o5IQtCVwSMkhSWxTtHgEvITD4lCtqTtg+lxDOcYpd06K+gubE17289Bl OpyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to; bh=Am1LjInXC2iqJMUgUbDrxBjSctUxLt5iqVnfnFoVULc=; b=4OlBN/QjkRe9vASIMhn/TQV+3AMUxNbhIPf9xiw3ZUQj9xeuVrhLktlfVmBbOZlFnf AW3WNADYBfYUZxGfL8hGfY6OzFYuzbxvH1UaXWX9ycNpHBcy+PApDk63PefSs355TnDY PKyhVRb+T7pkOF2OcTEhJyFR3GFZXq8zda+ldeIxPQn/dltvEmNdaxGI1184vxGxNb6f ZXbaqIz0tZNkRmSXlKA94dAECwVjCM+vxdwBpKn1gFUOszwhzyCv0kaYge5a3tZ8S49b 4l7sKQ937bP/X6U4BBCiAHNE8jt0iMqtBLWdtGb6Tjp2gvRUuR/1RSat2zP9SZl4n8dQ 2ENw== X-Gm-Message-State: AOAM533qA0ZWraDVgLotqkUb6ab/uJ+lw8UgTgm/LC1Vutp6C99HZ173 7Q0Ux5qC4aSa4uxipQ7D4KE= X-Google-Smtp-Source: ABdhPJw6lRCtuQ+31Ut7/4acCv7yxqY96I36dgYlV9aaaubWlOzXQPhfncMRvjs4MAV0QRU1KksHtw== X-Received: by 2002:ac8:5e94:: with SMTP id r20mr697187qtx.125.1632233104798; Tue, 21 Sep 2021 07:05:04 -0700 (PDT) Received: from [192.168.2.100] (pool-72-79-19-93.nwrknj.east.verizon.net. [72.79.19.93]) by smtp.gmail.com with ESMTPSA id y23sm12048422qkj.128.2021.09.21.07.05.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Sep 2021 07:05:02 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------xkJW0uwRHeMRojNpsM9OYl2Y" Message-ID: Date: Tue, 21 Sep 2021 10:05:01 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: How to Export Import particular/selected tables using PG Admin tool Content-Language: en-US To: Prashant Kulkarni , pgsql-admin References: From: Mladen Gogala In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------xkJW0uwRHeMRojNpsM9OYl2Y Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 9/21/21 08:52, Prashant Kulkarni wrote: > Hi All, > > Please can you help me how we can export/import particular tables > using PGAdmin tool. > I did not find any option to export/import only required tables using > PGAdmin tool. > > PG admin has an option to export/import tables in csv and using > backup/restore option but we can export/import only one table at a > time using these functionalities which is not feasible. > > *For instance:* > We have a scenario where we have to export and import only 60 tables > from a schema having thousands of tables in it. We can not > export/import the tables one by one using the option available in the > PG admin tool. > > *OR* > * > * > Is there any other GUI tool available which has this functionality to > export/import particular tables. > > Kindly let me know !! > > Thanks, When you right click on the database name, one of the options is "backup". That is pg_dump. As for the other GUI tools, there are many: Commvault, Veeam and Rubrik among others. I prefer Commvault. Regards -- Mladen Gogala Database Consultant Tel: (347) 321-1217 https://dbwhisperer.wordpress.com --------------xkJW0uwRHeMRojNpsM9OYl2Y Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit


On 9/21/21 08:52, Prashant Kulkarni wrote:
Hi All,

Please can you help me how we can export/import particular tables using PGAdmin tool.
I did not find any option to export/import only required tables using PGAdmin tool.

PG admin has an option to export/import tables in csv and using backup/restore option but we can export/import only one table at a time using these functionalities which is not feasible.

For instance:
We have a scenario where we have to export and import only 60 tables from a schema having thousands of tables in it. We can not export/import the tables one by one using the option available in the PG admin tool.

OR

Is there any other GUI tool available which has this functionality to export/import particular tables.

Kindly let me know !!

Thanks,


When you right click on the database name, one of the options is "backup". That is pg_dump. As for the other GUI tools, there are many: Commvault, Veeam and Rubrik among others. I prefer Commvault.

Regards



-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com
--------------xkJW0uwRHeMRojNpsM9OYl2Y--