Unix Technical Forum

Restore of tablespace

This is a discussion on Restore of tablespace within the DB2 forums, part of the Database Server Software category; --> Hi, I am trying to restore a tablespace from a tablespace backup image using following command. db2 " restore ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2008, 06:06 PM
APK
 
Posts: n/a
Default Restore of tablespace

Hi,

I am trying to restore a tablespace from a tablespace backup image
using following command.
db2 " restore db G2P01 tablespace ( G2P01TB37 ) online from
/db2_backups taken at 20040213070850 ".

db2 " rollforward database G2P01 to 2004-02-13-07.08.50.000000 and
stop tablespace (G2P01TB37) online "

It gives me error: SQL4906N The list of table space names specified
is an incomplete set for the rollforward operation.

Please could you help me.

Regards,
APK
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-26-2008, 06:07 PM
Knut Stolze
 
Posts: n/a
Default Re: Restore of tablespace

APK <pranay@iiitb.ac.in> wrote:

> Hi,
>
> I am trying to restore a tablespace from a tablespace backup image
> using following command.
> db2 " restore db G2P01 tablespace ( G2P01TB37 ) online from
> /db2_backups taken at 20040213070850 ".
>
> db2 " rollforward database G2P01 to 2004-02-13-07.08.50.000000 and
> stop tablespace (G2P01TB37) online "
>
> It gives me error: SQL4906N The list of table space names specified
> is an incomplete set for the rollforward operation.


My guess would be that you violate this rule:

o For point-in-time table space recovery, a self-contained list
of table space names must be specified. The table spaces in
the list must contain all objects of every table included in
the table spaces.


Does the tablespace that you want to recover contain any tables which are
spread over multiple tablespaces, i.e. index and/or lob data does not
reside in G2P01TB37?

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:15 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com