<?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: backup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778291#M76616</link>
    <description>You certainly can - as per the previous reply. &lt;BR /&gt;&lt;BR /&gt;But remember, tar is not a very clever backup program - it does no checking to ensure your file was successfully backed up to tape. Much better to use fbackup - this is HP's recommended tool for backups as it does all sorts of error checking to ensure the integrity of your backup.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 02 Aug 2002 06:46:44 GMT</pubDate>
    <dc:creator>Stefan Farrelly</dc:creator>
    <dc:date>2002-08-02T06:46:44Z</dc:date>
    <item>
      <title>backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778289#M76614</link>
      <description>I want to backup files from different directory ( eg. /usr , /home and /temp ) , can I use ???tar??? to backup the list of file ?</description>
      <pubDate>Fri, 02 Aug 2002 06:39:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778289#M76614</guid>
      <dc:creator>O'lnes</dc:creator>
      <dc:date>2002-08-02T06:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778290#M76615</link>
      <description>You can use tar to backup them all in a single command:&lt;BR /&gt;&lt;BR /&gt;# tar -cvf /dev/rmt/0m /usr /home /tmp&lt;BR /&gt;&lt;BR /&gt;In fact, you can name multiple directories in one single tar command.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kenneth</description>
      <pubDate>Fri, 02 Aug 2002 06:44:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778290#M76615</guid>
      <dc:creator>Kenneth_19</dc:creator>
      <dc:date>2002-08-02T06:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778291#M76616</link>
      <description>You certainly can - as per the previous reply. &lt;BR /&gt;&lt;BR /&gt;But remember, tar is not a very clever backup program - it does no checking to ensure your file was successfully backed up to tape. Much better to use fbackup - this is HP's recommended tool for backups as it does all sorts of error checking to ensure the integrity of your backup.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Aug 2002 06:46:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778291#M76616</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2002-08-02T06:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778292#M76617</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Very much, you can use tar/cpio/dd.&lt;BR /&gt;&lt;BR /&gt;If you wanted to use tar and backup on tape&lt;BR /&gt;#tar cvf /dev/dsk/rmtX  /usr /home /tmp&lt;BR /&gt;&lt;BR /&gt;or on to a file&lt;BR /&gt;#tar cvf file_name /usr /home /tmp&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Aug 2002 06:46:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778292#M76617</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2002-08-02T06:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778293#M76618</link>
      <description>Thank your suggestion, but if I have 200 files from 50 different directories, can i specify the list in a file?</description>
      <pubDate>Fri, 02 Aug 2002 06:47:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778293#M76618</guid>
      <dc:creator>O'lnes</dc:creator>
      <dc:date>2002-08-02T06:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778294#M76619</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Of course you can do this with tar, just type&lt;BR /&gt;&lt;BR /&gt;tar -cvf /dev/rmt/0m /usr /home /temp .. or&lt;BR /&gt;tar -cvf /dir/logfile /usr /home /temp ..&lt;BR /&gt;&lt;BR /&gt;But when you extract the archive it will overwrite the existing path as you use the absolute path to backup the files.&lt;BR /&gt;&lt;BR /&gt;As my opinion, I like to use the relative path to backup the files, just type&lt;BR /&gt;&lt;BR /&gt;cd /&lt;BR /&gt;tar -cvf /dev/rmt/0m ./usr ./home ./temp .. or&lt;BR /&gt;tar -cvf /dir/logfile ./usr ./home ./temp&lt;BR /&gt;&lt;BR /&gt;When you want to extract the archive you can make a new directory first, then change directory into it and do the extract. Then you will have another copy that will not affect the original one !&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Patrick</description>
      <pubDate>Fri, 02 Aug 2002 06:48:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778294#M76619</guid>
      <dc:creator>Patrick Chim</dc:creator>
      <dc:date>2002-08-02T06:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778295#M76620</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;You no need to specify all the files in a directory, just specify the directory name.&lt;BR /&gt;tar does the backup of all the files in that directory</description>
      <pubDate>Fri, 02 Aug 2002 06:50:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778295#M76620</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2002-08-02T06:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778296#M76621</link>
      <description>Thank you all reply, my case is i want to backup the following files:&lt;BR /&gt;&lt;BR /&gt;1./temp/file1&lt;BR /&gt;2./temp/file2&lt;BR /&gt;3./temp/file3&lt;BR /&gt;???&lt;BR /&gt;???&lt;BR /&gt;4./usr/file1&lt;BR /&gt;5./usr/file2&lt;BR /&gt;6./usr/file3&lt;BR /&gt;???&lt;BR /&gt;???&lt;BR /&gt;7./home/file1&lt;BR /&gt;8./home/file2&lt;BR /&gt;9./home/file3&lt;BR /&gt;???&lt;BR /&gt;???&lt;BR /&gt;so i want to specify in a list.</description>
      <pubDate>Fri, 02 Aug 2002 06:54:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778296#M76621</guid>
      <dc:creator>O'lnes</dc:creator>
      <dc:date>2002-08-02T06:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778297#M76622</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Suppose you have the list named filelist.txt&lt;BR /&gt;&lt;BR /&gt;--&amp;gt; Start&lt;BR /&gt;./temp/file1&lt;BR /&gt;./temp/file2&lt;BR /&gt;&lt;BR /&gt;..&lt;BR /&gt;..&lt;BR /&gt;./home/file2&lt;BR /&gt;--&amp;gt; End&lt;BR /&gt;&lt;BR /&gt;You can just type&lt;BR /&gt;cd / &lt;BR /&gt;tar -cvf /dev/rmt/0m `cat /path/filelist.txt`&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Patrick</description>
      <pubDate>Fri, 02 Aug 2002 07:07:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778297#M76622</guid>
      <dc:creator>Patrick Chim</dc:creator>
      <dc:date>2002-08-02T07:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778298#M76623</link>
      <description>Easy to do with fbackup, edit a file and put them in like this;&lt;BR /&gt;&lt;BR /&gt;i /temp/file1 &lt;BR /&gt;i /temp/file2 &lt;BR /&gt;i /temp/file3 &lt;BR /&gt;i /usr/file1 &lt;BR /&gt;i /usr/file2 &lt;BR /&gt;i /usr/file3 &lt;BR /&gt;i /home/file1 &lt;BR /&gt;i /home/file2 &lt;BR /&gt;i /home/file3 &lt;BR /&gt;&lt;BR /&gt;Then use the command;&lt;BR /&gt;fbackup -v -f /dev/rmt/0m -g &lt;FILE with="" list="" above="" in=""&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FILE&gt;</description>
      <pubDate>Fri, 02 Aug 2002 07:07:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778298#M76623</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2002-08-02T07:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778299#M76624</link>
      <description>I tried Patrick's method , it is OK. Thanks.&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Aug 2002 07:19:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/2778299#M76624</guid>
      <dc:creator>O'lnes</dc:creator>
      <dc:date>2002-08-02T07:19:46Z</dc:date>
    </item>
  </channel>
</rss>

