<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: rsync in batch mode in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rsync-in-batch-mode/m-p/4883717#M401019</link>
    <description>Batch mode?  not to sure what you mean.&lt;BR /&gt;&lt;BR /&gt;I use rdist to sync from cron for DR reasons.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
    <pubDate>Wed, 02 Feb 2005 11:03:18 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2005-02-02T11:03:18Z</dc:date>
    <item>
      <title>rsync in batch mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rsync-in-batch-mode/m-p/4883716#M401018</link>
      <description>Just wanted to consult if some one has tried rsync in batch mode, I need to sync oracle code trees...Please let me know...&lt;BR /&gt;Thanks and regards&lt;BR /&gt;Prashant</description>
      <pubDate>Wed, 02 Feb 2005 10:58:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rsync-in-batch-mode/m-p/4883716#M401018</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2005-02-02T10:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: rsync in batch mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rsync-in-batch-mode/m-p/4883717#M401019</link>
      <description>Batch mode?  not to sure what you mean.&lt;BR /&gt;&lt;BR /&gt;I use rdist to sync from cron for DR reasons.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 02 Feb 2005 11:03:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rsync-in-batch-mode/m-p/4883717#M401019</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-02-02T11:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: rsync in batch mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rsync-in-batch-mode/m-p/4883718#M401020</link>
      <description>I am trying it..&lt;BR /&gt;&lt;BR /&gt;Thanks and regards&lt;BR /&gt;Prashant</description>
      <pubDate>Wed, 02 Feb 2005 14:42:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rsync-in-batch-mode/m-p/4883718#M401020</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2005-02-02T14:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: rsync in batch mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rsync-in-batch-mode/m-p/4883719#M401021</link>
      <description>rdist - cool - here's how I do it:&lt;BR /&gt;&lt;BR /&gt;From cron:&lt;BR /&gt;&lt;BR /&gt;# Copy prdadm across to the DR site.&lt;BR /&gt;05 01 * * *     /app/admin/drp/update-binaries.sh &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;# cat /app/admin/drp/update-binaries.sh&lt;BR /&gt;#! /bin/sh&lt;BR /&gt;&lt;BR /&gt;# Keep the DRP copy of the prdadm up-to-date.&lt;BR /&gt;# Currently the files are in:&lt;BR /&gt;#&lt;BR /&gt;#       /home/prdadm/DR&lt;BR /&gt;#&lt;BR /&gt;# See the rdist(1M) distfile for a list of exclusions.&lt;BR /&gt;&lt;BR /&gt;TERM=xterm&lt;BR /&gt;DRPDIR=/app/admin/drp&lt;BR /&gt;DRPHOST=svr031&lt;BR /&gt;&lt;BR /&gt;HOST=`/usr/bin/uname -n`&lt;BR /&gt;PRD=`cmviewcl |grep prddbci |awk '{print $5}'`&lt;BR /&gt;if [ "$HOST" = "$IPR" ]&lt;BR /&gt;then&lt;BR /&gt;        mount | grep /home &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;        if [ $? -eq 0 ]&lt;BR /&gt;        then&lt;BR /&gt;                ( su - prdadm -c "rdist -f $DRPDIR/distfile ipradm"; ) 2&amp;gt;&amp;amp;1 |\&lt;BR /&gt;                tee $DRPDIR/drp.log 2&amp;gt;&amp;amp;1 |\&lt;BR /&gt;                mailx -s "prdadm DRP rdist output" `cat /usr/local/mailadmin.list`&lt;BR /&gt;        fi&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# cat distfile&lt;BR /&gt;PRDDR  = ( svr031 )&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# File systems to be copied over to the DR host.&lt;BR /&gt;# Don't use -R in install - so as not to remove files on destination host&lt;BR /&gt;PRDADM   = /home/prdadm&lt;BR /&gt;&lt;BR /&gt;prdadm: ( ${PRDADM} ) -&amp;gt; ( ${PRDDR} )&lt;BR /&gt;        install -w ;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 02 Feb 2005 15:12:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rsync-in-batch-mode/m-p/4883719#M401021</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-02-02T15:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: rsync in batch mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rsync-in-batch-mode/m-p/4883720#M401022</link>
      <description>I'm not sure what you mean by batch mode, but here is an rsync that I run nightly:&lt;BR /&gt;&lt;BR /&gt;/usr/local/bin/rsync -avcu --delete --stats --rsync-path=/usr/local/bin/rsync  hquwh50:/mesave1/ /sync/mesave1/&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I use the same basic command to sync several directories from several systems nightly.  It works great!</description>
      <pubDate>Wed, 02 Feb 2005 16:08:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rsync-in-batch-mode/m-p/4883720#M401022</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-02-02T16:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: rsync in batch mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rsync-in-batch-mode/m-p/4883721#M401023</link>
      <description>rsync commands for oracle - let's say an ORACLE_HOME on one machine to another...&lt;BR /&gt;&lt;BR /&gt;assuming rsync and cron job (thus full paths)&lt;BR /&gt;assuming cron job runs on "receiving machine" from the rsync...&lt;BR /&gt;&lt;BR /&gt;/usr/bin/rsync -avze ssh --delete source_machine:/a1/oracle/OHOME/ /a1/oracle/OHOME/&lt;BR /&gt;&lt;BR /&gt;notes - &lt;BR /&gt;a) leave off the "--delete" switch if you only want to update new or changed files - but not get rid of deleted files from the source machine.&lt;BR /&gt;b) if you're not using ssh - it's more like &lt;BR /&gt;"rsync -avz" instead of "rsync -avze ssh"&lt;BR /&gt;c) leave of the "z" switch if you don't want on the fly compression.&lt;BR /&gt;d) *trailing /'s* are VERY IMPORTANT - if you  are cloning one whole dir to another use the above - if you want options - play around with leaving off the trailing "/" on either the source or dest to see what happens -- it makes a big difference.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Feb 2005 16:47:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rsync-in-batch-mode/m-p/4883721#M401023</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-02-02T16:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: rsync in batch mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rsync-in-batch-mode/m-p/4883722#M401024</link>
      <description>If rsyncing $ORACLE_HOME (and/or $ORACLE_BASE) you might want to consider the following excludes:&lt;BR /&gt;&lt;BR /&gt;--exclude ${VER}/network/admin &lt;BR /&gt;--exclude oracle/admin/${SID}/*dump &lt;BR /&gt;--exclude ${VER}/network/log&lt;BR /&gt;&lt;BR /&gt;The 1st one is very important as that's where listener.ora and tnsnames.ora files live.  You might accidentally stop the listener on the rsync source node if you don't preserve the local settings on the rsync destination.  Been there, done that...&lt;BR /&gt;&lt;BR /&gt;BTW, I use rsync from cron each hour to sync our DR node.  I use ssh and have established authorized key files.  Works very well.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Chuck Davis</description>
      <pubDate>Thu, 03 Feb 2005 09:50:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rsync-in-batch-mode/m-p/4883722#M401024</guid>
      <dc:creator>Daryl Much</dc:creator>
      <dc:date>2005-02-03T09:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: rsync in batch mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rsync-in-batch-mode/m-p/4883723#M401025</link>
      <description>The version which is there with Liniux and 11iv2 hosts supports this..&lt;BR /&gt;It has option like &lt;BR /&gt;&lt;BR /&gt;--write-batch=&lt;PRFX&gt;, which creates file starting with prfx.rsync_*..it creates a data file containing the information on copy, which can be taken to any host and then execute the shell provided by rsync run..&lt;BR /&gt;Hope this helps.&lt;BR /&gt;Thanks and regards&lt;BR /&gt;Prashant&lt;/PRFX&gt;</description>
      <pubDate>Thu, 03 Feb 2005 15:26:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rsync-in-batch-mode/m-p/4883723#M401025</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2005-02-03T15:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: rsync in batch mode</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rsync-in-batch-mode/m-p/4883724#M401026</link>
      <description>thanks</description>
      <pubDate>Thu, 03 Feb 2005 15:27:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rsync-in-batch-mode/m-p/4883724#M401026</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2005-02-03T15:27:48Z</dc:date>
    </item>
  </channel>
</rss>

