<?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: ftp script help in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script-help/m-p/2969214#M815438</link>
    <description>Hi,&lt;BR /&gt;Do you want to backup the files to a disk or a tape device on the remote system ?&lt;BR /&gt;&lt;BR /&gt;In the first case perhaps rcp (remote copy) is better for this task.&lt;BR /&gt;&lt;BR /&gt;Some ideas:&lt;BR /&gt;&lt;BR /&gt;Create a tar file for the filesystem on a temporary location.&lt;BR /&gt;Compress the tar file.&lt;BR /&gt;&lt;BR /&gt;Use rcp to copy the compressed file to the remote location (see man page for rcp).&lt;BR /&gt;&lt;BR /&gt;Delete the file from the temporary location.&lt;BR /&gt;&lt;BR /&gt;Of course this needs you have enough space for the temporary file.&lt;BR /&gt;&lt;BR /&gt;If you want to backup to a tape device, fbackup is a better alternative.</description>
    <pubDate>Fri, 09 May 2003 10:43:21 GMT</pubDate>
    <dc:creator>Leif Halvarsson_2</dc:creator>
    <dc:date>2003-05-09T10:43:21Z</dc:date>
    <item>
      <title>ftp script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script-help/m-p/2969211#M815435</link>
      <description>Allo peeps &lt;BR /&gt;&lt;BR /&gt;yet again i need help with a script :)&lt;BR /&gt;&lt;BR /&gt;Scenario i have 4 filsystems that i want to be able to backup to another server.&lt;BR /&gt;&lt;BR /&gt;I want to compress the data first and then ftp it from server 1 to server 2 automatically.&lt;BR /&gt;&lt;BR /&gt;i'll use cron to run this script daily.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance &lt;BR /&gt;&lt;BR /&gt;George&lt;BR /&gt;</description>
      <pubDate>Fri, 09 May 2003 10:14:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script-help/m-p/2969211#M815435</guid>
      <dc:creator>George_Dodds</dc:creator>
      <dc:date>2003-05-09T10:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: ftp script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script-help/m-p/2969212#M815436</link>
      <description>hi,&lt;BR /&gt;pl. search in the forums for "ftp script", there are lot of questions on this.&lt;BR /&gt;&lt;BR /&gt;iam giving two of them.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xcde591ccb36bd611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xcde591ccb36bd611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xadc85a3e6e0bd6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xadc85a3e6e0bd6118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ravi</description>
      <pubDate>Fri, 09 May 2003 10:33:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script-help/m-p/2969212#M815436</guid>
      <dc:creator>V. V. Ravi Kumar_1</dc:creator>
      <dc:date>2003-05-09T10:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: ftp script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script-help/m-p/2969213#M815437</link>
      <description>in your script you can run the tar and gzip commands on the data that you wish to backup.  after you do that you can use this part of a script&lt;BR /&gt;&lt;BR /&gt;#! /usr/bin/ksh&lt;BR /&gt;ftp -n -i &amp;lt;&lt;HERE&gt;&lt;/HERE&gt;open hostname&lt;BR /&gt;user username password&lt;BR /&gt;bin&lt;BR /&gt;put filename&lt;BR /&gt;quit&lt;BR /&gt;HERE&lt;BR /&gt;&lt;BR /&gt;after you create this script you can add and entry into crontab to run it when you want</description>
      <pubDate>Fri, 09 May 2003 10:42:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script-help/m-p/2969213#M815437</guid>
      <dc:creator>John Meissner</dc:creator>
      <dc:date>2003-05-09T10:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: ftp script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script-help/m-p/2969214#M815438</link>
      <description>Hi,&lt;BR /&gt;Do you want to backup the files to a disk or a tape device on the remote system ?&lt;BR /&gt;&lt;BR /&gt;In the first case perhaps rcp (remote copy) is better for this task.&lt;BR /&gt;&lt;BR /&gt;Some ideas:&lt;BR /&gt;&lt;BR /&gt;Create a tar file for the filesystem on a temporary location.&lt;BR /&gt;Compress the tar file.&lt;BR /&gt;&lt;BR /&gt;Use rcp to copy the compressed file to the remote location (see man page for rcp).&lt;BR /&gt;&lt;BR /&gt;Delete the file from the temporary location.&lt;BR /&gt;&lt;BR /&gt;Of course this needs you have enough space for the temporary file.&lt;BR /&gt;&lt;BR /&gt;If you want to backup to a tape device, fbackup is a better alternative.</description>
      <pubDate>Fri, 09 May 2003 10:43:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script-help/m-p/2969214#M815438</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2003-05-09T10:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: ftp script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script-help/m-p/2969215#M815439</link>
      <description>Hi George&lt;BR /&gt;&lt;BR /&gt;How's things ?&lt;BR /&gt;&lt;BR /&gt;I would use rdist&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://xray.chm.bris.ac.uk:8000/labstuff/rdist.html" target="_blank"&gt;http://xray.chm.bris.ac.uk:8000/labstuff/rdist.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;steve</description>
      <pubDate>Fri, 09 May 2003 10:56:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script-help/m-p/2969215#M815439</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2003-05-09T10:56:48Z</dc:date>
    </item>
  </channel>
</rss>

