<?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: tar command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325366#M877488</link>
    <description>&lt;BR /&gt;    tar -xvf /dev/rmt/0m /bm7test/bmpc/tps&lt;BR /&gt;&lt;BR /&gt;  Tell us what kind of messages you get from the above command ?&lt;BR /&gt;</description>
    <pubDate>Wed, 07 Jul 2004 11:08:49 GMT</pubDate>
    <dc:creator>Sundar_7</dc:creator>
    <dc:date>2004-07-07T11:08:49Z</dc:date>
    <item>
      <title>tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325358#M877480</link>
      <description>Helo over there. My name is Grace&lt;BR /&gt;&lt;BR /&gt;We use hp-ux operating system in my organisation and i happen to be the system administrator. My question goes thus:&lt;BR /&gt;I backed up the entire system using the following command:&lt;BR /&gt;&lt;BR /&gt;tar -cvf /dev/rmt/0m /   ( / indicates the root directory which comprises all other directories). I want to restore a particular diretory (tps) which contains files and as well as directories. I dont know the command to use.&lt;BR /&gt;&lt;BR /&gt;The full path of the directory i want to restore is /bm7test/bmpc/tps. This directory (tps) comtains directories as well as files.&lt;BR /&gt;&lt;BR /&gt;I have used the following commands but did not work.&lt;BR /&gt;&lt;BR /&gt;1. tar -xvf  /dev/rmt/0m  /bm7test/bmpc/tps&lt;BR /&gt;2. tar -xv   /dev/rmt/0m  /bm7test/bmpc/tps*&lt;BR /&gt;3. tar -xvf  /dev/rmt/0m  /bm7test/bmpc/tps/*&lt;BR /&gt;4. tar -xvf  /dev/rmt/0m  /bm7test/bmpc/tps*.*&lt;BR /&gt;&lt;BR /&gt;I specified a single file from the tps directory and it was restored. This indicates that my tape is okay. I even listed the contents of the tape and it was okay.&lt;BR /&gt;&lt;BR /&gt;I tried the above commands in tps directory as well as other directories but they did not work.&lt;BR /&gt;&lt;BR /&gt;Please i need your help.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Grace&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jul 2004 09:49:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325358#M877480</guid>
      <dc:creator>Grace Adedotun</dc:creator>
      <dc:date>2004-07-07T09:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325359#M877481</link>
      <description>Grace,&lt;BR /&gt;For taking entire backup you should consider taking it with respect to Volume Groups. Ignite-UX is the best option to backup the root VG whereas fbackup/frecover are the most preffered one for backing up other VG's.&lt;BR /&gt;&lt;BR /&gt;If you take backup of VG00 i.e. root VG it take's care of OS and it's configuration. While Data which normally resides in other VG can be backuped up using fbackup.&lt;BR /&gt;&lt;BR /&gt;For taking backup of VG00 thr' Ignite:&lt;BR /&gt;# make_recovery -ACv -d /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;This will backup your entire VG00 volume group. Do not use tar for this.&lt;BR /&gt;&lt;BR /&gt;For other VG see man FBACKUP/FRECOVER.&lt;BR /&gt;&lt;BR /&gt;Please let us know if you need any more clarification.&lt;BR /&gt;Regards,</description>
      <pubDate>Wed, 07 Jul 2004 09:55:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325359#M877481</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-07-07T09:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325360#M877482</link>
      <description>suppose you want to restore in tps directory&lt;BR /&gt;tps&amp;gt;# tar -xvf /dev/rmt/0m /bm7test/bmpc/tps .&lt;BR /&gt;&lt;BR /&gt;did you specify block size while creating backup? if yes then specify the block size as well.(suppose 64)&lt;BR /&gt;&lt;BR /&gt;e.g. tar -xvfb /dev/rmt/0m 64 /bm7test/bmpc/tps .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jul 2004 09:59:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325360#M877482</guid>
      <dc:creator>Pnaidu</dc:creator>
      <dc:date>2004-07-07T09:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325361#M877483</link>
      <description>Grace,&lt;BR /&gt;Check whether Ignite UX is installed on your system, if not you can download the same from the link below..it's free.&lt;BR /&gt;&lt;BR /&gt;For Ignite Administration DOc:&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B2355-90837/B2355-90837.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B2355-90837/B2355-90837.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For Ignite Download:&lt;BR /&gt;&lt;A href="http://www.software.hp.com/products/IUX/download.html#N100DC" target="_blank"&gt;http://www.software.hp.com/products/IUX/download.html#N100DC&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Wed, 07 Jul 2004 09:59:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325361#M877483</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-07-07T09:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325362#M877484</link>
      <description>Your first restore should have worked.&lt;BR /&gt;tar xvf /dev/rmt/0m /bm7test/bmpc/tps&lt;BR /&gt; &lt;BR /&gt;Are any symbolic links involved here?&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Wed, 07 Jul 2004 10:10:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325362#M877484</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2004-07-07T10:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325363#M877485</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;a detailing, if you use tar with /dev/rmt/0m as device you can omit the device especification:&lt;BR /&gt;&lt;BR /&gt;To copy:&lt;BR /&gt;&lt;BR /&gt;tar cv files  (/dev/rmt/0m is the default device)&lt;BR /&gt;&lt;BR /&gt;To restore:&lt;BR /&gt;&lt;BR /&gt;tar xv files&lt;BR /&gt;&lt;BR /&gt;Frank.</description>
      <pubDate>Wed, 07 Jul 2004 10:27:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325363#M877485</guid>
      <dc:creator>Francisco J. Soler</dc:creator>
      <dc:date>2004-07-07T10:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325364#M877486</link>
      <description>Thanks for your reply. I really appreciate it, so quick?&lt;BR /&gt;&lt;BR /&gt;I have answers to the questions&lt;BR /&gt;&lt;BR /&gt;1. The Ignite UX is istalled&lt;BR /&gt;&lt;BR /&gt;2. I did not specify the block size when backing up which means it will use defaulth block size.&lt;BR /&gt;&lt;BR /&gt;The backup did not include system image but the files as listed below as it appears when typing bdf command. I used tar command and not make_recovery command as follows&lt;BR /&gt;&lt;BR /&gt;tar -cvf /dev/rmt/0m  /&lt;BR /&gt;&lt;BR /&gt;1. /&lt;BR /&gt;2. /home&lt;BR /&gt;3. /var&lt;BR /&gt;4. /opt&lt;BR /&gt;5. /tmp&lt;BR /&gt;6. /stand&lt;BR /&gt;7. /dailybackup&lt;BR /&gt;8. /dailybackup&lt;BR /&gt;9. /databackup&lt;BR /&gt;10. /bm7live&lt;BR /&gt;11. /bm7test&lt;BR /&gt;&lt;BR /&gt;The directory (tps)i want to restore is in /bmtest&lt;BR /&gt;and this is the full path /bm7test/bmpc/tps.&lt;BR /&gt;This tps contains directories as well as files.&lt;BR /&gt;&lt;BR /&gt;Please help&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Grace&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jul 2004 10:38:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325364#M877486</guid>
      <dc:creator>Grace Adedotun</dc:creator>
      <dc:date>2004-07-07T10:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325365#M877487</link>
      <description>Sorry i forget to tell you that symbolic links are involved. This is the content of the directory (tps) i want to restore as listed from the tape.&lt;BR /&gt;&lt;BR /&gt;______________________________&lt;BR /&gt;&lt;BR /&gt;rwxrwx--- 601/600      0 Mar 16 15:29 2004 /bm7test/bmpc/tps/&lt;BR /&gt;rwxrwx--- 601/600      0 Mar 16 15:29 2004 /bm7test/bmpc/tps/admin/&lt;BR /&gt;rw-rw---- 602/600  31395 Mar 16 16:33 2004 /bm7test/bmpc/tps/admin/recover.log&lt;BR /&gt;rw-rw---- 602/600    211 Mar 16 15:29 2004 /bm7test/bmpc/tps/admin/dmctl.out&lt;BR /&gt;rw-rw---- 602/600   2084 Mar 16 15:29 2004 /bm7test/bmpc/tps/admin/tdrun.out&lt;BR /&gt;rw-rw---- 602/600   1596 Mar 16 16:33 2004 /bm7test/bmpc/tps/admin/Td.trace&lt;BR /&gt;rw-rw---- 602/600      0 Mar 16 15:29 2004 /bm7test/bmpc/tps/admin/bgc010.out&lt;BR /&gt;rw-rw---- 602/600    610 Mar 16 19:06 2004 /bm7test/bmpc/tps/admin/Error.File&lt;BR /&gt;rwxrwxrwx 601/600   2626 Nov 26 10:13 2003 /bm7test/bmpc/tps/.profile&lt;BR /&gt;rw------- 601/600   3550 Jan  9 14:54 2004 /bm7test/bmpc/tps/.sh_history&lt;BR /&gt;rwxrwx--- 601/600      0 Jan  7 13:08 2004 /bm7test/bmpc/tps/config/&lt;BR /&gt;rwxrwx--- 601/600  24281 Oct 21 11:25 2003 /bm7test/bmpc/tps/config/bankmstr.td.&lt;BR /&gt;r7&lt;BR /&gt;rwxrwx--- 601/600  26937 Nov 26 19:08 2003 /bm7test/bmpc/tps/config/bankmstr.ddf&lt;BR /&gt;rwxrwx--- 601/600   8270 Nov  2 17:53 2003 /bm7test/bmpc/tps/config/bankmstr.cio&lt;BR /&gt;.ftb&lt;BR /&gt;rwxrwx--- 601/600   7959 Mar 19 19:12 2004 /bm7test/bmpc/tps/config/bankmstr.cio&lt;BR /&gt;rwxrwx--- 601/600  20588 Mar 19 19:12 2004 /bm7test/bmpc/tps/config/bankmstr.td&lt;BR /&gt;rwxrwx--- 601/600   1685 Oct 21 11:50 2003 /bm7test/bmpc/tps/config/bankmstr.cio&lt;BR /&gt;.r7&lt;BR /&gt;rwxrwx--- 601/600  20583 Oct 24 09:18 2003 /bm7test/bmpc/tps/config/bankmstr.td.&lt;BR /&gt;ftb&lt;BR /&gt;rwxrwx--- 601/600  24075 Nov 25 16:57 2003 /bm7test/bmpc/tps/config/bankmstr.td.&lt;BR /&gt;test&lt;BR /&gt;rwxrwx--- 601/600   6015 Nov 25 16:57 2003 /bm7test/bmpc/tps/config/bankmstr.cio&lt;BR /&gt;.test&lt;BR /&gt;rwxrwx--- 601/600   6040 Nov 28 13:25 2003 /bm7test/bmpc/tps/config/bankmstr.cio&lt;BR /&gt;.good&lt;BR /&gt;rwxrwx--- 601/600  24075 Nov 26 16:15 2003 /bm7test/bmpc/tps/config/bankmstr.td.&lt;BR /&gt;good&lt;BR /&gt;rw-rw---- 601/600   3619 Nov 26 16:25 2003 /bm7test/bmpc/tps/config/txt2&lt;BR /&gt;rwxrwx--- 601/600   8299 Jan  6 14:12 2004 /bm7test/bmpc/tps/config/bankmstr.cio&lt;BR /&gt;.org&lt;BR /&gt;rw-r----- 601/600   8670 Jan  7 12:13 2004 /bm7test/bmpc/tps/config/bankmstr.cio&lt;BR /&gt;.mike&lt;BR /&gt;rwxrwx--- 601/600   8445 Jan  7 12:26 2004 /bm7test/bmpc/tps/config/bankmstr.cio&lt;BR /&gt;.map&lt;BR /&gt;rwxrwx--- 602/600      0 Oct 21 11:28 2003 /bm7test/bmpc/tps/bin symbolic link t&lt;BR /&gt;o /bm7test/bmpc/bin&lt;BR /&gt;rwxrwx--- 602/600      0 Oct 21 11:28 2003 /bm7test/bmpc/tps/messages symbolic l&lt;BR /&gt;ink to /bm7test/bmpc/messages&lt;BR /&gt;rw-rw---- 602/600      4 Mar 16 15:29 2004 /bm7test/bmpc/tps/DMCTL.pid&lt;BR /&gt;rw-rw---- 602/600      4 Mar 16 15:29 2004 /bm7test/bmpc/tps/TDRUN.pid&lt;BR /&gt;rw-rw---- 602/600      4 Mar 16 15:29 2004 /bm7test/bmpc/tps/.td.pid&lt;BR /&gt;rwxrwx--- 601/600   1928 Oct 22 12:29 2003 /bm7test/bmpc/tps/tpginfo&lt;BR /&gt;rwxrwx--- 601/600   1034 Oct 23 12:34 2003 /bm7test/bmpc/tps/tpgstart&lt;BR /&gt;rwxrwx--- 601/600   2306 Oct 23 12:35 2003 /bm7test/bmpc/tps/tpgstop&lt;BR /&gt;rwxrwx--- 601/600   1614 Nov 25 18:38 2003 /bm7test/bmpc/tps/tpsmenu.sh&lt;BR /&gt;rw-rw---- 601/600   3619 Nov 26 16:33 2003 /bm7test/bmpc/tps/txt3&lt;BR /&gt;&lt;BR /&gt;_____________________________________&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Grace</description>
      <pubDate>Wed, 07 Jul 2004 11:03:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325365#M877487</guid>
      <dc:creator>Grace Adedotun</dc:creator>
      <dc:date>2004-07-07T11:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325366#M877488</link>
      <description>&lt;BR /&gt;    tar -xvf /dev/rmt/0m /bm7test/bmpc/tps&lt;BR /&gt;&lt;BR /&gt;  Tell us what kind of messages you get from the above command ?&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jul 2004 11:08:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325366#M877488</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-07-07T11:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325367#M877489</link>
      <description>&lt;BR /&gt;I dont really get any message. After some minutes atimes, 45 minutes, it will just return back to the prompt # without displaing any error message.&lt;BR /&gt;&lt;BR /&gt;With my little knoweldge the files should be displaying as it is restoring because of v (verbose)option&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Grace&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jul 2004 11:20:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325367#M877489</guid>
      <dc:creator>Grace Adedotun</dc:creator>
      <dc:date>2004-07-07T11:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325368#M877490</link>
      <description>strange.&lt;BR /&gt;&lt;BR /&gt;Try this&lt;BR /&gt;&lt;BR /&gt; # mt -t /dev/rmt/0mn rew&lt;BR /&gt; # mt -t /dev/rmt/0mn status&lt;BR /&gt; # tar -xvf /dev/rmt/0mn /bm7test/bmpc/tps&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jul 2004 11:23:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325368#M877490</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-07-07T11:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325369#M877491</link>
      <description>Thanks a lot.&lt;BR /&gt;&lt;BR /&gt;When issued the commands&lt;BR /&gt;&lt;BR /&gt;tar -t /dev/rmt/0mn rew  - it takes me back to the prompt&lt;BR /&gt;&lt;BR /&gt;tar -t /dev/rmt/0mn status -  it brings out error message mt:unknown command ``status``&lt;BR /&gt;&lt;BR /&gt;Please help&lt;BR /&gt;&lt;BR /&gt;Grace</description>
      <pubDate>Wed, 07 Jul 2004 11:41:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325369#M877491</guid>
      <dc:creator>Grace Adedotun</dc:creator>
      <dc:date>2004-07-07T11:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325370#M877492</link>
      <description>These were no tar commands, but mt.&lt;BR /&gt;&lt;BR /&gt;mt is an utility to manage tape drives (rewind, status, offline...)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jul 2004 11:45:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325370#M877492</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-07-07T11:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325371#M877493</link>
      <description># mt -t /dev/rmt/0mn rew&lt;BR /&gt;# mt -t /dev/rmt/0mn status&lt;BR /&gt;# tar -xvf /dev/rmt/0mn /bm7test/bmpc/tps &lt;BR /&gt;&lt;BR /&gt;you are usign tar -t /dev/rmt/0mn status - use mt command and not tar.</description>
      <pubDate>Wed, 07 Jul 2004 11:46:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325371#M877493</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-07-07T11:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325372#M877494</link>
      <description>Sorry, i used mt and not tar. It was a mixed up. The command is still on my screen&lt;BR /&gt;&lt;BR /&gt;Thanks and please am waiting for the reply&lt;BR /&gt;&lt;BR /&gt;Grace</description>
      <pubDate>Wed, 07 Jul 2004 11:58:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325372#M877494</guid>
      <dc:creator>Grace Adedotun</dc:creator>
      <dc:date>2004-07-07T11:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325373#M877495</link>
      <description>other thing : /dev/rmt/0m and not /dev/rmt/0mn... Is this a typo ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jul 2004 12:02:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325373#M877495</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-07-07T12:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325374#M877496</link>
      <description>I tried the two and its still the same thing&lt;BR /&gt;&lt;BR /&gt;mt -t /dev/rmt/0m rew  -  the tape was blinking for some seconds and they takes me back to #&lt;BR /&gt;&lt;BR /&gt;mt -t /dev/rmt/0m status - gives me an error message mt: unknown command ``status``&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Still waiting sirs&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Grace</description>
      <pubDate>Wed, 07 Jul 2004 12:11:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325374#M877496</guid>
      <dc:creator>Grace Adedotun</dc:creator>
      <dc:date>2004-07-07T12:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325375#M877497</link>
      <description>Try &lt;BR /&gt;&lt;BR /&gt;mt -f /dev/rmt/0mn status&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 07 Jul 2004 12:12:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325375#M877497</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-07-07T12:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325376#M877498</link>
      <description>hi grace&lt;BR /&gt;some clarification points:&lt;BR /&gt;&lt;BR /&gt;using /dev/rmt/0m   means rewindong tape at the end of operation&lt;BR /&gt;while /dev/rm/0mn   means leave tape where it is at end of op&lt;BR /&gt;&lt;BR /&gt;so except some special case, usually we use the first special /dev/rmt/0m (which is the default)&lt;BR /&gt;&lt;BR /&gt;second point&lt;BR /&gt;when u exec the command&lt;BR /&gt;tar xvf /dev/rmt/0m &lt;SOME string=""&gt;&lt;BR /&gt;the tar will extract all files that EXACTLY begin with the string indicated&lt;BR /&gt;so, for instance, if u do&lt;BR /&gt;tar cvf /dev/rmt/0m /dir1&lt;BR /&gt;and /dir1 contains /dir1/a and /dir1/b&lt;BR /&gt;tar xvf /dev/rmt/0m /dir1 will extract both of them.&lt;BR /&gt;&lt;BR /&gt;To be sure of what to use, in my opinion best way is to run&lt;BR /&gt;tar tvf /dev/rmt/0m | more&lt;BR /&gt;when you encounter the first directory from which you want start extraction stop the more (press space foe next page, q to exit) and copy EXACTLY what tar printed out&lt;BR /&gt;&lt;BR /&gt;Anyway if you did&lt;BR /&gt;tar cvf /dev/rmt/0m  /&lt;BR /&gt;&lt;BR /&gt;the correct command should be&lt;BR /&gt;tar xvf /dev/rmt/0m  /bm7test/bmpc/tps&lt;BR /&gt;&lt;BR /&gt;One more thing, tar cannot change the restoring path, it means you cannot restore &lt;BR /&gt;/bm7test/bmpc/tps in /tmp/bm7test/bmpc/tps&lt;BR /&gt;this is why execing tar xvf /dev/rmt/0m / is not a good idea&lt;BR /&gt;better is to&lt;BR /&gt;cd /&lt;BR /&gt;tar xvf /dev/rmt/0m .     (dot=current directory)&lt;BR /&gt;&lt;BR /&gt;which would backup again the full file system with a relative path, allowing to restore in a different place&lt;BR /&gt;&lt;BR /&gt;to go back to the problem, why don't you post a bit of output from the command tar tvf /dev/rmt/0m ?&lt;/SOME&gt;</description>
      <pubDate>Wed, 07 Jul 2004 12:13:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325376#M877498</guid>
      <dc:creator>Cesare Salvioni</dc:creator>
      <dc:date>2004-07-07T12:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325377#M877499</link>
      <description>Sirs, Below is the content of tps diretory as it appears on the tape from its  begining to the end.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rwxrwx--- 601/600      0 Mar 16 15:29 2004 /bm7test/bmpc/tps/&lt;BR /&gt;rwxrwx--- 601/600      0 Mar 16 15:29 2004 /bm7test/bmpc/tps/admin/&lt;BR /&gt;rw-rw---- 602/600  31395 Mar 16 16:33 2004 /bm7test/bmpc/tps/admin/recover.log&lt;BR /&gt;rw-rw---- 602/600    211 Mar 16 15:29 2004 /bm7test/bmpc/tps/admin/dmctl.out&lt;BR /&gt;rw-rw---- 602/600   2084 Mar 16 15:29 2004 /bm7test/bmpc/tps/admin/tdrun.out&lt;BR /&gt;rw-rw---- 602/600   1596 Mar 16 16:33 2004 /bm7test/bmpc/tps/admin/Td.trace&lt;BR /&gt;rw-rw---- 602/600      0 Mar 16 15:29 2004 /bm7test/bmpc/tps/admin/bgc010.out&lt;BR /&gt;rw-rw---- 602/600    610 Mar 16 19:06 2004 /bm7test/bmpc/tps/admin/Error.File&lt;BR /&gt;rwxrwxrwx 601/600   2626 Nov 26 10:13 2003 /bm7test/bmpc/tps/.profile&lt;BR /&gt;rw------- 601/600   3550 Jan  9 14:54 2004 /bm7test/bmpc/tps/.sh_history&lt;BR /&gt;rwxrwx--- 601/600      0 Jan  7 13:08 2004 /bm7test/bmpc/tps/config/&lt;BR /&gt;rwxrwx--- 601/600  24281 Oct 21 11:25 2003 /bm7test/bmpc/tps/config/bankmstr.td.&lt;BR /&gt;r7&lt;BR /&gt;rwxrwx--- 601/600  26937 Nov 26 19:08 2003 /bm7test/bmpc/tps/config/bankmstr.ddf&lt;BR /&gt;rwxrwx--- 601/600   8270 Nov  2 17:53 2003 /bm7test/bmpc/tps/config/bankmstr.cio&lt;BR /&gt;.ftb&lt;BR /&gt;rwxrwx--- 601/600   7959 Mar 19 19:12 2004 /bm7test/bmpc/tps/config/bankmstr.cio&lt;BR /&gt;rwxrwx--- 601/600  20588 Mar 19 19:12 2004 /bm7test/bmpc/tps/config/bankmstr.td&lt;BR /&gt;rwxrwx--- 601/600   1685 Oct 21 11:50 2003 /bm7test/bmpc/tps/config/bankmstr.cio&lt;BR /&gt;.r7&lt;BR /&gt;rwxrwx--- 601/600  20583 Oct 24 09:18 2003 /bm7test/bmpc/tps/config/bankmstr.td.&lt;BR /&gt;ftb&lt;BR /&gt;rwxrwx--- 601/600  24075 Nov 25 16:57 2003 /bm7test/bmpc/tps/config/bankmstr.td.&lt;BR /&gt;test&lt;BR /&gt;rwxrwx--- 601/600   6015 Nov 25 16:57 2003 /bm7test/bmpc/tps/config/bankmstr.cio&lt;BR /&gt;.test&lt;BR /&gt;rwxrwx--- 601/600   6040 Nov 28 13:25 2003 /bm7test/bmpc/tps/config/bankmstr.cio&lt;BR /&gt;.good&lt;BR /&gt;rwxrwx--- 601/600  24075 Nov 26 16:15 2003 /bm7test/bmpc/tps/config/bankmstr.td.&lt;BR /&gt;good&lt;BR /&gt;rw-rw---- 601/600   3619 Nov 26 16:25 2003 /bm7test/bmpc/tps/config/txt2&lt;BR /&gt;rwxrwx--- 601/600   8299 Jan  6 14:12 2004 /bm7test/bmpc/tps/config/bankmstr.cio&lt;BR /&gt;.org&lt;BR /&gt;rw-r----- 601/600   8670 Jan  7 12:13 2004 /bm7test/bmpc/tps/config/bankmstr.cio&lt;BR /&gt;.mike&lt;BR /&gt;rwxrwx--- 601/600   8445 Jan  7 12:26 2004 /bm7test/bmpc/tps/config/bankmstr.cio&lt;BR /&gt;.map&lt;BR /&gt;rwxrwx--- 602/600      0 Oct 21 11:28 2003 /bm7test/bmpc/tps/bin symbolic link t&lt;BR /&gt;o /bm7test/bmpc/bin&lt;BR /&gt;rwxrwx--- 602/600      0 Oct 21 11:28 2003 /bm7test/bmpc/tps/messages symbolic l&lt;BR /&gt;ink to /bm7test/bmpc/messages&lt;BR /&gt;rw-rw---- 602/600      4 Mar 16 15:29 2004 /bm7test/bmpc/tps/DMCTL.pid&lt;BR /&gt;rw-rw---- 602/600      4 Mar 16 15:29 2004 /bm7test/bmpc/tps/TDRUN.pid&lt;BR /&gt;rw-rw---- 602/600      4 Mar 16 15:29 2004 /bm7test/bmpc/tps/.td.pid&lt;BR /&gt;rwxrwx--- 601/600   1928 Oct 22 12:29 2003 /bm7test/bmpc/tps/tpginfo&lt;BR /&gt;rwxrwx--- 601/600   1034 Oct 23 12:34 2003 /bm7test/bmpc/tps/tpgstart&lt;BR /&gt;rwxrwx--- 601/600   2306 Oct 23 12:35 2003 /bm7test/bmpc/tps/tpgstop&lt;BR /&gt;rwxrwx--- 601/600   1614 Nov 25 18:38 2003 /bm7test/bmpc/tps/tpsmenu.sh&lt;BR /&gt;rw-rw---- 601/600   3619 Nov 26 16:33 2003 /bm7test/bmpc/tps/txt3&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Grace</description>
      <pubDate>Wed, 07 Jul 2004 12:21:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/3325377#M877499</guid>
      <dc:creator>Grace Adedotun</dc:creator>
      <dc:date>2004-07-07T12:21:34Z</dc:date>
    </item>
  </channel>
</rss>

