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 > DB2 Restore

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-08-03, 11:30
lurchi lurchi is offline
Registered User
 
Join Date: Dec 2003
Posts: 4
DB2 Restore

Hi,
I tried to restore a database from a customer in AIX with teh restore command. "RESTORE DATABASE BLABLA from /PATH" and my system always says that the databasename and the timestamp does not match.

any ideas ??
Reply With Quote
  #2 (permalink)  
Old 12-08-03, 14:18
achiola achiola is offline
Registered User
 
Join Date: May 2002
Location: General Deheza, Cba, Arg.
Posts: 273
Re: DB2 Restore

Hola lurchi.

Hablas español?
Debes darnos más información. Por ejemplo, que versión de OS y Db2 tiene y el código de error que te apacere.

Saludos,
Abel.
Reply With Quote
  #3 (permalink)  
Old 12-08-03, 16:50
quigleyd quigleyd is offline
Registered User
 
Join Date: Nov 2002
Location: Delaware
Posts: 186
are there more that one backup in that directory, if there is you need to specify the timestamp so it know which one to get. You should specify the timestamp anyway, you can get it from the list history command
Reply With Quote
  #4 (permalink)  
Old 12-09-03, 03:00
lurchi lurchi is offline
Registered User
 
Join Date: Dec 2003
Posts: 4
Quote:
Originally posted by quigleyd
are there more that one backup in that directory, if there is you need to specify the timestamp so it know which one to get. You should specify the timestamp anyway, you can get it from the list history command
Hi and thanks I will try it again.
Reply With Quote
  #5 (permalink)  
Old 12-09-03, 04:14
nitingm nitingm is offline
Registered User
 
Join Date: Jul 2003
Location: Austin, TX, USA
Posts: 278
Command

The restore database command is like this

restore database database name from <path> taken at <timestamp>

Here the timestamp is the important part.

What is suggest is you use the control centre to do the same.

Nitin
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