473,657 Members | 2,711 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tablespaces on backup image (UDB v8.1)

Lew
Hi,

I was wondering if there is a way to determine the tablespace id of
each tablespace on a backup image. I want to perform a redirected
restore pointing the tablespace containers to different locations
than the ones defined on the backup image.

While I haven't tried it yet I imagine that I could perform a
redirected restore of just the catalog table space and then look at
the catalog table info to determine the tablespaces.

1) Will the solution I detail above work
2) Is there another way to determine this information assuming that
I do not have the original system from which the backup was created

Thanks in advance

Lew
Nov 12 '05 #1
3 2377
Hi,

Lew wrote:
While I haven't tried it yet I imagine that I could perform a
redirected restore of just the catalog table space and then look at
the catalog table info to determine the tablespaces.


Do you mean something like "select from syscat....?". This is not going to
work as the database will be in "backup pending" state.

if you just want to find out which tablespaces are included in the
image-file i suggest to try kind of this:

db2 restore database foo from /dev/bar into test redirect

db2 list tablespaces show detail
db2 list tablespace containers for TBSCPID

db2 set tablespace containers for .....

db2 restore database foo continue
[db2 rollforward... ]

This should give you some advice, which tablespaces are included and how to
organize your storage.
Norbert
Nov 12 '05 #2
Hi Lew and Norbert.. Why dont you use db2ckbkp -T backupimage ? This
will show all tablespace details such as id, name of the tablespace,
name of the container(s) etc.
Nov 12 '05 #3
Hi Roger,

Roger wrote:

Thanks for the hint. You are right. This should be first if you don't know
what to expect from the image file.

Both should work.
Hi Lew and Norbert.. Why dont you use db2ckbkp -T backupimage ? This
will show all tablespace details such as id, name of the tablespace,
name of the container(s) etc.


--
BOFH Excuse #12:

dry joints on cable plug

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3077
by: Vikrant | last post by:
Friends, I have read DB2/UDB 8.x 'RESTORE DATABASE Command', with my 'limited' knowledge & skill. I think it should address my concern, but I want advice/ opinion / experience and any care I must take to restore DB2/UDB 8.x database 64 to 32 bit). (1) Due to hardware limitaion I can not have 64 bit DB2/UDB 8 on AIX 4.3.3 host. Let us call this as host vhost32. I can migrate 7.2EE FP11 32bit to 8.x 32 bit on vhost32. This is my test...
3
1940
by: Raquel | last post by:
I am a newbie to UDB and reading the backup processes on UDB which look pretty good to me. Now, if these good backup and recovery procedures are already available 'within' UDB, what extra convenience and feature do products such as TSM etc. provide? For example, if I am using 'native' UDB (without TSM etc.) for all my backup/recovery needs, I appreciate that I must be pretty thorough with my understanding of recovery related concepts so...
1
4743
by: alex | last post by:
Hi ! I couldn't make backups with our new system using db2 8.2. Every time I trigger a backup I get this error message: BACKUP DATABASE EBUERO2 ONLINE TO "/raid/backup/ebuero2/part1", "/raid/backup/ebuero2/part10", "/raid/backup/ebuero2/part11", "/raid/backup/ebuero2/part12", "/raid/backup/ebuero2/part13", "/raid/backup/ebuero2/part14", "/raid/backup/ebuero2/part15", "/raid/backup/ebuero2/part16", "/raid/backup/ebuero2/part17",
1
4103
by: Odd Bjørn Andersen | last post by:
Environment: AIX 4.3.3 DB2 UDB WSE version 8.1 fixpack 9a When I access a database residing on this server from my workstation (Windows xp, servicepack2 - db2 udb ESE fixpack 10) and in Control Center try to list the tablespaces (click on Tablespaces in the left part of the GUI) I get this error message: "SQL0444N Routine "*GET_TBSP" (specific name "SNAP_GET_TBSP") is implemented with code in library or path...
3
2347
by: Anurag | last post by:
Hi, I posted this on other user-groups. Hardly got any responses. Here goes the question: PLATFORM = DB2 UDB 8.2+ on AIX 5.x, DPF Two Topics broadly: (A) I wish to find out a rough correlation between the size of Used Pages in the database and its backup image size (Have to do some space calculation).
3
5571
by: vdileep | last post by:
Hi, I have 3 systems with db2 running on AIX. We take online backup on weekdays and offline on saturday. For the past two weeks the offline backup is getting terminated after exactly 2 hours 13 minutes on two systems. I am getting a timestamp in the backup history file. The third system takes only 30 minutes to backup. The db2diag.log file is attached below. I increased the UTIL_HEAP_SZ parameter. Still no use. Can somebody please tell...
3
4847
by: dcruncher4 | last post by:
DB2 8.2.3 the task I have is to write a script to restore a database from a backup on to another machine. the backup can be as old as seven years. The container layout on the machine to be restored can be totally different from the machine which was backedup. So we are going with redirect restore.
5
4918
by: zgh1970 | last post by:
Hi, Friends, default DB2 compression library. I am wondering if this option will have any new restriction on RESTORE in the following. (Can I used that backup imsage for restore at the follwoing compatible situations?) : There are operating system considerations when using the RESTORE DATABASE command:
2
11041
by: alex250374 | last post by:
Hi all, db2 9.1 fixpak 0 aix 5.3 I have a big problem every time I start an online backup with include logs via veritas comes out an error!!! The db2diag shows: 2009-10-29-17.57.22.240269+060 E10634592A396 LEVEL: Info PID : 995458 TID : 1 PROC : db2agent (idle) INSTANCE: db2inst1 NODE : 000 DB : ATMDB
0
8319
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8739
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8612
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7347
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6175
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5638
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4171
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2739
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1732
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.