Обсуждение: Restore single table

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

Restore single table

От
Sonam Sharma
Дата:
Can someone please help me with the command to restore a single table using psql.

Took the backup using below command : 
pg_dump -t (tablename) dbname > tablename.sql

Re: Restore single table

От
Ritesh Jha
Дата:
psql -d databaseName -f tablename.sql

On Wed, Oct 30, 2019, 5:51 PM Sonam Sharma <sonams1209@gmail.com> wrote:
Can someone please help me with the command to restore a single table using psql.

Took the backup using below command : 
pg_dump -t (tablename) dbname > tablename.sql