473,386 Members | 1,969 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,386 software developers and data experts.

restore db

i'm trying to restore a backup that olriginaly was made from a server
(production). I want to get data into a new server(development).

Does somebody know about a guide to get some information?, i'm working
in windows advanced server (production) and db2 v. 8.1. the
development is win xp and db2 8.1

thanks in advance.
Nov 12 '05 #1
3 1726
> i'm trying to restore a backup that olriginaly was made from a server
(production). I want to get data into a new server(development).

Does somebody know about a guide to get some information?, i'm working
in windows advanced server (production) and db2 v. 8.1. the
development is win xp and db2 8.1


I suggest that you use the control center for it.
It gives you all options, and the "Show SQL" is good to learn the commands
from .

Poul
Nov 12 '05 #2
One thing you can do is ftp the backup file from the production
machine to development machine. If the backup file on the production
was in a particular filesystem like /dir1/dir2/backupdir make sure you
have a similar path on the development machine also. You can find out
about that path info by doing db2ckbkp -H backup_filename on the
production machine.

After you ftp'ed the file to the correct directory on development, you
can do one of the following, a redirected restore or populate an
already created database.

For redirected restore exactly follow the procedure in the DB2 command
reference manual, page 610-612. Or if you have the database creation
script or command from the production machine, create the database
first on production and then run the following.

db2 restore db MYDB user xyz using abc from /dir1/dir2/dir3 taken at
2004..... into /dir1/dir2/dir3 into DEVMYDB without rolling forward

Hope this helps,
Yasaswi

oj**@productosmavi.com (Omar Vazquez) wrote in message news:<31*************************@posting.google.c om>...
i'm trying to restore a backup that olriginaly was made from a server
(production). I want to get data into a new server(development).

Does somebody know about a guide to get some information?, i'm working
in windows advanced server (production) and db2 v. 8.1. the
development is win xp and db2 8.1

thanks in advance.

Nov 12 '05 #3
Correct me someone if need be, but, I think you cannot move tables
from one tablespace to another readily. You may need to:
export data from existing tables
drop the existing tables
recreate new tables in the new tablespace.
load the data back in the newly created tables.
Instead of dropping the tables, other option may be to create
duplicate tables and then do all loading etc etc stuff. Once
satisfied, drop the original tables and rename the new tables with the
original name.

hth,
dotyet
oj**@productosmavi.com (Omar Vazquez) wrote in message news:<31*************************@posting.google.c om>... i'm trying to restore a backup that olriginaly was made from a server
(production). I want to get data into a new server(development).

Does somebody know about a guide to get some information?, i'm working
in windows advanced server (production) and db2 v. 8.1. the
development is win xp and db2 8.1

thanks in advance.

Nov 12 '05 #4

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

Similar topics

2
by: For example John Smith | last post by:
Is there any reason why SQL Server (EM) would go through all the motions of a restore and not actually do anything at all? To get into this situation I backup from a client's server and download...
0
by: xo55ox | last post by:
Hi, I have been trying to set up an automated restore process from prod to backup server. First, I schedule the full database backup nightly, transfer the backup file and restore it to the...
3
by: butatista | last post by:
Please help SQL Server 2000 Standard I am trying to restore databases on my server and am unable to get them to restore using the database option. For example, the location of my backup...
4
by: ScottH | last post by:
I am running 7.2 with fixpack 10a under W2K. I got a backup from someone else in an attempt to debug a data issue. The other person created the database with UTF-8 (codepage 1208), so I created a...
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...
9
by: GL | last post by:
I am running DB2 8.1.1 on AIX 5.1 Having a problem with a redirected restore. Once into the restore continue phase, I immediately get the following “SQL2059W A device full warning was...
11
by: Chris | last post by:
I have searched this group for answers and tried the responses. I am trying to Use an full online backup from our production server and apply it to our test server. The Tablespaces in the...
0
by: Takpol | last post by:
Hello, I have several archived filegroups that have data in them partitioned based on the date. These filegroups have been removed from database after archival. For example two months ago....
5
by: HSP | last post by:
hi. i need to restore an old database. The db was backed up using a DLT drive, using 2 volumes. The content for the tapes was copied to file onto Solaris machine using rsh and dd (for backup...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...

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.