1753549 Members
5496 Online
108795 Solutions
New Discussion юеВ

Copy Ignite images

 
James R. Ferguson
Acclaimed Contributor

Re: Copy Ignite images

Hi (again):

> Dennis: Exactly 2 days means: 2 <= X < 3 days

Yes, that's true and probably expressed better than the manpages for 'find' discuss the n, -n and +n arguments. My point, however, was that Francis may be not have realized that using 'n' alone might too strictly restrict his expectations.

Regards!

...JRF...
Dennis Handly
Acclaimed Contributor

Re: Copy Ignite images

>JRF: that's true and probably expressed better than the manpages for 'find' discuss the n, -n and +n arguments.

It is expressed better because the manpage is broken and documents the UNIX95=FIDDLE_WITH_FIND_TIMES option, not the default.

>My point was that Francis may be not have realized that using 'n' alone might too strictly restrict his expectations.

Yes, I already mentioned that, so I assumed that wasn't your point.
James R. Ferguson
Acclaimed Contributor

Re: Copy Ignite images

Hi (again):

> Dennis: It is expressed better because the manpage is broken and documents the UNIX95=FIDDLE_WITH_FIND_TIMES option, not the default.

OK, then how about getting the 'find()' manpages improved? You have been able to jump-start issues like this before :-)

Regards!

...JRF...
Francis Flan
Regular Advisor

Re: Copy Ignite images

find /var/srcdir/ -type f -mtime -2 -print returns with the correct file.
(I hadn't heard of minus values for -mtime before)

Adding the -exec rcp part at the end and is coming back with
find /var/srcdir/ -type f -mtime -2 -exec rcp dest_ip:/dir {} \;
remshd: Couldn't look up address for your host
remshd: Login incorrect.

The hosts files on both servers are correct and they resolve just fine.
inetd.
inetd.conf has
kshell stream tcp6 nowait root /usr/lbin/remshd remshd -K
klogin stream tcp6 nowait root /usr/lbin/rlogind rlogind -K

Do I need .rhosts and hosts.equiv files to use rcp?
Steven E. Protter
Exalted Contributor

Re: Copy Ignite images

Shalom,

You ask: Do I need .rhosts and hosts.equiv files to use rcp?

These files may need to be changed if the name resolution environment is different at restore time.

I find it easier to move these files around as tar files personally. You could still use the find commands to pick and build the tar files.

I found rcp sometimes introduced errors which compromise the integrity of the ignite backups.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James R. Ferguson
Acclaimed Contributor

Re: Copy Ignite images

Hi :

> Do I need .rhosts and hosts.equiv files to use rcp?

Yes, see the manpages for 'rcp'.

Regards!

...JRF...
Dennis Handly
Acclaimed Contributor

Re: Copy Ignite images

>JRF: how about getting the 'find' manpages improved? You have been able to jump-start issues like this before :-)

If you looked at threadId=1271016, you'll see you already thanked me for that. :-)