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 > Need to know the time stamp of my backup file to issue restore command

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-18-10, 14:00
amira1344 amira1344 is offline
Registered User
 
Join Date: Feb 2010
Posts: 11
Need to know the time stamp of my backup file to issue restore command

Hi,
if someone can help me on this:
i have dropped my database XYZ and now cannot issue restore command. I tried "list history all for DB XYZ" but i a getting "database alias name or database name XYZ cannot be found"
Any idea?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 06-18-10, 15:04
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
What is your DB2 version and OS? What is the file name of the backup image?

Andy
Reply With Quote
  #3 (permalink)  
Old 06-18-10, 15:32
amira1344 amira1344 is offline
Registered User
 
Join Date: Feb 2010
Posts: 11
I am running DB2 version 7 on WIN2000 and the file name is 010004.001 in a dated folder 20100618.
... CATN0000/20100618/010004.001

thanks.
Reply With Quote
  #4 (permalink)  
Old 06-18-10, 15:36
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
The timestamp is in the directory name and filename: 2010/06/18 01:00:04.

Andy
Reply With Quote
  #5 (permalink)  
Old 06-18-10, 15:55
amira1344 amira1344 is offline
Registered User
 
Join Date: Feb 2010
Posts: 11
Thanks Andy. Now if you don't mind looking at my restore command and the message i am getting.

Thanks a lot.
Attached Thumbnails
Need to know the time stamp of my backup file to issue restore command-restore-command-db2.gif  
Reply With Quote
  #6 (permalink)  
Old 06-18-10, 16:05
amira1344 amira1344 is offline
Registered User
 
Join Date: Feb 2010
Posts: 11
Also I am having problem to recreate the database I dropped in order to get me restore command working.
Do you have any idea?
Reply With Quote
  #7 (permalink)  
Old 06-18-10, 16:07
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
It's a device problem. Check db2diag.log for more information.
Reply With Quote
  #8 (permalink)  
Old 06-18-10, 16:18
amira1344 amira1344 is offline
Registered User
 
Join Date: Feb 2010
Posts: 11
I am getting exceeding number of processors in one log file.
Also what it the best practice to recreate the same database you dropped?
I should let you know that I am beginer with DB2...

Thanks.
Attached Thumbnails
Need to know the time stamp of my backup file to issue restore command-1-restore-command-db2.gif   Need to know the time stamp of my backup file to issue restore command-2-restore-command-db2.gif  
Reply With Quote
  #9 (permalink)  
Old 06-18-10, 16:22
amira1344 amira1344 is offline
Registered User
 
Join Date: Feb 2010
Posts: 11
Sorry, I noticed the attachment were not clear in my previous reply.
Attached Thumbnails
Need to know the time stamp of my backup file to issue restore command-1-restore-command-db2.gif   Need to know the time stamp of my backup file to issue restore command-2-restore-command-db2.gif  
Reply With Quote
  #10 (permalink)  
Old 06-18-10, 18:01
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Can you cd to D:\Backups and do ls?
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