<?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: file system in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694861#M56376</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;try this.&lt;BR /&gt;&lt;BR /&gt;go to one step above the FS u want to tar. issue the following command&lt;BR /&gt;&lt;BR /&gt;#tar cvf &lt;FS.TAR&gt; &lt;FS name=""&gt;&lt;BR /&gt;of if u want to copy on to tape&lt;BR /&gt;#tar cvf /dev/rmt/0m &lt;FS name=""&gt;&lt;BR /&gt;&lt;BR /&gt;regds&lt;BR /&gt;ravi&lt;/FS&gt;&lt;/FS&gt;&lt;/FS.TAR&gt;</description>
    <pubDate>Tue, 02 Apr 2002 14:07:23 GMT</pubDate>
    <dc:creator>V. V. Ravi Kumar_1</dc:creator>
    <dc:date>2002-04-02T14:07:23Z</dc:date>
    <item>
      <title>file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694853#M56368</link>
      <description>Please tell me how to tar up an entire file system. The I can scp it to another system and untar the whole thing there. Any help will be greatly appreciated and points will be given.</description>
      <pubDate>Mon, 01 Apr 2002 21:23:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694853#M56368</guid>
      <dc:creator>Ragni Singh</dc:creator>
      <dc:date>2002-04-01T21:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694854#M56369</link>
      <description>Hi Sanman,&lt;BR /&gt;&lt;BR /&gt; Simply cd to the TOP of that FS &amp;amp; issue the following:&lt;BR /&gt;&lt;BR /&gt;#tar cvf /tmp/fsname.tar ./*.*&lt;BR /&gt;&lt;BR /&gt;Note you must NOT create the tar file in the same FS - it MUST be outside the FS you are tarring. So care must be given as to where you tar to - make sure you have sufficient space. The FS you create the tar file in must support &amp;gt; 2Gb files IF the tar file will reach that size. The *.* is needed to tar files that contain "."s&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 01 Apr 2002 21:28:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694854#M56369</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-04-01T21:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694855#M56370</link>
      <description>Use tar cvf &lt;OUTPUT file=""&gt; &lt;INPUT files="" /&gt;&lt;BR /&gt;&lt;BR /&gt;output file is the archive  name. If u want to tar the entire file system replace the input files with the file system name.&lt;/OUTPUT&gt;</description>
      <pubDate>Mon, 01 Apr 2002 21:28:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694855#M56370</guid>
      <dc:creator>Arockia Jegan</dc:creator>
      <dc:date>2002-04-01T21:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694856#M56371</link>
      <description>Say you want to tar /data &lt;BR /&gt;#cd /&lt;BR /&gt;#tar cvf /dev/rmt/??? data/&lt;BR /&gt;&lt;BR /&gt;And it will create tape with all home directorys.&lt;BR /&gt;&lt;BR /&gt;then at another system.&lt;BR /&gt;&lt;BR /&gt;#cd /&lt;BR /&gt;#tar xvf /dev/rmt/??? and it will put data directory there.&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Mon, 01 Apr 2002 21:30:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694856#M56371</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2002-04-01T21:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694857#M56372</link>
      <description>I guess cpio would be better option for you to copy the file system from one server to other.&lt;BR /&gt;&lt;BR /&gt;PUSH method &lt;BR /&gt;----------- &lt;BR /&gt;# (find &lt;SOURCE_PATH&gt; -xdev|cpio -coax) | remsh &lt;DEST_MACHINE&gt; "cd &lt;DEST_LOC&gt;;cpio -icdmuxla" &lt;BR /&gt;&lt;BR /&gt;PULL method &lt;BR /&gt;----------- &lt;BR /&gt;# remsh &lt;SOURCE_MACH&gt; "cd &lt;SOURCE_DIR&gt;;find &lt;SOURCE_PATH&gt; -xdev | cpio -coax"|cpio -icdmuxla &lt;BR /&gt;&lt;BR /&gt;Sandip&lt;/SOURCE_PATH&gt;&lt;/SOURCE_DIR&gt;&lt;/SOURCE_MACH&gt;&lt;/DEST_LOC&gt;&lt;/DEST_MACHINE&gt;&lt;/SOURCE_PATH&gt;</description>
      <pubDate>Mon, 01 Apr 2002 21:30:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694857#M56372</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-04-01T21:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694858#M56373</link>
      <description>Or across the network (you must setup .rhosts correctly).&lt;BR /&gt;On the source machine, run these ..&lt;BR /&gt;&lt;BR /&gt;# cd /source_dir&lt;BR /&gt;# tar cvf - . | remsh target_machine '(cd /dest_dir; tar -xvf -)'</description>
      <pubDate>Mon, 01 Apr 2002 21:33:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694858#M56373</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-04-01T21:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694859#M56374</link>
      <description>Hi Sanman,&lt;BR /&gt;&lt;BR /&gt;Say you want to tar a filesystem mounted at /mount_point, try this,&lt;BR /&gt;&lt;BR /&gt;cd /&lt;BR /&gt;tar cvf /dir1/file_name.tar mount_point&lt;BR /&gt;&lt;BR /&gt;This will create an archive at /dir1 and the archive name will be file_name.tar . The archive will have everything under /mount_point without the leading edges, to restore it on the same system,&lt;BR /&gt;&lt;BR /&gt;cd /&lt;BR /&gt;tar xvf /dir1/file_name.tar&lt;BR /&gt;&lt;BR /&gt;Do a "man tar" for more help.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Apr 2002 21:34:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694859#M56374</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-04-01T21:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694860#M56375</link>
      <description>Sanman,&lt;BR /&gt;&lt;BR /&gt;Since you have asked for the syntax of scp I assume you have ssh configured between the two boxes and root can ssh between these without password, in that case you don't need a tar ball you could do:&lt;BR /&gt;&lt;BR /&gt;For example if you want everything under /apps to be copied over to the remote host and the remote host also has a similar file system (/apps) then&lt;BR /&gt;&lt;BR /&gt;cd /apps (on current host)&lt;BR /&gt;scp -p -r * remotehost:/apps/&lt;BR /&gt;&lt;BR /&gt;This should copy everything under /apps on current host over the network to remotehost. The status will be printed on stdout. (-p preservs all permissions and -r recursively copies all directories/subdirectories)&lt;BR /&gt;&lt;BR /&gt;If you do not have ssh configured then I would use SK Chan's method (works well)&lt;BR /&gt;# cd /source_dir &lt;BR /&gt;# tar cvf - . | remsh target_machine '(cd /dest_dir; tar -xvf -)'&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shabu</description>
      <pubDate>Mon, 01 Apr 2002 22:53:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694860#M56375</guid>
      <dc:creator>SHABU KHAN</dc:creator>
      <dc:date>2002-04-01T22:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694861#M56376</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;try this.&lt;BR /&gt;&lt;BR /&gt;go to one step above the FS u want to tar. issue the following command&lt;BR /&gt;&lt;BR /&gt;#tar cvf &lt;FS.TAR&gt; &lt;FS name=""&gt;&lt;BR /&gt;of if u want to copy on to tape&lt;BR /&gt;#tar cvf /dev/rmt/0m &lt;FS name=""&gt;&lt;BR /&gt;&lt;BR /&gt;regds&lt;BR /&gt;ravi&lt;/FS&gt;&lt;/FS&gt;&lt;/FS.TAR&gt;</description>
      <pubDate>Tue, 02 Apr 2002 14:07:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694861#M56376</guid>
      <dc:creator>V. V. Ravi Kumar_1</dc:creator>
      <dc:date>2002-04-02T14:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694862#M56377</link>
      <description>You can use fbackup command to backup all file system:&lt;BR /&gt;&lt;BR /&gt;fbackup -0i / -f /dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;Frank</description>
      <pubDate>Tue, 02 Apr 2002 14:09:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/2694862#M56377</guid>
      <dc:creator>Francois Bariselle_3</dc:creator>
      <dc:date>2002-04-02T14:09:55Z</dc:date>
    </item>
  </channel>
</rss>

