If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Restoring a database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-04-09, 00:53
db2dba08 db2dba08 is offline
Registered User
 
Join Date: Jan 2009
Posts: 4
Exclamation Restoring a database

Hi All,
I am facing a problem in db2,
i have restored a database using the command

db2 restore database db_name from /path

and it completed successfully also,
but when i issued the command

db2 list tables

It is not showing any records there,
will any1 tell me wats the problem and how to resolve this
Reply With Quote
  #2 (permalink)  
Old 02-04-09, 01:52
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
no tables for your schema (connected user)
try db2list tables for schema sysibm
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #3 (permalink)  
Old 02-04-09, 10:52
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
Quote:
Originally Posted by db2dba08
Hi All,
I am facing a problem in db2,
i have restored a database using the command

db2 restore database db_name from /path

and it completed successfully also,
but when i issued the command

db2 list tables

It is not showing any records there,
will any1 tell me wats the problem and how to resolve this
try 'db2 list tables for all'
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #4 (permalink)  
Old 02-05-09, 00:18
hkp819 hkp819 is offline
Registered User
 
Join Date: Dec 2008
Posts: 59
I have read article related to this topic from here I think you will also get sufficient help from here......
Zen Cart(tm) Tutorials and FAQs - How can I do a database-backup with phpMyAdmin?
__________________
New York Web design
Website design

Reply With Quote
  #5 (permalink)  
Old 02-05-09, 13:30
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
Quote:
Originally Posted by db2dba08
Hi All,
I am facing a problem in db2,
i have restored a database using the command

db2 restore database db_name from /path

and it completed successfully also,
but when i issued the command

db2 list tables

It is not showing any records there,
will any1 tell me wats the problem and how to resolve this
depending on the history of this db, another thing you probably need to do is uncatalog and then catalog it
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #6 (permalink)  
Old 02-08-09, 02:46
stephen.song stephen.song is offline
Registered User
 
Join Date: Aug 2004
Posts: 24
you can check the tables here : select * from syscat.tables
__________________
I am a java and database developer.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On