Обсуждение: How to Export Import particular/selected tables using PG Admin tool

Поиск
Список
Период
Сортировка

How to Export Import particular/selected tables using PG Admin tool

От
Prashant Kulkarni
Дата:
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,

Re: How to Export Import particular/selected tables using PG Admin tool

От
Mladen Gogala
Дата:


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

RE: How to Export Import particular/selected tables using PG Admin tool

От
Дата:

Hi Prashant,

I just tried what you want in phpPgAdmin. Worked fine.

Select the Schema you want to work with, for example public, on the left.

You should get a list of tables on the right, with checkboxes.

Check all the tables you want to work with.

Now Click on the Export option, always shows top right for me.

Select what you want to do, export data, structure or both, and the format you want to use, Copy or SQL, then the radio button for Show, Download or Download Compressed, and finally click the Export button.
Regards

Dave

 

From: Prashant Kulkarni [mailto:ppk10.prashant@gmail.com]
Sent: 21 September 2021 13:53
To: pgsql-admin
Subject: How to Export Import particular/selected tables using PG Admin tool

 

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,

Re: How to Export Import particular/selected tables using PG Admin tool

От
Prashant Kulkarni
Дата:
Thank you all for the information.
However, we were looking to export particular tables using the PGAdmin tool, but it seems PGAdmin does not provide this functionality.


PhpPgAdmin [Freeware] / Commvault [Licensed] are other tools that surely we will explore.

On Tue, Sep 21, 2021 at 10:03 PM <dave@davebolt.co.uk> wrote:

Hi Prashant,

I just tried what you want in phpPgAdmin. Worked fine.

Select the Schema you want to work with, for example public, on the left.

You should get a list of tables on the right, with checkboxes.

Check all the tables you want to work with.

Now Click on the Export option, always shows top right for me.

Select what you want to do, export data, structure or both, and the format you want to use, Copy or SQL, then the radio button for Show, Download or Download Compressed, and finally click the Export button.
Regards

Dave

 

From: Prashant Kulkarni [mailto:ppk10.prashant@gmail.com]
Sent: 21 September 2021 13:53
To: pgsql-admin
Subject: How to Export Import particular/selected tables using PG Admin tool

 

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,

Re: How to Export Import particular/selected tables using PG Admin tool

От
Holger Jakobs
Дата:
Am 22.09.21 um 07:08 schrieb Prashant Kulkarni:
> Thank you all for the information.
> However, we were looking to export particular tables using the PGAdmin 
> tool, but it seems PGAdmin does not provide this functionality.
>
>
Asking for help regarding pgAdmin in the list of PostgreSQL server is a 
bit awkward at first. pgAdmin has its own list.

But asking for a solution to a problem and limiting this to a certain 
tool is another funny thing.


-- 
Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012


Вложения