Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: IMP remote file using remsh

Re: IMP remote file using remsh

From: Brian P. Mac Lean <brian.maclean_at_teldta.com>
Date: 1997/06/16
Message-ID: <33A551BC.6DCF@teldta.com>#1/1

Scott wrote:
>
> I would like to do an import into a local database using a file on a
> remote server. Does import
> allow the pipe command. I've tried creating a symbolic link with ln -s
> remsh servername

This should work:

mknod /tmp/pipe p                                   #MAKE A FIFO PIPE
(rsh remote_site cat /var/tmp/exp.dmp) > /tmp/pipe #START A REMOTE CAT COMMAND TO A LOCAL
                                                    #     FILE IN A
SECOND WINDOW
imp / full=y show=y file=pipe                       #START IMPORT
rm /tmp/pipe                                        #REMOVE THE FIFO
PIPE mailto:brian.maclean_at_teldta.com Received on Mon Jun 16 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US