473,406 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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 4009
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
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
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...
4
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...
4
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...
1
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
by: G. Dean Blake | last post by:
How can I backup and restore a SQLServer DB from a .net VB program? Thanks, G
0
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...
6
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...
3
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...
0
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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,...
0
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...
0
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...
0
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...
0
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,...

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.