This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Create table backup ............. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Create table backup ............." Watch "Create table backup ............." New topic

Create table backup .............

Tushar Londhe

Joined: Jul 08, 2008
Posts: 3
Hi Guys,

I want to take back up of a table for ex: table1
I am using PostgreSQL as my dbase.
Wht I am doing is

I am using pg_dump.exe utility to take backup
and I am taking back up into some files ex: filetable1.backup

I am using select * into temp_tbl from table1
Now after this I am executing pg_dump.exe and taking back up into files
after that I am dropping the temp_tbl.

Now because that temp_tbl is deleted I am not able to take back up
However I am taking care that I am dropping the table after I have taken backup.

But still I am not able to create backup ...........Why ???
I agree. Here's the link:
subject: Create table backup .............
It's not a secret anymore!