<?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: script for copying data from production to DR server in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314930#M339976</link>
    <description>&lt;A href="http://www.opsec.com/solutions/partners/rsasecurity.html" target="_blank"&gt;http://www.opsec.com/solutions/partners/rsasecurity.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;forgot the dratted link</description>
    <pubDate>Fri, 23 Jan 2009 17:07:47 GMT</pubDate>
    <dc:creator>OldSchool</dc:creator>
    <dc:date>2009-01-23T17:07:47Z</dc:date>
    <item>
      <title>script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314911#M339957</link>
      <description>hi&lt;BR /&gt;I need to copy some data from production to DR server.&lt;BR /&gt;&lt;BR /&gt;This is the criteria. At this moment there are around 90000 files in production server starting with MP* and around 30000 files are copied to DR manually.&lt;BR /&gt;&lt;BR /&gt;We need to sync both first and then we need to put a script in place which will check if the filesystems are in sync in terms of MP* files. if not it will copy the file which has been generated recently in production.&lt;BR /&gt;&lt;BR /&gt;The files should not be overwritten.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;Amit Manna&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Nov 2008 11:50:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314911#M339957</guid>
      <dc:creator>Amit Manna_5</dc:creator>
      <dc:date>2008-11-28T11:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314912#M339958</link>
      <description>The simplest method is to use rsync. Be sure to test your configuration with a very small number of files to make sure you are storing the files in the correct directories. You'll need to decide if you just want to push the files to DR or if you want the directories truly synchronized by removing files at DR that have been removed at your production site.&lt;BR /&gt; &lt;BR /&gt;rsync must be downloaded from the HP software site, specifically from the Internet Express collection of programs:&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://h20392.www2.hp.com/portal/swdepot/searchProducts.do" target="_blank"&gt;http://h20392.www2.hp.com/portal/swdepot/searchProducts.do&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;One additional consideration is the amount of data that will be transmitted each day. Make sure that the link is fast enough to keep up with the new and changed data. This is easy to overlook with a fast network in production.</description>
      <pubDate>Fri, 28 Nov 2008 12:31:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314912#M339958</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-11-28T12:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314913#M339959</link>
      <description>As Bill says, rsync is the best way to go.&lt;BR /&gt;&lt;BR /&gt;I attach you a file that gives tips for rsync and other copy commands.</description>
      <pubDate>Fri, 28 Nov 2008 14:20:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314913#M339959</guid>
      <dc:creator>likid0</dc:creator>
      <dc:date>2008-11-28T14:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314914#M339960</link>
      <description>hi Bill&lt;BR /&gt;thanks for your reply. But rsync is now allowed in our environment.&lt;BR /&gt;&lt;BR /&gt;Is there any other way to do it&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Amit</description>
      <pubDate>Fri, 28 Nov 2008 14:34:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314914#M339960</guid>
      <dc:creator>Amit Manna_5</dc:creator>
      <dc:date>2008-11-28T14:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314915#M339961</link>
      <description>Why is "rsync not permitted"?&lt;BR /&gt;&lt;BR /&gt;it is one of the most widely used sync tools out there.&lt;BR /&gt;&lt;BR /&gt;if you can't use it, then rdiff is probably out as well.&lt;BR /&gt;&lt;BR /&gt;two remaining choices would be purchase commercial software or build your own package. the later is not neccessarily a trivial task...&lt;BR /&gt;&lt;BR /&gt;and as noted previously, its not going to necessarily be the number of files, but the size of them.&lt;BR /&gt;&lt;BR /&gt;google "remote file syncronization" will give you some leads.</description>
      <pubDate>Fri, 28 Nov 2008 16:02:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314915#M339961</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-11-28T16:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314916#M339962</link>
      <description>oh, yeah..."rdist" may still be part of the std hpux installation.&lt;BR /&gt;&lt;BR /&gt;it will do it, but irrc, it transmits complete files when they change.  rsync transmits the differences, which should make rsync more efficient bandwidth wise.</description>
      <pubDate>Fri, 28 Nov 2008 16:09:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314916#M339962</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-11-28T16:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314917#M339963</link>
      <description>Since your environment sounds incredibly restricted, you can use scp but it is quite slow. If these files are very large (50 MB or larger), then ftp is the most efficient (native HP-UX) file transfer method. You will have to script a *LOT* of the (rsync and scp) features such as subdirectories, ownership and permissions. &lt;BR /&gt; &lt;BR /&gt;If your company spent the money on a DR site, then purchase NCftp which is ideal for sending files efficiently. It supports subdirectory recursion and will even create a temporary name during the transfer. When the desired filename has been completely transferred, the name will appear in the directory. This solves problems with partial transfers being used too soon.&lt;BR /&gt; &lt;BR /&gt;However, don't be concerned about scp speed until you know what your slowest link speed to DR will be. A slow link will be the biggest problem for a DR site.</description>
      <pubDate>Sat, 29 Nov 2008 00:12:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314917#M339963</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-11-29T00:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314918#M339964</link>
      <description>Bill is correct if your comapny can spent so much money to have a DR site they should buy something to get it synced as well.&lt;BR /&gt;Are you sure you have to do it manually....which storage u r using??just check if there is any utility already there u r not aware of.....&lt;BR /&gt;If its not there ftp can help you out.....&lt;BR /&gt;BR,&lt;BR /&gt;Kapil+</description>
      <pubDate>Sat, 29 Nov 2008 01:10:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314918#M339964</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2008-11-29T01:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314919#M339965</link>
      <description>HI Bill&lt;BR /&gt;thanks for your input. Do we need to install ssh as well for this&lt;BR /&gt;&lt;BR /&gt;and how can we send some selective files?/&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Amit Manna&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Jan 2009 15:18:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314919#M339965</guid>
      <dc:creator>Amit Manna_5</dc:creator>
      <dc:date>2009-01-20T15:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314920#M339966</link>
      <description>Amit,&lt;BR /&gt;&lt;BR /&gt;I use an rsync over ssh (rsync -e ssh) solution to keep several DR servers in sync with their production counterparts on a government network.  It was quickly setup after downloading the above rsync depot and adding a simple script to cron to run it nightly.  &lt;BR /&gt;&lt;BR /&gt;I'd check with someone on your policy as rsync is different than the other 'r' commands because of this.   You can also use ssh key-based authentication to automate the login info too.  &lt;BR /&gt;</description>
      <pubDate>Tue, 20 Jan 2009 15:57:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314920#M339966</guid>
      <dc:creator>Autocross.US</dc:creator>
      <dc:date>2009-01-20T15:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314921#M339967</link>
      <description>As Autocross mentioned, rsync has no connection to the very unsecure command rcp, rlogin, rexec commands. rsync is available and supported by HP and is ideally suited for replication to a DR site. There's a lot to consider in trying keep files in sync: timestamp, owneership, subdirectories, symbolic links, deleting remote files when the local files are deleted, compressing to speed up transmission, and all the above are included standard in rsync.&lt;BR /&gt; &lt;BR /&gt;For security, you can use ssh as the transport and now the data will be encrypted over the link.</description>
      <pubDate>Wed, 21 Jan 2009 00:40:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314921#M339967</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-01-21T00:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314922#M339968</link>
      <description>hi Amit,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Do we need to install ssh as well for this&lt;BR /&gt;&amp;gt;and how can we send some selective files?/&lt;BR /&gt;&lt;BR /&gt;You need: HP-UX Secure Shell&lt;BR /&gt;&lt;BR /&gt;It could be also that SSH is already available on your system.&lt;BR /&gt;&lt;BR /&gt;To check:&lt;BR /&gt;SERVER1:&amp;gt;which ssh&lt;BR /&gt;/usr/bin/ssh&lt;BR /&gt;SERVER1:&amp;gt;&lt;BR /&gt;&lt;BR /&gt;To do the selective copy, you can used wildcards or do a find-copy.&lt;BR /&gt;&lt;BR /&gt;if you need any further assistance, please let us know.&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jan 2009 06:43:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314922#M339968</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2009-01-21T06:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314923#M339969</link>
      <description>HI&lt;BR /&gt;We installed ssh and rsync and after that our Security team says we cannot use ssh and rsync. Any other alternative solution for this?&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jan 2009 14:54:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314923#M339969</guid>
      <dc:creator>Amit Manna_5</dc:creator>
      <dc:date>2009-01-22T14:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314924#M339970</link>
      <description>If your security team don't allow ssh - how do you connect to these servers??? if ssh isn't suitably secure then I think you turn around and say it can't be done.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Thu, 22 Jan 2009 15:06:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314924#M339970</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2009-01-22T15:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314925#M339971</link>
      <description>I agree with Duncan, if ssh isn't secure enough then there's some real flaw in your security department.&lt;BR /&gt;&lt;BR /&gt;But, you should ask them in which manor they'd prefer the files to be moved between servers.&lt;BR /&gt;&lt;BR /&gt;There are several solutions, some more secure then others, to this.&lt;BR /&gt;&lt;BR /&gt;1. You can use rsync (which can be made to use TLS/SSL or just ssh-tunnel it.)&lt;BR /&gt;2. You can use sftp/scp (which uses ssh)&lt;BR /&gt;3. You can use ftp (unencrypted)&lt;BR /&gt;4. You can use NFS or similiar (see cifs) (can be encrypted, but gets horribly slow in my experience)&lt;BR /&gt;5. You can use a USB device, but I doubt you wanna run down and move it all the time :P&lt;BR /&gt;&lt;BR /&gt;There probably is alot more ways to do it, but these are the ones I can tell you off the top of my head.&lt;BR /&gt;&lt;BR /&gt;Basically if you need to sync the source and destination then rsync is your best option. I seem to remember that there is some other opensource software that is like rsync but has full support for SSL/TLS and support for SSH transfer... but I can't seem to remember it's name.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Fredrik Eriksson</description>
      <pubDate>Thu, 22 Jan 2009 15:35:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314925#M339971</guid>
      <dc:creator>Fredrik.eriksson</dc:creator>
      <dc:date>2009-01-22T15:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314926#M339972</link>
      <description>hi&lt;BR /&gt;The servers are in KEON. and KEON does not support ssh. I am not sure how to go forward&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jan 2009 15:44:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314926#M339972</guid>
      <dc:creator>Amit Manna_5</dc:creator>
      <dc:date>2009-01-22T15:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314927#M339973</link>
      <description>"The servers are in KEON and KEON does not support ssh."&lt;BR /&gt;&lt;BR /&gt;I don't think most people here will know what KEON is.  I looked for the acronym, but couldn't find it.&lt;BR /&gt;&lt;BR /&gt;If you use rsync to transfer very large files - you may want to turn off the differential aspect of rsync and just transfer it completely.&lt;BR /&gt;&lt;BR /&gt;rsync is efficient, NOT fast (and then you throw in encryption as well, slowing it down further).  So when not using slow links, it may be faster to transfer the whole thing.  Just add the -W option.&lt;BR /&gt;&lt;BR /&gt;I agree with others - if ssh can't be used, how can you connect to the server without transmitting your password in the clear across the network for all the world to see and copy and use?&lt;BR /&gt;&lt;BR /&gt;If you're not using encryption, you might as well not use passwords at all.</description>
      <pubDate>Fri, 23 Jan 2009 16:57:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314927#M339973</guid>
      <dc:creator>David G. Douthitt</dc:creator>
      <dc:date>2009-01-23T16:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314928#M339974</link>
      <description>Another thing: using the -b option to rsync will cause the file that would have been "overwritten" to be saved off as a backup file with a tilde (~) attached to it.</description>
      <pubDate>Fri, 23 Jan 2009 16:58:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314928#M339974</guid>
      <dc:creator>David G. Douthitt</dc:creator>
      <dc:date>2009-01-23T16:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314929#M339975</link>
      <description>well...here's a little info on "RSA KEON" security.  It appears to be related to Certificate Authority files and related stuff.&lt;BR /&gt;&lt;BR /&gt;So I guess the questions that need answered:&lt;BR /&gt;1) how are you allowed to connect to these servers? &lt;BR /&gt;2) what recommendations does you "security team" have, since they keep shooting things down?&lt;BR /&gt;3) What recommendation does the var for the security software have (if any)?</description>
      <pubDate>Fri, 23 Jan 2009 17:07:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314929#M339975</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-01-23T17:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: script for copying data from production to DR server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314930#M339976</link>
      <description>&lt;A href="http://www.opsec.com/solutions/partners/rsasecurity.html" target="_blank"&gt;http://www.opsec.com/solutions/partners/rsasecurity.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;forgot the dratted link</description>
      <pubDate>Fri, 23 Jan 2009 17:07:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-copying-data-from-production-to-dr-server/m-p/4314930#M339976</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-01-23T17:07:47Z</dc:date>
    </item>
  </channel>
</rss>

