473,769 Members | 7,388 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Backup ok but restore not working

Hello, i'm trying to transfer a DB2 database from a PC to another.
Following suggestion that Mr. Jan M. Nelken and Mr. Pierre Saint-Jacques
give me on this newsgroup i first made a backup of database, the i
transferred the full structure of subdirectories of backup to other PC and
tried to Create database from backup copy as explained in DB2 manual.
I used the visual interface from command center.
I inserted manually the location of backup file, and the restore process
started but one hor later the process is still running !
The restore process writes only 3 Mbytes of data ( the backup file is about
24 Mbytes ).
I stopped the process using task manager then i restart the PC.
The database is listed but obviously it is not working.
So i tried to backup and restore the sample database supplied with DB2 but i
had the same problems ...
I have DB2 5.2 running on Win NT 4.0 and the same DB2 running on WIN 2000
server.
Some suggestions ?
Best regards
Fabio
Nov 12 '05 #1
1 4023
Fabius wrote:
Hello, i'm trying to transfer a DB2 database from a PC to another.
Following suggestion that Mr. Jan M. Nelken and Mr. Pierre Saint-Jacques
give me on this newsgroup i first made a backup of database, the i
transferred the full structure of subdirectories of backup to other PC and
tried to Create database from backup copy as explained in DB2 manual.
I used the visual interface from command center.
I inserted manually the location of backup file, and the restore process
started but one hor later the process is still running !
The restore process writes only 3 Mbytes of data ( the backup file is
about
24 Mbytes ).
I stopped the process using task manager then i restart the PC.
The database is listed but obviously it is not working.
So i tried to backup and restore the sample database supplied with DB2 but
i had the same problems ...
I have DB2 5.2 running on Win NT 4.0 and the same DB2 running on WIN 2000
server.
Some suggestions ?
Best regards
Fabio


Fabio,

Unless you have a good reason not to, you should use DB2 V8.2. V5.2 went
out of support years ago, and V6 and V7 are also out of support. I'm even
surprised that V5.2 runs on Win2K !!!

However, casting the mind back years ago, I could never get a V5.2 backup to
restore without creating an empty database first. So I'd give that a try.

db2 "create database dbname on c:\db2data" (or wherever)
db2 "restore database dbname from c:\backupdir taken at timestamp without
rolling forward"

HTH
Phil
Nov 12 '05 #2

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

Similar topics

2
2236
by: Thomas Bartkus | last post by:
Is it safe to say that restoring the directory from a backup would that restore all database data and structure? All usr/pwd and GRANT info? Thomas Bartkus
2
3086
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...
4
3813
by: Hardy | last post by:
hi gurus, now I have to backup and restore a 8 T size db2 database. from two s85 to two 670. the partitions,tablespaces of the db should be redesigned then I plan to use redirected restore. but my concern is, such big size db, I'm afraid something unexpected will destory all the effort. Who have related experience? Can you give some advice? Thanks in advance:)
4
6403
by: Brice Avila | last post by:
Hello, IHAC running DB2 7.1.1.93 on Solaris 8. When he tried restoring this instance from a different server (alternate client restore) he encountered: db2 => restore database dumbunny load /usr/openv/netbackup/bin/nbdb2.so open 1 sessions taken at 20041022181323 buffer 1024 replace existing without prompting
1
2055
by: Paul Aspinall | last post by:
Does anyone have any sample code, or references to help when calling SQL DMO to backup / restore DB via C# Thanks
1
1533
by: G. Dean Blake | last post by:
How can I backup and restore a SQLServer DB from a .net VB program? Thanks, G
0
4319
by: prerak_v_shah | last post by:
Hi All, These days I was working on IBM DB2 database for windows with my .Net Application. Now, it was required to backup database created on one machine to the other machine. I was also able to do it once. But now it is always giving me error while doing restore from other machine. It gives me this Error:
6
27949
by: javelin | last post by:
I'm having difficulty searching for an answer to this challenge. Can someone give me a clue on the right keywords to use to find a discussion on this subject? All of the ones I saw appear to touch on older versions. I'm working with SQL Server 2000, and need to backup and restore only tables, because the full backup/restore appears to mess up users/security, or something or another. Thanks for the assist.
3
2629
by: aka | last post by:
Hi, I'm actually working on the migration of a DB2 unicode db (V8.2 FP 15) from a Sunfire machine with SunOS (64 bit, Big-endian) to an AIX 5.3 (64-bit, Big-endian) server located in US. The target server has DB2 V8.2 FP 15 installed and instance name and filesystem user groups rights an so on are all identical. From the manuals I see that a crossplatform backup-restore should be supported between the two systems. I did a full offline...
0
1109
by: muddasirmunir | last post by:
Can you please name me the best utility/software/aplication that can Backup/Restore SQL Server 2000 Databas in a proficient manner and easy to use for the end user.
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10216
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
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...
1
9997
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8873
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...
0
6675
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
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3965
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
3565
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.