473,386 Members | 1,712 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.

Unable to restore a database image into a replicated database.

Hello.
Can somebody help me out here?

I have a web server sitting on a DMZ that has DB2 UDB version 8
installed running on it. I would like this server to be completely
independent of our internal network.

If possible, I would like to be able to each morning FTP a copy of the
backup image from our production database, which is created from the
previous night's db2 backup, to the web server. I am hoping that I
can then simply perform a restore from that image into the database on
the DMZ. This will allow us to make daily updates to our database on
the web server. When I try to do this, I get an Access Denied error
message. I tried setting up an account on the web server that was
identical to the one on our production server and made sure that the
passwords were the same on both but I am still getting the same Access
Denied message when I try to restore into the database on the web
server. I also recreated the backup directory structure on the web
server. F:\PRODUCTION.0\DB2\NODE0000\CATN0000\yyyymmdd

Here is the backup command that is run each night from the DB2 Task
Center on the production server:
Backup database PRODUCTION to "F:\DB2Backup\" with 2 buffers buffer
1024 parallelism 1 without prompting

Here is the SQL Restore command that I am trying to run from the DB2
Command window on our web server.
DB2 Restore database PRODUCTION from F:\DB2BACKUP taken at yyyymmdd
into WEBDATABASE replace existing without rolling forward.

Can somebody tell me what I need to do to make this work?
Thank you.

Dec 12 '06 #1
1 1914

ILPTAB wrote:
Hello.
Can somebody help me out here?

I have a web server sitting on a DMZ that has DB2 UDB version 8
installed running on it. I would like this server to be completely
independent of our internal network.

If possible, I would like to be able to each morning FTP a copy of the
backup image from our production database, which is created from the
previous night's db2 backup, to the web server. I am hoping that I
can then simply perform a restore from that image into the database on
the DMZ. This will allow us to make daily updates to our database on
the web server. When I try to do this, I get an Access Denied error
message. I tried setting up an account on the web server that was
identical to the one on our production server and made sure that the
passwords were the same on both but I am still getting the same Access
Denied message when I try to restore into the database on the web
server. I also recreated the backup directory structure on the web
server. F:\PRODUCTION.0\DB2\NODE0000\CATN0000\yyyymmdd

Here is the backup command that is run each night from the DB2 Task
Center on the production server:
Backup database PRODUCTION to "F:\DB2Backup\" with 2 buffers buffer
1024 parallelism 1 without prompting

Here is the SQL Restore command that I am trying to run from the DB2
Command window on our web server.
DB2 Restore database PRODUCTION from F:\DB2BACKUP taken at yyyymmdd
into WEBDATABASE replace existing without rolling forward.

Can somebody tell me what I need to do to make this work?
I would start by looking in db2diag.log to see if there is any clue on
what is denied. It could for example be the location of the
tablespaces.
/Lennart

Dec 12 '06 #2

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

Similar topics

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...
3
by: Frank Stefani | last post by:
Hi, due to an upgrade from a former DB2 v7.02, I backed up an entire database to a file in the local filesystem under Linux. I removed the old version completely an installed a fresh v8.1 DB2....
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...
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...
1
by: Jack | last post by:
Is it possible to find out what the tablespace definitions are of database you are about to build using a redirected restore? What I am wanting to do is build a script that can take only a backup...
5
by: Anurag | last post by:
Hello, I wish to find out the restore method for database that have been incrementally backed up and in the scenario where just the delta has been backed up. For example sake, let us assume the...
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...
5
by: chow.justy | last post by:
Dear all, I'm a new beginner of DB2. I face 2 question during restore the data. I have 2 DB2 servers on my company. Server A is running on V7.2 and Server B is running on v8.2 (Enterprise...
6
by: Bob Alston | last post by:
I am looking for others who have built systems to scan documents, index them and then make them accessible from an Access database. My environment is a nonprofit with about 20-25 case workers who...
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...
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
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
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...
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.