<?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: restore file in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/restore-file/m-p/3232139#M10901</link>
    <description>L.S.&lt;BR /&gt;&lt;BR /&gt;What output is shown when you restore? You use verbose mode, so some output should be shown.&lt;BR /&gt;&lt;BR /&gt;If you didn't remove ALL txt files before restoring, your problem is quoting.&lt;BR /&gt;&lt;BR /&gt;If you type 'tar xvf /dev/sto /tmp/*.txt' the shell will do a filename expansion on /tmp/*.txt, and restore these files. So assuming you did not remove all files, this will expand to the filenames still present on your system, and restoring these files.&lt;BR /&gt;You should type tar xvf /des/st0 '/tmp/a*.txt'.&lt;BR /&gt;&lt;BR /&gt;JP.</description>
    <pubDate>Mon, 29 Mar 2004 01:25:57 GMT</pubDate>
    <dc:creator>Jeroen Peereboom</dc:creator>
    <dc:date>2004-03-29T01:25:57Z</dc:date>
    <item>
      <title>restore file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restore-file/m-p/3232136#M10898</link>
      <description>I use "tar" to backup the files to the tape , tar xvf /dev/st0 /tmp/*.txt , it can successfully backup all the files, &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/tmp/a1.txt&lt;BR /&gt;/tmp/a2.txt &lt;BR /&gt;/tmp/a3.txt &lt;BR /&gt;/tmp/a4.txt &lt;BR /&gt;/tmp/a5.txt &lt;BR /&gt;&lt;BR /&gt;I tried to use the below command to restore it, but all are fail ,&lt;BR /&gt; tar tar xvf /dev/st0 /tmp/*.txt ,&lt;BR /&gt; tar tar xvf /dev/st0 /tmp/a*.txt&lt;BR /&gt; tar tar xvf /dev/st0 /tmp/*&lt;BR /&gt;&lt;BR /&gt;I have to restore it file by file , the below is ok&lt;BR /&gt; tar tar xvf /dev/st0 /tmp/a1.txt&lt;BR /&gt; tar tar xvf /dev/st0 /tmp/a2.txt&lt;BR /&gt; tar tar xvf /dev/st0 /tmp/a3.txt&lt;BR /&gt;&lt;BR /&gt;, could suggest how can I restore by one time ? thx</description>
      <pubDate>Sun, 28 Mar 2004 23:20:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restore-file/m-p/3232136#M10898</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-03-28T23:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: restore file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restore-file/m-p/3232137#M10899</link>
      <description>Did you try:&lt;BR /&gt;&lt;BR /&gt;tar xvf /dev/st0 "/tmp/*.txt"</description>
      <pubDate>Mon, 29 Mar 2004 01:11:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restore-file/m-p/3232137#M10899</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-03-29T01:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: restore file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restore-file/m-p/3232138#M10900</link>
      <description>it is OK , thx</description>
      <pubDate>Mon, 29 Mar 2004 01:24:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restore-file/m-p/3232138#M10900</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-03-29T01:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: restore file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restore-file/m-p/3232139#M10901</link>
      <description>L.S.&lt;BR /&gt;&lt;BR /&gt;What output is shown when you restore? You use verbose mode, so some output should be shown.&lt;BR /&gt;&lt;BR /&gt;If you didn't remove ALL txt files before restoring, your problem is quoting.&lt;BR /&gt;&lt;BR /&gt;If you type 'tar xvf /dev/sto /tmp/*.txt' the shell will do a filename expansion on /tmp/*.txt, and restore these files. So assuming you did not remove all files, this will expand to the filenames still present on your system, and restoring these files.&lt;BR /&gt;You should type tar xvf /des/st0 '/tmp/a*.txt'.&lt;BR /&gt;&lt;BR /&gt;JP.</description>
      <pubDate>Mon, 29 Mar 2004 01:25:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restore-file/m-p/3232139#M10901</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2004-03-29T01:25:57Z</dc:date>
    </item>
  </channel>
</rss>

