If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Freezed remote restore

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-27-04, 14:56
marthagarcia marthagarcia is offline
Registered User
 
Join Date: Aug 2002
Posts: 1
Freezed remote restore

Hi,

I would like to resolve my problem whith "remote restore".
I wonder if anyone has any successful experience with a similar task.

The theme is as follow:

- We have an IDS 9.4UC3 on Linux RedHat8 (hostLinux)
- We are trying to implement remote backup/restore on disk, by "ontape" command and "openssh".


- For such aim, we have defined these parameters:

TapeDev=user@host_bkpath_bkp
DBREMOTE=ssh


- We made backups successfuly. But we cannot restore remotely from the backuped files generated previously.

- In order to discard a badly formed backup file, we copied by scp to the hostlinux, adapted the tape and REMOTECMD parameters as a local backup/restore implementation, and restored normaly without any problems.

- So we argue that the problem is in the combination of "ontape" with openssh.

- Also, we simulated a "ssh user:hostbackup dd ib=xxx ob=xxx " (internal execution of remote restore ) from line command. Then compared the outed file (on local machine), with the first on the backup machine. They were identicals


The bad behavior is:
- when starts "ontape -r ", asks for a password, shows the contained dbspaces in then bakcup file (all oks), and then
freeze the messages, dosen't asking about the rest (Continue...?, Logs...? etc,)

- We supposed, ontape was waiting for another password. So, we complemented the ssh with the use of ssh-agent, then no more password was required to the user durin ontape execution.



Unfortunately, the problem persists.



Thanks in advance

Martha
Reply With Quote
  #2 (permalink)  
Old 09-29-04, 07:36
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi Matha,

Please check following:

Local server, in $INFORMIXDIR must be exist file ".rhosts".
Into this file, must be IP or name of remote server.

Remote server, in $INFORMIXDIR must be exist file ".rhosts".
Into this file, must be IP or name of local server.
The service rlogin must be activate. (as root run setup).
Next test with command "rsh ls remote host name"

Then in ONCONFIG file TAPEDEV="remote server":/dev/xxxxx

Gustavo.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On