Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / December 2006

Tip: Looking for answers? Try searching our database.

Unable to restore a database image into a replicated database.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ILPTAB - 12 Dec 2006 18:37 GMT
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.
Lennart - 12 Dec 2006 19:36 GMT
> Hello.
> Can somebody help me out here?
[quoted text clipped - 27 lines]
>
> 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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.